SHA256
1
0
forked from pool/grub2
Commit Graph

66 Commits

Author SHA256 Message Date
Andrei Borzenkov
04d8f6bbb5 Accepting request 160165 from home:michael-chang:test-upgrade1
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
2013-03-20 16:58:19 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Stephan Kulow
0edc850993 Accepting request 129226 from devel:openSUSE:Factory
Fix build with missing gets declaration (glibc 2.16) (forwarded request 129225 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/129226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=42
2012-07-30 18:27:32 +00:00
Stephan Kulow
ecac8f86f6 Accepting request 128513 from devel:openSUSE:Factory
Hi,
Please help to review the patches. Thanks. (forwarded request 128468 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/128513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=41
2012-07-23 08:00:52 +00:00
Stephan Kulow
7ba8f33512 Accepting request 127311 from devel:openSUSE:Factory
Please help to review the patch, thanks. (forwarded request 127259 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/127311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=40
2012-07-09 05:58:49 +00:00
Stephan Kulow
b5d15a51b9 Accepting request 127110 from devel:openSUSE:Factory
fix efi sub-package. It should be working now.

OBS-URL: https://build.opensuse.org/request/show/127110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=39
2012-07-04 20:12:58 +00:00
Stephan Kulow
8440629747 Accepting request 126597 from devel:openSUSE:Factory
- Add configuration support for serial terminal consoles. This will
  set the maximum screen size so that text is not overwritten. 

- don't enable grub-emu-usb on ppc ppc641 (forwarded request 126572 from k0da)

OBS-URL: https://build.opensuse.org/request/show/126597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=38
2012-06-29 12:19:02 +00:00
Stephan Kulow
248261f8d1 Accepting request 126465 from devel:openSUSE:Factory
update to 2.00 final

OBS-URL: https://build.opensuse.org/request/show/126465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=37
2012-06-29 04:59:42 +00:00
Stephan Kulow
fa1a8de3ed Accepting request 125780 from devel:openSUSE:Factory
Please help to review the patch. Thanks a lot. (forwarded request 125772 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/125780
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=36
2012-06-25 12:40:52 +00:00
Stephan Kulow
e9b50f7cb0 Accepting request 121227 from devel:openSUSE:Factory
Please help to review the patch, thanks. (forwarded request 121161 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/121227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=34
2012-05-21 05:24:56 +00:00
Stephan Kulow
53aee3d6df Accepting request 116247 from devel:openSUSE:Factory
- grub2-automake-1-11-2.patch : fix grub2 build error on newer
  autotools (automake >= 1.11.2)
- call ./autogen.sh
- grub2-probe-disk-mountby.patch : fix grub2-probe fails on
  probing mount-by devices under /dev/disk/by-(id|uuid|path).
  (bnc#757746)

OBS-URL: https://build.opensuse.org/request/show/116247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=33
2012-05-08 09:14:39 +00:00
Stephan Kulow
9811ff4d39 Accepting request 112069 from devel:openSUSE:Factory
Fix os-prober fails when OSX partition is present (bnc#747919) (forwarded request 112068 from simontol)

OBS-URL: https://build.opensuse.org/request/show/112069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=32
2012-04-02 09:23:31 +00:00
Stephan Kulow
6ee802a52c Accepting request 111818 from devel:openSUSE:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/111818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=31
2012-03-29 11:57:50 +00:00
Stephan Kulow
88507aed88 Accepting request 110168 from devel:openSUSE:Factory
- Fix build with gcc 4.7 (needs -fno-strict-aliasing for zfs code).
- Fix error in installation to extended partition (bnc#750897)
- Added BuildRequires for gnu-unifont

OBS-URL: https://build.opensuse.org/request/show/110168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=30
2012-03-22 11:32:34 +00:00
Stephan Kulow
c1e6731cfd Accepting request 106584 from devel:openSUSE:Factory
Please help to review the source. Thanks.

OBS-URL: https://build.opensuse.org/request/show/106584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=29
2012-02-23 14:32:40 +00:00
Stephan Kulow
61e89f5b2f Accepting request 98514 from devel:openSUSE:Factory
platforms without efi should not specify exclusion of it (forwarded request 98511 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/98514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=28
2012-01-04 06:23:56 +00:00
Stephan Kulow
31b3b793df Accepting request 98401 from devel:openSUSE:Factory
1. set --target=%{_target_plaform) explicitly to %configure in case it wouldn't do that for us implicitly
2. when making x86_64-efi image not use i386 target build and keep use of x86_64. otherwise it would have error "invalid ELF header" (forwarded request 98397 from michael-chang)

OBS-URL: https://build.opensuse.org/request/show/98401
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=27
2011-12-30 07:45:41 +00:00
Stephan Kulow
f97b2a252d Accepting request 97504 from devel:openSUSE:Factory
OBS-URL: https://build.opensuse.org/request/show/97504
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=26
2011-12-25 16:34:30 +00:00
Stephan Kulow
249f29f509 Accepting request 93969 from devel:openSUSE:Factory
some efi package cleanup

OBS-URL: https://build.opensuse.org/request/show/93969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=25
2011-11-28 11:53:25 +00:00
Stephan Kulow
e4785648d5 Accepting request 89479 from devel:openSUSE:Factory
efibootmgr is not available on all architectures. (forwarded request 89478 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/89479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=24
2011-10-27 11:49:04 +00:00
Stephan Kulow
b05c1505cb Accepting request 89242 from devel:openSUSE:Factory
Add requires from efi subpackage to main package (bnc#72596) (forwarded request 89241 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/89242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=23
2011-10-25 14:00:45 +00:00
Sascha Peilicke
5bebccebe8 Autobuild autoformatter for 79800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=21
2011-08-26 08:01:51 +00:00
Sascha Peilicke
90b5069041 Accepting request 79800 from devel:openSUSE:Factory
Build an efi subpackage [bnc#713595].

OBS-URL: https://build.opensuse.org/request/show/79800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=20
2011-08-26 08:01:42 +00:00