Please review this v2. version. Thanks.
v2. Renaming of grub2-efi unconditionally.
- remove all compatible links in grub2-efi as now all concerned
utilities are fixed
- superseding grub2-efi by grub2-x86_64-efi and grub2-i386-efi on
x86_64 and ix86 respectively
- make grub2-x86_64-efi and grub2-i386-efi providing grub2-efi
capability to not break package dependency
- handle upgrade from 12.2 by preseving grubenv and custom.cfg to
new directory /boot/grub2, rename /boot/grub2-efi to
/boot/grub2-efi.rpmsave to avoid confusion. (forwarded request 160165 from michael-chang)
OBS-URL: https://build.opensuse.org/request/show/160299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=62
Please review this v2. version. Thanks.
v2. Renaming of grub2-efi unconditionally.
- remove all compatible links in grub2-efi as now all concerned
utilities are fixed
- superseding grub2-efi by grub2-x86_64-efi and grub2-i386-efi on
x86_64 and ix86 respectively
- make grub2-x86_64-efi and grub2-i386-efi providing grub2-efi
capability to not break package dependency
- handle upgrade from 12.2 by preseving grubenv and custom.cfg to
new directory /boot/grub2, rename /boot/grub2-efi to
/boot/grub2-efi.rpmsave to avoid confusion. (forwarded request 160165 from michael-chang)
OBS-URL: https://build.opensuse.org/request/show/160299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=62
Please review this v2. version. Thanks.
v2. Renaming of grub2-efi unconditionally.
- remove all compatible links in grub2-efi as now all concerned
utilities are fixed
- superseding grub2-efi by grub2-x86_64-efi and grub2-i386-efi on
x86_64 and ix86 respectively
- make grub2-x86_64-efi and grub2-i386-efi providing grub2-efi
capability to not break package dependency
- handle upgrade from 12.2 by preseving grubenv and custom.cfg to
new directory /boot/grub2, rename /boot/grub2-efi to
/boot/grub2-efi.rpmsave to avoid confusion.
OBS-URL: https://build.opensuse.org/request/show/160165
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=28
Clean up spec
1. update-bootloader must be called after both user space and grub2 modules are updated. Otherwise we risk to get stale modules or incompatible configuration. So move it into respective grub2-i386-pc/grub2-arch-efi; use Requires(post) to force packages installation order.
2. Split migration support into grub2-efi. Simplify it, only grubenv and custom.cfg need migration.
3. Require minimal perl-Bootloader version that understands /boot/grub2 on EFI.
While on it, replace all obsolete PreReq with Requires/Requies(post).
This leaves all migration code under 12.2/12.3 condition, so once we are past this it will disappear.
Tested on updated from 12.2.
OBS-URL: https://build.opensuse.org/request/show/158628
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=26
- sync from SLE-11 SP3 to date
- set empty prefix to grub.efi for looking up in current directory
- grub2-cdpath.patch: fix the grub.cfg not found when booting from
optical disk
- put grub.efi in grub2's source module directory
- create links in system's efi directory to grub.efi
- arvidjaar: do not overwrite device path in grub2-cdpath.patch
OBS-URL: https://build.opensuse.org/request/show/150514
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=12
- ship a Secure Boot UEFI compatible bootloader (fate#314485)
- added secureboot patches which introduces new linuxefi module
that is able to perform verifying signed images via exported
protocol from shim. The insmod command will not function if
secure boot enabled (as all modules should built in grub.efi
and signed).
- grub2-secureboot-add-linuxefi.patch
- grub2-secureboot-use-linuxefi-on-uefi.patch
- grub2-secureboot-no-insmod-on-sb.patch
- grub2-secureboot-provide-linuxefi-config.patch
- Makefile.core.am : support building linuxefi module
- Make grub.efi image that is with all relevant modules incorporated
and signed, it will be the second stage to the shim loader which
will verified it when secureboot enabled.
- Make grub.efi's path to align with shim loader's default loader
lookup path.
- The changes has been verified not affecting any factory instalation,
but will allow us to run & test secure boot setup manually with shim. (forwarded request 143007 from michael-chang)
OBS-URL: https://build.opensuse.org/request/show/143018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=52
- ship a Secure Boot UEFI compatible bootloader (fate#314485)
- added secureboot patches which introduces new linuxefi module
that is able to perform verifying signed images via exported
protocol from shim. The insmod command will not function if
secure boot enabled (as all modules should built in grub.efi
and signed).
- grub2-secureboot-add-linuxefi.patch
- grub2-secureboot-use-linuxefi-on-uefi.patch
- grub2-secureboot-no-insmod-on-sb.patch
- grub2-secureboot-provide-linuxefi-config.patch
- Makefile.core.am : support building linuxefi module
- Make grub.efi image that is with all relevant modules incorporated
and signed, it will be the second stage to the shim loader which
will verified it when secureboot enabled.
- Make grub.efi's path to align with shim loader's default loader
lookup path.
- The changes has been verified not affecting any factory instalation,
but will allow us to run & test secure boot setup manually with shim. (forwarded request 143007 from michael-chang)
OBS-URL: https://build.opensuse.org/request/show/143018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=52