Commit Graph

975 Commits

Author SHA256 Message Date
5932ec5ef7 Accepting request 158628 from home:arvidjaar:branches:Base:System
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
2013-03-12 09:56:29 +00:00
4a27c23e24 Accepting request 158250 from home:michael-chang:branches:Base:System
- add grub2-fix-tftp-endianness.patch from upstream (bnc#808582)
- add efinet and tftp to grub.efi (bnc#808582)

OBS-URL: https://build.opensuse.org/request/show/158250
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=25
2013-03-11 09:53:51 +00:00
Stephan Kulow
605b0f61fe Accepting request 157616 from Base:System
- add lvm to grub.efi (bnc#807989)
- add loadenv to grub.efi (bnc#807992) (forwarded request 157614 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/157616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=60
2013-03-08 08:12:46 +00:00
Stephan Kulow
4388338b33 Accepting request 157616 from Base:System
- add lvm to grub.efi (bnc#807989)
- add loadenv to grub.efi (bnc#807992) (forwarded request 157614 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/157616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=60
2013-03-08 08:12:46 +00:00
Stefan Seyfried
a82bd5ebca convert spec file to UTF-8
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=23
2013-03-07 15:40:17 +00:00
9378addd3d Accepting request 157614 from home:michael-chang:branches:Base:System
- add lvm to grub.efi (bnc#807989)
- add loadenv to grub.efi (bnc#807992)

OBS-URL: https://build.opensuse.org/request/show/157614
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=22
2013-03-07 09:43:56 +00:00
Stephan Kulow
9e50b03f00 Accepting request 157383 from Base:System
(forwarded request 157376 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/157383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=59
2013-03-05 15:31:13 +00:00
Stephan Kulow
b4a93d3f89 Accepting request 157383 from Base:System
(forwarded request 157376 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/157383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=59
2013-03-05 15:31:13 +00:00
db2443fc5d Accepting request 157376 from home:arvidjaar:bnc:802983
OBS-URL: https://build.opensuse.org/request/show/157376
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=20
2013-03-05 14:30:51 +00:00
b47c9b3bb7 Accepting request 156328 from home:fcrozat:branches:Base:System
- Fix build for SLES 11.

OBS-URL: https://build.opensuse.org/request/show/156328
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=19
2013-02-25 14:17:52 +00:00
Stephan Kulow
c3ed9e49fb Accepting request 155911 from Base:System
- merge internal+external BS changes into superset spec file, 
  remove obsolete dependencies
- merge SLES+openSUSE patches, restrict "grub-efi" to 12.2+12.3
- add efidisk-ahci-workaround (bnc#794674)
- fix unquoted-string-in-class.patch (bnc#788322)

- switch to out of source / subdir build

OBS-URL: https://build.opensuse.org/request/show/155911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=58
2013-02-21 14:32:16 +00:00
Stephan Kulow
f57b826262 Accepting request 155911 from Base:System
- merge internal+external BS changes into superset spec file, 
  remove obsolete dependencies
- merge SLES+openSUSE patches, restrict "grub-efi" to 12.2+12.3
- add efidisk-ahci-workaround (bnc#794674)
- fix unquoted-string-in-class.patch (bnc#788322)

- switch to out of source / subdir build

OBS-URL: https://build.opensuse.org/request/show/155911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=58
2013-02-21 14:32:16 +00:00
Andrei Borzenkov
b0a5de8f8d Accepting request 155828 from home:duwe:branches:Base:System
Fix up bogus items from the previous merge:
 - efi_libdir = _libdir = /usr/lib
 - package /usr/lib/grub2 dir only once
 - move grub.efi to /usr/lib/grub2/%{grubefiarch}/
 - create a symlink so that scripts can find it there.

OBS-URL: https://build.opensuse.org/request/show/155828
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=17
2013-02-19 16:44:15 +00:00
Stephan Kulow
b71db834cc Accepting request 155546 from home:duwe:branches:Base:System
- merge internal+external BS changes into superset spec file, 
  remove obsolete dependencies
- merge SLES+openSUSE patches, restrict "grub2-efi" to 12.2 and 12.3
- add efidisk-ahci-workaround (bnc#794674)
- fix unquoted-string-in-class.patch (bnc#788322)

- switch to out of source / subdir build

OBS-URL: https://build.opensuse.org/request/show/155546
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=16
2013-02-15 16:18:37 +00:00
Stephan Kulow
ea4e6b5652 Accepting request 151569 from Base:System
- grub.efi signing on build server. (forwarded request 151568 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/151569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=57
2013-02-07 13:16:19 +00:00
Stephan Kulow
870b51228f Accepting request 151569 from Base:System
- grub.efi signing on build server. (forwarded request 151568 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/151569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=57
2013-02-07 13:16:19 +00:00
ab7eaab2d6 Accepting request 151568 from home:michael-chang:grub2-singing-test
- grub.efi signing on build server.

OBS-URL: https://build.opensuse.org/request/show/151568
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=14
2013-02-07 10:46:30 +00:00
Stephan Kulow
69c0ccd345 Accepting request 150545 from Base:System
a couple of secureboot changes and some improvement.

OBS-URL: https://build.opensuse.org/request/show/150545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=56
2013-01-31 13:48:08 +00:00
Stephan Kulow
716e24f030 Accepting request 150545 from Base:System
a couple of secureboot changes and some improvement.

OBS-URL: https://build.opensuse.org/request/show/150545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=56
2013-01-31 13:48:08 +00:00
Andrei Borzenkov
9a5891bd62 Accepting request 150514 from home:michael-chang:branches:Base:System
- 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
2013-01-31 08:53:45 +00:00
Michael Chang
3af94538b6 Accepting request 150359 from home:arvidjaar:branches:Base:System
- remove obsolete reference to /boot/grub2-efi and /usr/sbin/grub2-efi
  from grub2-once
- add GRUB_SAVEDFAULT description to /etc/default/grub

OBS-URL: https://build.opensuse.org/request/show/150359
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=11
2013-01-30 07:29:03 +00:00
Michael Chang
5e5fcf39b1 Accepting request 149343 from home:michael-chang:branches:Base:System
sorry. this commit has to be reverted as it breaks grub2-install on efi.

OBS-URL: https://build.opensuse.org/request/show/149343
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=10
2013-01-21 06:10:49 +00:00
5c92e57976 Accepting request 148930 from home:michael-chang:branches:Base:System
Sync from SLE 11 SP3

- put 32-bit grub2 modules to /usr/lib/grub2
- put 64-bit grub2 modules to /usr/lib64/grub2 (x86_64-efi)
- put grub.efi to /usr/lib64/efi(x86_64) or /usr/lib/efi(i586)

OBS-URL: https://build.opensuse.org/request/show/148930
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=9
2013-01-18 10:44:48 +00:00
34c65f9278 Accepting request 148908 from home:michael-chang:branches:Base:System
Sync from SLE 11 SP3 :

- ship a Secure Boot UEFI compatible bootloader (fate#314485)
- add grub2-secureboot-chainloader.patch, which expands the efi
  chainloader to be able to verify images via shim lock protocol.

OBS-URL: https://build.opensuse.org/request/show/148908
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=8
2013-01-18 08:24:02 +00:00
Stephan Kulow
bba30a3f3f Accepting request 147515 from Base:System
couple of fixes

OBS-URL: https://build.opensuse.org/request/show/147515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=54
2013-01-08 12:44:12 +00:00
Stephan Kulow
5c779d6686 Accepting request 147515 from Base:System
couple of fixes

OBS-URL: https://build.opensuse.org/request/show/147515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=54
2013-01-08 12:44:12 +00:00
d0f06793ea Accepting request 147490 from home:michael-chang:branches:Base:System
- add grub2-fix-unquoted-string-in-class.patch (bnc#788322)

OBS-URL: https://build.opensuse.org/request/show/147490
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=5
2013-01-08 11:50:14 +00:00
Michael Chang
45914f9cd9 Accepting request 147483 from home:arvidjaar:bnc:796919
- add grub2-add-device-to-os_prober-linux-menuentry.patch (bnc#796919)

OBS-URL: https://build.opensuse.org/request/show/147483
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=4
2013-01-08 07:46:22 +00:00
Michael Chang
7375ca8ab2 Accepting request 147406 from home:arvidjaar:bnc:779534
- add patch grub2-fix-enumeration-of-extended-partition.patch to
  fix enumeration of extended partitions with non-standard EBR (bnc#779534)

OBS-URL: https://build.opensuse.org/request/show/147406
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=3
2013-01-08 02:50:55 +00:00
Stephan Kulow
65ab51d514 Accepting request 147213 from Base:System
- add support for chainloading another UEFI bootloader to
  30_os-prober (bnc#775610) (forwarded request 147192 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/147213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=53
2013-01-07 14:17:20 +00:00
Stephan Kulow
bf6336238a Accepting request 147213 from Base:System
- add support for chainloading another UEFI bootloader to
  30_os-prober (bnc#775610) (forwarded request 147192 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/147213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=53
2013-01-07 14:17:20 +00:00
Stephan Kulow
7127299ebe Accepting request 143018 from devel:openSUSE:Factory
- 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
2012-11-28 09:34:03 +00:00
Stephan Kulow
ad4c1853ad Accepting request 143018 from devel:openSUSE:Factory
- 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
2012-11-28 09:34:03 +00:00
Stephan Kulow
9ece58dde9 Accepting request 142244 from devel:openSUSE:Factory
Replace grub2-quote-messages-in-grub.cfg.patch with upstream commit. It makes it easier to sync with upstream sources in the future. (forwarded request 142232 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/142244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=51
2012-11-21 15:53:33 +00:00
Stephan Kulow
bb12fc3e7f Accepting request 142244 from devel:openSUSE:Factory
Replace grub2-quote-messages-in-grub.cfg.patch with upstream commit. It makes it easier to sync with upstream sources in the future. (forwarded request 142232 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/142244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=51
2012-11-21 15:53:33 +00:00
Stephan Kulow
86210d73de Accepting request 141984 from devel:openSUSE:Factory
- quote localized "Loading ..." messages in grub.cfg (bnc#790195) (forwarded request 141967 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/141984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=50
2012-11-20 12:07:42 +00:00
Stephan Kulow
a8cae65aac Accepting request 141984 from devel:openSUSE:Factory
- quote localized "Loading ..." messages in grub.cfg (bnc#790195) (forwarded request 141967 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/141984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=50
2012-11-20 12:07:42 +00:00
Stephan Kulow
de080cfbf5 Accepting request 140933 from devel:openSUSE:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/140933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=49
2012-11-13 08:53:25 +00:00
Stephan Kulow
65cb2d080c Accepting request 140933 from devel:openSUSE:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/140933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=49
2012-11-13 08:53:25 +00:00
Stephan Kulow
0e7f689516 Accepting request 139598 from devel:openSUSE:Factory
- grub2-efi now depends on exact grub2 version (forwarded request 139589 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/139598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=48
2012-10-31 05:58:31 +00:00
Stephan Kulow
0f7c63159f Accepting request 139598 from devel:openSUSE:Factory
- grub2-efi now depends on exact grub2 version (forwarded request 139589 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/139598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=48
2012-10-31 05:58:31 +00:00
Stephan Kulow
85ed747869 Accepting request 139364 from devel:openSUSE:Factory
build grub2-efi with grub2 transform and migrate configuration into /boot/grub2 (bnc#782891) (forwarded request 139330 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/139364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=47
2012-10-26 15:06:09 +00:00
Stephan Kulow
7c061836bb Accepting request 139364 from devel:openSUSE:Factory
build grub2-efi with grub2 transform and migrate configuration into /boot/grub2 (bnc#782891) (forwarded request 139330 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/139364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=47
2012-10-26 15:06:09 +00:00
Stephan Kulow
d0c09ba3d4 Accepting request 137371 from devel:openSUSE:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/137371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=46
2012-10-07 17:00:03 +00:00
Stephan Kulow
3291354991 Accepting request 137371 from devel:openSUSE:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/137371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=46
2012-10-07 17:00:03 +00:00
Stephan Kulow
137da0f013 Accepting request 135588 from devel:openSUSE:Factory
Hi,

Please help to review the patch, it fixed error message of missing *.mo.gz file if the translation of that language not available (bnc#771393). (forwarded request 135586 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/135588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=45
2012-09-25 07:46:38 +00:00
Stephan Kulow
f4b713e99f Accepting request 135588 from devel:openSUSE:Factory
Hi,

Please help to review the patch, it fixed error message of missing *.mo.gz file if the translation of that language not available (bnc#771393). (forwarded request 135586 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/135588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=45
2012-09-25 07:46:38 +00:00
Stephan Kulow
2068a32a67 Accepting request 135095 from devel:openSUSE:Factory
- add 20_memtest86+ (bnc#780622) (forwarded request 135094 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/135095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=44
2012-09-23 19:04:15 +00:00
Stephan Kulow
9984bbaad9 Accepting request 135095 from devel:openSUSE:Factory
- add 20_memtest86+ (bnc#780622) (forwarded request 135094 from arvidjaar)

OBS-URL: https://build.opensuse.org/request/show/135095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=44
2012-09-23 19:04:15 +00:00
Stephan Kulow
e89fa67c56 Accepting request 132054 from devel:openSUSE:Factory
Please help to review the patches. Thanks. (forwarded request 132041 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/132054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=43
2012-08-31 07:28:14 +00:00