Commit Graph

89 Commits

Author SHA256 Message Date
2b365a069c Accepting request 214140 from home:michael-chang:branches:Base:System
- 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
2014-01-17 12:38:35 +00:00
Michael Chang
0015f44766 Accepting request 214019 from home:arvidjaar:grub2-next
- 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
2014-01-16 03:44:50 +00:00
0331f5f384 Accepting request 213939 from home:michael-chang:btrfs-snapshot
- add new patches for booting btrfs snapshot (fate#316522) (fate#316232)
  * 0001-script-provide-overridable-root-by-subvol.patch
  * 0002-script-create-menus-for-btrfs-snapshot.patch

OBS-URL: https://build.opensuse.org/request/show/213939
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=64
2014-01-15 10:47:05 +00:00
Michael Chang
2764c99fe0 Accepting request 212604 from home:arvidjaar:grub2-next
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
2014-01-06 03:50:43 +00:00
618ccb4258 Accepting request 211329 from home:michael-chang:btrfs-snapshot-booting
- add new patches for booting btrfs snapshot (fate#316522) (fate#316232)
  * 0001-btrfs-rename-skip_default-to-follow_default.patch
  * 0002-btrfs-add-ability-to-boot-from-subvolumes.patch
  * 0003-cmdline-add-envvar-loader_cmdline_append.patch
  * 0004-btrfs-export-subvolume-envvars.patch

OBS-URL: https://build.opensuse.org/request/show/211329
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=60
2013-12-18 09:57:04 +00:00
Michael Chang
9df8033f58 Accepting request 210446 from home:arvidjaar:branches:Base:System
- add patch 0001-Fix-build-with-FreeType-2.5.1.patch - fix build with
  freetype2 >= 2.5.1 (backport from fd0df6d098b1e6a4f60275c48a3ec88d15ba1fbb)

OBS-URL: https://build.opensuse.org/request/show/210446
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=58
2013-12-11 04:28:48 +00:00
Michael Chang
1a79633072 Accepting request 209046 from home:arvidjaar:branches:Base:System
reset executable bits on *module, *.exec and *.image files. They are not
executable and get installed with 0755 permissions due to the way grub2
build system works. This avoids multiple warnings from find-debufinfo.sh
and generation of useless *.debug files.

OBS-URL: https://build.opensuse.org/request/show/209046
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=56
2013-12-02 03:01:20 +00:00
Michael Chang
ee05e02b3f Accepting request 207910 from home:gary_lin:branches:Base:System
- add grub2-fix-x86_64-efi-startup-stack-alignment.patch and
  grub2-fix-x86_64-efi-callwrap-stack-alignment.patch: fix the
  stack alignment of x86_64 efi. (bnc#841426)

OBS-URL: https://build.opensuse.org/request/show/207910
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=54
2013-11-22 08:20:05 +00:00
Dr. Werner Fink
13bae16139 Accepting request 198441 from home:michael-chang:branches:Base:System
- use new update-bootloader option --reinit to install and update
  bootloader config
- refresh grub2-secureboot-no-insmod-on-sb.patch to fobid module
  loading completely.

OBS-URL: https://build.opensuse.org/request/show/198441
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=52
2013-09-12 15:29:56 +00:00
Michael Chang
8c1f2f807a Accepting request 197984 from home:lnussel:branches:devel:openSUSE:Factory
- replace openSUSE UEFI certificate with new 2048 bit certificate.

OBS-URL: https://build.opensuse.org/request/show/197984
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=50
2013-09-10 06:32:46 +00:00
Dr. Werner Fink
e0be79606c Accepting request 184477 from home:arvidjaar:branches:Base:System
- 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
2013-07-27 11:10:20 +00:00
db0c793b4d Accepting request 182694 from home:michael-chang:branches:Base:System
- refresh grub2-fix-menu-in-xen-host-server.patch: In domU we
  have to add xen kernel to config. (bnc#825528)

OBS-URL: https://build.opensuse.org/request/show/182694
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=46
2013-07-10 13:09:41 +00:00
Michael Chang
026af2c827 Accepting request 181103 from home:elchevive:branches:Base:System
updated translations + include new ones (es, lt, pt_BR, sl, tr)

OBS-URL: https://build.opensuse.org/request/show/181103
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=44
2013-06-27 02:57:37 +00:00
608d5e43ad Accepting request 179591 from home:arvidjaar:grub2-next
Now Fedora is using trunk as well, just serialized - every commit
as separate patch on top of base 2.00 version. So we are not alone
and can move along.

Please test.

OBS-URL: https://build.opensuse.org/request/show/179591
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=42
2013-06-18 17:11:34 +00:00
daeb537263 Accepting request 171183 from home:arvidjaar:branches:Base:System
Build and package man pages for grub2 user tools

OBS-URL: https://build.opensuse.org/request/show/171183
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=40
2013-04-16 20:25:22 +00:00
339e843f53 Accepting request 162967 from home:arvidjaar:bnc:810912
- add grub2-secureboot-use-linuxefi-on-uefi-in-os-prober.patch (bnc#810912)
  * use linuxefi in 30_os-prober if secure boot is enabled

OBS-URL: https://build.opensuse.org/request/show/162967
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=38
2013-04-06 07:19:14 +00:00
31f29ac911 Accepting request 162520 from home:arvidjaar:branches:Base:System
Upstream documentation sometimes changes and quilt does not support
renaming files. This makes it easier to maintain moving target. This
is to prepare for grub2-next submission (it is part of it, but I'd
prefer to make it explicit in case there are reasons for current patch).

OBS-URL: https://build.opensuse.org/request/show/162520
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=36
2013-04-03 19:52:45 +00:00
4419848f19 Accepting request 162360 from home:michael-chang:branches:Base:System
- refresh grub2-secureboot-chainloader.patch: Fix wrongly aligned
  buffer address (bnc#811608)

OBS-URL: https://build.opensuse.org/request/show/162360
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=35
2013-04-03 09:06:46 +00:00
OBS User buildservice-autocommit
afdf191554 Accepting request 161581 from Base:System
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/161581
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=34
2013-04-02 09:49:39 +00:00
OBS User buildservice-autocommit
7bf84d172e Updating link to change in openSUSE:Factory/grub2 revision 64.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=706e51de953659c99a0ffd5c15cf1846
2013-04-02 09:49:38 +00:00
6c125c6d3a Accepting request 161696 from home:arvidjaar:branches:Base:System
- corretly set chainloaded image device handle in secure boot mode (bnc#809038)

OBS-URL: https://build.opensuse.org/request/show/161696
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=33
2013-03-29 08:58:57 +00:00
54992a3735 Accepting request 161508 from home:michael-chang:branches:Base:System
- package Secure Boot CA file as /usr/lib64/efi/grub.der which
  could be used to verify signed image from build server
- add openSUSE-UEFI-CA-Certificate.crt, openSUSE Secure Boot CA
- add SLES-UEFI-CA-Certificate.crt, SUSE Linux Enterprise Secure
  Boot CA

OBS-URL: https://build.opensuse.org/request/show/161508
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=32
2013-03-28 11:00:02 +00:00
ecc166bd85 Accepting request 161028 from home:k0da:ppc
- extraconfigure macro is not defined on ppc

OBS-URL: https://build.opensuse.org/request/show/161028
OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=30
2013-03-26 08:58:26 +00:00
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