- Enable grub2 for PowerPC LE (ppc64le)
- Add ppc64le to exclusive arches
- Don't require gcc-32bit (PowerLE don't have 32bit toolchain)
- added patches:
* grub2-powerpc-libgcc.patch
Provide 32bit libgcc functions for PowerLE
* grub2-ppc64le-core-bigendian.patch
Build grub kernel and images as BE on ppc64le (BL is BE there)
* grub2-ppc64le-platform.patch
Enable ppc64le platform
OBS-URL: https://build.opensuse.org/request/show/220504
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=71
- Add changes to allow build for s390x arch: added
grub2-s390x-01-Changes-made-and-files-added-in-order-to-allow-s390x.patch
- refresh 0002-script-create-menus-for-btrfs-snapshot.patch
* Fix bootable snapshots not found while root is on Btrfs subvolume
(bnc#859587)
* Create missing slave config in /.snapshots/<num>/
* Prefix with SUSE_ for related options (forwarded request 215036 from oertel)
OBS-URL: https://build.opensuse.org/request/show/215222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=82
- Add changes to allow build for s390x arch: added
grub2-s390x-01-Changes-made-and-files-added-in-order-to-allow-s390x.patch
- refresh 0002-script-create-menus-for-btrfs-snapshot.patch
* Fix bootable snapshots not found while root is on Btrfs subvolume
(bnc#859587)
* Create missing slave config in /.snapshots/<num>/
* Prefix with SUSE_ for related options
OBS-URL: https://build.opensuse.org/request/show/215036
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=69
- refresh 0001-script-provide-overridable-root-by-subvol.patch
* Introduce $boot_prefix for setting prefix on seeking other /boot
directory.
- refresh 0002-script-create-menus-for-btrfs-snapshot.patch
* Support existing snapshots by creating their missing slave configs.
* Temporarily default to disable this feature until receiving more
tests from QA.
* Introduce GRUB_ENABLE_CUSTOM_SNAPSHOT_SUBMENU to allow custom
submenu for listing snapshots rather than the default one. (forwarded request 214140 from michael-chang)
OBS-URL: https://build.opensuse.org/request/show/214182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=81
- refresh 0001-script-provide-overridable-root-by-subvol.patch
* Introduce $boot_prefix for setting prefix on seeking other /boot
directory.
- refresh 0002-script-create-menus-for-btrfs-snapshot.patch
* Support existing snapshots by creating their missing slave configs.
* Temporarily default to disable this feature until receiving more
tests from QA.
* Introduce GRUB_ENABLE_CUSTOM_SNAPSHOT_SUBMENU to allow custom
submenu for listing snapshots rather than the default one.
OBS-URL: https://build.opensuse.org/request/show/214140
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=67
- package autoiso.cfg and osdetect.cfg as documentation
- add 0001-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch -
fix configure test for DejaVu font
- add dejavu-fonts to BR (needed to build starfield theme)
- package starfield theme as grub2-branding-upstream
- add grub2-use-DejaVuSansMono-for-starfield-theme.patch - use fixed width
font for starfield theme
- clarify that grub2 subpackage contains only user space tools (forwarded request 214019 from arvidjaar)
OBS-URL: https://build.opensuse.org/request/show/214067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=80
- package autoiso.cfg and osdetect.cfg as documentation
- add 0001-look-for-DejaVu-also-in-usr-share-fonts-truetype.patch -
fix configure test for DejaVu font
- add dejavu-fonts to BR (needed to build starfield theme)
- package starfield theme as grub2-branding-upstream
- add grub2-use-DejaVuSansMono-for-starfield-theme.patch - use fixed width
font for starfield theme
- clarify that grub2 subpackage contains only user space tools
OBS-URL: https://build.opensuse.org/request/show/214019
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=65
I think it is good time to update to 2.02 so it can get more testing.
Although internal changes are pretty extensive, externally it should be
pretty much the same. The main user visible changes are
- autogen is not used anymore, so we can finally simplify patches
and recreate files during RPM build. So generated files need not be
patched and shipped any more.
- GRUB_HIDDEN_TIMEOUT is deprecated, we should use GRUB_TIMEOUT_STYLE
instead. This will need perl-Bootloader and YaST changes. Old config
is still accpepted so nothing should be broken.
- native pvgrub2 support for Xen PV guests.
- ARM support (32 and 64 bit), although it has rough edges. (forwarded request 212604 from arvidjaar)
OBS-URL: https://build.opensuse.org/request/show/212884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=79
I think it is good time to update to 2.02 so it can get more testing.
Although internal changes are pretty extensive, externally it should be
pretty much the same. The main user visible changes are
- autogen is not used anymore, so we can finally simplify patches
and recreate files during RPM build. So generated files need not be
patched and shipped any more.
- GRUB_HIDDEN_TIMEOUT is deprecated, we should use GRUB_TIMEOUT_STYLE
instead. This will need perl-Bootloader and YaST changes. Old config
is still accpepted so nothing should be broken.
- native pvgrub2 support for Xen PV guests.
- ARM support (32 and 64 bit), although it has rough edges.
OBS-URL: https://build.opensuse.org/request/show/212604
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=62
- add grub2-fix-parsing-of-short-LVM-PV-names.patch - fix PV detection in
grub-probe when PV name is less than 10 charaters
- add grub2-fix-descriptor-leak-in-grub_util_is_imsm.patch - fix decriptor
leak which later caused LVM warnings during grub-probe invocation
Both problem were introduced in current trunk, version in 12.3 did not
call external lvm tools.
- remove --enable-grub-emu-usb - it is not needed on physical platform (forwarded request 184477 from arvidjaar)
OBS-URL: https://build.opensuse.org/request/show/184482
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=71
- add grub2-fix-parsing-of-short-LVM-PV-names.patch - fix PV detection in
grub-probe when PV name is less than 10 charaters
- add grub2-fix-descriptor-leak-in-grub_util_is_imsm.patch - fix decriptor
leak which later caused LVM warnings during grub-probe invocation
Both problem were introduced in current trunk, version in 12.3 did not
call external lvm tools.
- remove --enable-grub-emu-usb - it is not needed on physical platform
OBS-URL: https://build.opensuse.org/request/show/184477
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=48
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