Commit Graph

355 Commits

Author SHA256 Message Date
Michael Chang
23a8e78188 Accepting request 621929 from home:jbohac:branches:Base:System
- grub2.spec: change %config to %config(noreplace)
  Don't overwrite user changes to config files on upgrades.

According to the openSUSE:Specfile guidelines, %config(noreplace) is preferred
unless plain %config is necessarry:

	"As a rule of thumb, use %config(noreplace) instead of plain %config unless
	your best, educated guess is that doing so will break things." and  "Whenever
	plain %config is used, add a brief comment to the specfile explaining why."

Since there is no explanation why these files should not be %config(noreplace),
I suppose it's just an ommission. A user modifying these file should not have
his changes overwritten on upgrade.

OBS-URL: https://build.opensuse.org/request/show/621929
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=306
2018-07-12 07:27:34 +00:00
Michael Chang
71e0203c09 Accepting request 620623 from home:jmoellers:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/620623
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=305
2018-07-05 04:19:55 +00:00
Michael Chang
0672e47ed0 Accepting request 619362 from home:jmoellers:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/619362
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=304
2018-06-28 06:43:16 +00:00
Michael Chang
c8d455d46f Accepting request 618016 from home:jmoellers:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/618016
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=303
2018-06-21 04:25:42 +00:00
Michael Chang
4bec0faab3 Accepting request 611851 from home:kukuk:branches:Base:System
- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/611851
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=302
2018-05-25 07:11:43 +00:00
Michael Chang
d3ba93671b Accepting request 609125 from home:tsaupe:branches:Base:System
grub2-emu on s390 keep network during kexec boot (bsc#1089493)

OBS-URL: https://build.opensuse.org/request/show/609125
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=301
2018-05-17 03:00:56 +00:00
Michael Chang
baa0327672 Accepting request 603940 from home:namtrac:branches:Base:System
- Add grub2-freetype-pkgconfig.patch to fix build with new freetype
  use pkgconfig to find Freetype libraries.

OBS-URL: https://build.opensuse.org/request/show/603940
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=300
2018-05-09 06:14:01 +00:00
Michael Chang
022e481ebd Accepting request 597386 from home:michael-chang:branches:Base:System
- Fallback to raw mode if Open Firmware returns invalid ihandler (bsc#1071559)
  * grub2-ieee1275-open-raw-mode.patch

OBS-URL: https://build.opensuse.org/request/show/597386
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=299
2018-04-19 07:23:05 +00:00
Michael Chang
1847661beb Accepting request 595923 from home:michael-chang:branches:Base:System
- Fix error of essential directory not found on UEFI Xen host (bsc#1085842)
  * add grub2-efi-xen-removable.patch
  * rediff grub2-suse-remove-linux-root-param.patch

OBS-URL: https://build.opensuse.org/request/show/595923
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=298
2018-04-17 04:04:01 +00:00
Michael Chang
f3d710cae6 Accepting request 595496 from home:jdelvare:branches:Base:System
Fix corruption of "grub2-install --help" and grub2-install manual page (bsc#1086670)

OBS-URL: https://build.opensuse.org/request/show/595496
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=297
2018-04-12 08:40:39 +00:00
Michael Chang
a0de87febe Accepting request 593042 from home:michael-chang:branches:Base:System
- Fix Nvidia GPU in legacy I/O slot 2 disappears during system
  startup (bsc#1082914)
  * 0001-Fix-PCIe-LER-when-GRUB2-accesses-non-enabled-MMIO-da.patch 

- Fix packed-not-aligned error on GCC 8 (bsc#1084632)
  * 0001-Fix-packed-not-aligned-error-on-GCC-8.patch

OBS-URL: https://build.opensuse.org/request/show/593042
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=296
2018-04-03 07:42:58 +00:00
Michael Chang
bcd92bd3f1 Accepting request 591058 from home:michals
- Fix incorrect netmask on ppc64 (bsc#1085419)
  * grub2-Fix-incorrect-netmask-on-ppc64.patch

OBS-URL: https://build.opensuse.org/request/show/591058
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=295
2018-03-28 07:02:31 +00:00
Michael Chang
52a7695689 Accepting request 587445 from home:michael-chang:branches:Base:System
- Fix UEFI HTTPS Boot from ISO installation image (bsc#1076132)
  * 0001-add-support-for-UEFI-network-protocols.patch

OBS-URL: https://build.opensuse.org/request/show/587445
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=294
2018-03-15 09:26:24 +00:00
Michael Chang
1e655f7670 Accepting request 585948 from home:fos:branches:Base:System
For health-checker (https://build.opensuse.org/package/show/devel:CaaSP/health-checker) an additional flag is used to exchange information between GRUB and user space; as suggested by Michael this patch will enable writing that specific variable into the GRUB environment block.

- Store GRUB environment variable health_checker_flag
  in Btrfs header
- Rename grub2-btrfs-workaround-grub2-once.patch to
  grub2-grubenv-in-btrfs-header.patch (as the original 
  filename was too specific - the patch is not only
  storing the next_entry flag only in the Btrfs
  header now)

OBS-URL: https://build.opensuse.org/request/show/585948
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=293
2018-03-13 07:03:38 +00:00
Michael Chang
a651cf5fd9 Accepting request 583756 from home:michael-chang:branches:Base:System
- fix wrong command output when default subvolume is toplevel tree with
  id 5 (bsc#1078775)
  * grub2-btrfs-09-get-default-subvolume.patch
- insert mdraid modules to support software RAID (bsc#1078775)
  * grub2-xen-pv-firmware.cfg

OBS-URL: https://build.opensuse.org/request/show/583756
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=292
2018-03-12 04:46:39 +00:00
Michael Chang
5582e7fbfa Accepting request 576011 from home:michael-chang:branches:Base:System
- Fix incorrect check preventing the script from running (bsc#1078481)
  * 80_suse_btrfs_snapshot

OBS-URL: https://build.opensuse.org/request/show/576011
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=291
2018-02-13 09:24:12 +00:00
Michael Chang
b83d902412 Accepting request 574126 from home:michael-chang:branches:Base:System
- Fix disappeared snapshot menu entry (bsc#1078481)
  * 80_suse_btrfs_snapshot

OBS-URL: https://build.opensuse.org/request/show/574126
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=290
2018-02-09 07:23:55 +00:00
Michael Chang
e41839391d Accepting request 573265 from home:michael-chang:branches:Base:System
- Fix unquoted string error and add some more checks (bsc#1079330) 
  * grub2-check-default.sh

OBS-URL: https://build.opensuse.org/request/show/573265
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=289
2018-02-07 07:15:22 +00:00
Michael Chang
c33208660b Accepting request 572518 from home:olh:branches:Base:System
- The %prep section applies patches, the %build section builds.
  Remove mixup of patching and building from %prep for quilt setup
  Related to bsc#1065703

OBS-URL: https://build.opensuse.org/request/show/572518
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=288
2018-02-06 06:29:18 +00:00
Michael Chang
c7ddc4afcf Accepting request 569425 from home:michael-chang:branches:Base:System
- Check if default entry need to be corrected for updated distributor version
  and/or use fallback entry if default kernel entry removed (bsc#1065349)
  * grub2-check-default.sh
  * grub2-mkconfig-default-entry-correction.patch
- Fix grub2-mkconfig warning when disk is LVM PV (bsc#1071239)
  * grub2-getroot-scan-disk-pv.patch

OBS-URL: https://build.opensuse.org/request/show/569425
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=287
2018-02-01 04:09:06 +00:00
Michael Chang
ab2abe9cbe Accepting request 555192 from home:michael-chang:branches:Base:System
-  Filter out autofs and securityfs from /proc/self/mountinfo to speed
   up nfsroot test in large number of autofs mounts (bsc#1069094)
  * modified grub2-pass-corret-root-for-nfsroot.patch

OBS-URL: https://build.opensuse.org/request/show/555192
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=286
2017-12-11 04:47:09 +00:00
Michael Chang
650ed6cb6c Accepting request 546339 from home:michael-chang:branches:Base:System
- Fix http(s) boot security review (bsc#1058090)
  * 0002-AUDIT-0-http-boot-tracker-bug.patch

OBS-URL: https://build.opensuse.org/request/show/546339
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=285
2017-12-03 14:35:21 +00:00
Michael Chang
f9ce4c4be5 Accepting request 541949 from home:michael-chang:branches:Base:System
- 0001-add-support-for-UEFI-network-protocols.patch:
  * Workaround http data access in firmware
  * Fix DNS device path parsing for efinet device
  * Relaxed UEFI Protocol requirement
  * Support Intel OPA (Omni-Path Architecture) PXE Boot (bsc#1015589)

OBS-URL: https://build.opensuse.org/request/show/541949
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=284
2017-11-15 07:26:54 +00:00
Michael Chang
fcf09913c2 Accepting request 539804 from home:olh:branches:Base:System
- grub2-xen-pv-firmware.cfg: remove linemode=1 from cmdline for
  SUSE installer. openQA expects ncurses interface. (bsc#1066919)

OBS-URL: https://build.opensuse.org/request/show/539804
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=283
2017-11-09 06:47:16 +00:00
Michael Chang
aa3a0e85b0 Accepting request 539336 from home:matejcik:py3port
- use python3 for autogen.sh (fate#323526)

OBS-URL: https://build.opensuse.org/request/show/539336
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=282
2017-11-07 04:42:57 +00:00
Michael Chang
1d85774cd1 Accepting request 537924 from home:michals
Do not check that PReP partition does not contain an ELF during installation
  (bsc#1065738).
  * grub2-install-remove-useless-check-PReP-partition-is-empty.patch

OBS-URL: https://build.opensuse.org/request/show/537924
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=281
2017-11-06 05:40:19 +00:00
Michael Chang
b046f3779b Accepting request 529824 from home:michael-chang:bsc:1052401
- Build diskboot_tpm.img as separate image to diskboot.img to prevent failure
  in booting on some bogus firmware. To use the TPM image you have to use
  suse-enable-tpm option of grub2-install (bsc#1052401)
  * 0013-tpm-i386-pc-diskboot-img.patch

OBS-URL: https://build.opensuse.org/request/show/529824
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=280
2017-10-01 10:11:57 +00:00
Michael Chang
72c330459f Accepting request 527630 from home:mlatimer:branches:Base:System
- Use /boot/<arch>/loader/linux to determine if install media
  is SUSE instead of /contents file (bsc#1054453)

OBS-URL: https://build.opensuse.org/request/show/527630
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=279
2017-09-21 01:25:53 +00:00
Michael Chang
4cd016df9e Accepting request 527417 from home:mlatimer:branches:Base:System
Use pvops-enabled default kernel if traditional xen kernel does not exit (bsc#1054453)

OBS-URL: https://build.opensuse.org/request/show/527417
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=278
2017-09-20 04:29:01 +00:00
f7b29ac20a Accepting request 522250 from home:algraf:branches:Base:System
- Fix reboot in UEFI environments (bsc#1047331)
  * Add grub2-efi-Move-grub_reboot-into-kernel.patch
  * Refresh grub2-efi-Free-malloc-regions-on-exit.patch

OBS-URL: https://build.opensuse.org/request/show/522250
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=277
2017-09-11 13:20:51 +00:00
Michael Chang
f7e71f54e0 Accepting request 520582 from home:michael-chang:branches:Base:System
- Add preliminary patch for UEFI HTTPS and related network protocol support
  (fate#320130)
  * 0001-add-support-for-UEFI-network-protocols.patch

OBS-URL: https://build.opensuse.org/request/show/520582
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=276
2017-09-04 06:46:54 +00:00
Michael Chang
a6c44482a8 Accepting request 520488 from home:michael-chang:bsc:1055280
- grub2-s390x-04-grub2-install.patch : remove arybase dependency in
  grub2-zipl-setup by not referencing to $[ (bsc#1055280)

OBS-URL: https://build.opensuse.org/request/show/520488
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=275
2017-09-03 12:03:53 +00:00
Michael Chang
3c6f5594e2 Accepting request 518461 from home:michael-chang:branches:home:rwill:branches:Base:System
- Fix minor oversights in and the exit value of the grub2-install
  helper on s390x.  (bsc#1055343, fate#323298)
  * grub2-s390x-09-improve-zipl-setup.patch

OBS-URL: https://build.opensuse.org/request/show/518461
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=274
2017-08-24 03:58:08 +00:00
Michael Chang
00508796e7 Accepting request 512282 from home:bmwiedemann:branches:Base:System
Make grub2.info build reproducible (boo#1047218)

leaving the only remaining diff in grub.xen (some ordering issue)
from ./grub-mkstandalone --grub-mkimage=./grub-mkimage -o grub.xen -O x86_64-xen -d grub-core/ /boot/grub/grub.cfg=/home/abuild/rpmbuild/SOURCES/grub2-xen-pv-firmware.cfg
http://rb.zq1.de/compare.factory-20170713/grub2-compare.out

OBS-URL: https://build.opensuse.org/request/show/512282
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=273
2017-07-25 06:31:39 +00:00
Michael Chang
f016317030 Accepting request 508197 from home:arvidjaar:grub2-next
- add grub2-fix-build-with-flex-2.6.4.patch - fix build with flex 2.6.4+
  that removed explicit (void) cast from fprintf call in yy_fatal_error.

OBS-URL: https://build.opensuse.org/request/show/508197
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=272
2017-07-07 07:19:17 +00:00
Andrei Borzenkov
b4cc930160 Accepting request 500506 from home:michael-chang:branches:Base:System
- Support LVM physical volume created without metadatacopies (bsc#1027526)
  * grub2-diskfilter-support-pv-without-metadatacopies.patch 
- Fix page fault exception when grub loads with Nvidia cards (bsc#1038533)
  * grub2-efi-uga-64bit-fb.patch
- Require 'kexec-tools' for System z. (bsc#944358)
  * modified grub2.spec

OBS-URL: https://build.opensuse.org/request/show/500506
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=271
2017-06-03 21:22:46 +00:00
Michael Chang
dca0362b81 Accepting request 494564 from home:michael-chang:branches:Base:System
- grub2-xen-pv-firmware.cfg: insmod lvm module as it's not auto-loaded
  to support booting from lvm volume (bsc#1004324)
- Grub not working correctly with xen and btrfs snapshots (bsc#1026511)
  * Add grub2-btrfs-09-get-default-subvolume.patch
  * grub2-xen-pv-firmware.cfg : search path in default subvolume

OBS-URL: https://build.opensuse.org/request/show/494564
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=270
2017-05-12 07:10:19 +00:00
Michael Chang
1193b35f75 Accepting request 491901 from home:arvidjaar:grub2-next
2.02 final
update translations

OBS-URL: https://build.opensuse.org/request/show/491901
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=269
2017-05-02 01:41:54 +00:00
Michael Chang
36a371152a Accepting request 485707 from home:arvidjaar:grub2:gcc7
fix building with GCC (bsc#1030247). ARM is untested.

OBS-URL: https://build.opensuse.org/request/show/485707
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=268
2017-04-05 06:18:03 +00:00
Michael Chang
8ad5004e78 Accepting request 484293 from home:arvidjaar:boo:1031025
- update grub2-btrfs-workaround-grub2-once.patch to also store saved_entry
  in additional environment block (boo#1031025)

OBS-URL: https://build.opensuse.org/request/show/484293
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=267
2017-04-02 03:29:44 +00:00
Andrei Borzenkov
e1ec6a007e Accepting request 481686 from home:michael-chang:branches:Base:System
- Fix out of memory error on lvm detection (bsc#1016536) (bsc#1027401)
  * grub2-lvm-allocate-metadata-buffer-from-raw-contents.patch
- Fix boot failure if /boot is separate btrfs partition (bsc#1023160)
  * grub2-btrfs-06-subvol-mount.patch

OBS-URL: https://build.opensuse.org/request/show/481686
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=266
2017-03-21 10:35:03 +00:00
Andrei Borzenkov
2b76639968 Accepting request 480763 from home:michael-chang:bsc:1029187
- 0004-tpm-Rework-linux-command.patch : Fix out of bound memory copy
  (bsc#1029187)

OBS-URL: https://build.opensuse.org/request/show/480763
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=265
2017-03-17 06:58:56 +00:00
Michael Chang
60c7965fc1 Accepting request 480725 from home:arvidjaar:grub2-next
new upstream version 2.02~rc2

OBS-URL: https://build.opensuse.org/request/show/480725
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=264
2017-03-17 06:18:41 +00:00
Michael Chang
8e26f638e0 Accepting request 477882 from home:michael-chang:devel:tpm
- TPM Support (FATE#315831)
  * 0001-tpm-Core-TPM-support.patch
  * 0002-tpm-Measure-kernel-initrd.patch
  * 0003-tpm-Add-BIOS-boot-measurement.patch
  * 0004-tpm-Rework-linux-command.patch
  * 0005-tpm-Rework-linux16-command.patch
  * 0006-tpm-Measure-kernel-and-initrd-on-BIOS-systems.patch
  * 0007-tpm-Measure-the-kernel-commandline.patch
  * 0008-tpm-Measure-commands.patch
  * 0009-tpm-Measure-multiboot-images-and-modules.patch
  * 0010-tpm-Fix-boot-when-there-s-no-TPM.patch
  * 0011-tpm-Fix-build-error.patch
  * 0012-tpm-Build-tpm-as-module.patch
- grub2.spec : Add grub-tpm.efi for Secure Boot

OBS-URL: https://build.opensuse.org/request/show/477882
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=263
2017-03-09 06:19:36 +00:00
Andrei Borzenkov
2f69638ea4 Accepting request 477066 from home:michael-chang:branches:Base:System
- Fix invalid Xen EFI config files if xen_args include GRUB2 quoting
  (bsc#900418) (bsc#951748)
  * grub2-efi-xen-cfg-unquote.patch
- Fix linuxefi erroneously initialize linux's boot_params with non-zero
  values. (bsc#1025563)
  * grub2-linuxefi-fix-boot-params.patch
- Removed grub2-fix-multi-device-root-kernel-argument.patch as it has
  regression on how GRUB_DISABLE_LINUX_UUID=true interpreted (bsc#1015138)

OBS-URL: https://build.opensuse.org/request/show/477066
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=262
2017-03-06 07:17:24 +00:00
3bb726bfe5 Accepting request 461950 from home:michals
Redo merge

OBS-URL: https://build.opensuse.org/request/show/461950
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=261
2017-03-02 21:46:08 +00:00
9e39bbe6e5 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=260 2017-03-02 07:28:00 +00:00
Andrei Borzenkov
014d0e9f0b Accepting request 461364 from home:michael-chang:branches:Base:System
- Fix for openQA UEFI USB Boot failure with upstream patch (bsc#1026344)
  * added 0001-efi-strip-off-final-NULL-from-File-Path-in-grub_efi_.patch
  * removed 0001-Revert-efi-properly-terminate-filepath-with-NULL-in-.patch

OBS-URL: https://build.opensuse.org/request/show/461364
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=259
2017-03-02 03:31:33 +00:00
Michael Chang
6ef3acfa4c Accepting request 460048 from home:michael-chang:bsc:1026344
- Temporary fix for openQA UEFI USB Boot failure (bsc#1026344)
  * 0001-Revert-efi-properly-terminate-filepath-with-NULL-in-.patch

OBS-URL: https://build.opensuse.org/request/show/460048
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=258
2017-02-23 15:35:40 +00:00
Michael Chang
06839163a5 Accepting request 458615 from home:michael-chang:branches:Base:System
- grub2.spec: fix s390x file list.

OBS-URL: https://build.opensuse.org/request/show/458615
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=255
2017-02-17 06:55:04 +00:00