Accepting request 243573 from home:michael-chang:branches:devel:openSUSE:Factory
- shim-install: fix GRUB shows broken letters at boot by calling grub2-install to initialize /boot/grub2 directory with files needed by grub.cfg (bnc#889765) OBS-URL: https://build.opensuse.org/request/show/243573 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim?expand=0&rev=77
This commit is contained in:
parent
d6b79f1fb6
commit
12d0642c1a
@ -13,6 +13,7 @@ libdir="/usr/lib64"
|
|||||||
source_dir="$libdir/efi"
|
source_dir="$libdir/efi"
|
||||||
grub_probe="`which grub2-probe`"
|
grub_probe="`which grub2-probe`"
|
||||||
grub_mkrelpath="`which grub2-mkrelpath`"
|
grub_mkrelpath="`which grub2-mkrelpath`"
|
||||||
|
grub_install="`which grub2-install`"
|
||||||
self="`basename $0`"
|
self="`basename $0`"
|
||||||
grub_cfg="/boot/grub2/grub.cfg"
|
grub_cfg="/boot/grub2/grub.cfg"
|
||||||
update_boot=no
|
update_boot=no
|
||||||
@ -251,6 +252,9 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
make_grubcfg > "${efidir}/grub.cfg"
|
make_grubcfg > "${efidir}/grub.cfg"
|
||||||
|
# bnc#889765 GRUB shows broken letters at boot
|
||||||
|
# invoke grub_install to initialize /boot/grub2 directory with files needed by grub.cfg
|
||||||
|
${grub_install} --no-nvram
|
||||||
|
|
||||||
efibootmgr="`which efibootmgr`"
|
efibootmgr="`which efibootmgr`"
|
||||||
if test "$removable" = no && test -n "$bootloader_id" && test -n "$efibootmgr"; then
|
if test "$removable" = no && test -n "$bootloader_id" && test -n "$efibootmgr"; then
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 4 07:53:22 UTC 2014 - mchang@suse.com
|
||||||
|
|
||||||
|
- shim-install: fix GRUB shows broken letters at boot by calling
|
||||||
|
grub2-install to initialize /boot/grub2 directory with files
|
||||||
|
needed by grub.cfg (bnc#889765)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 28 04:13:33 UTC 2014 - glin@suse.com
|
Wed May 28 04:13:33 UTC 2014 - glin@suse.com
|
||||||
|
|
||||||
|
@ -85,7 +85,8 @@ BuildRequires: pesign
|
|||||||
BuildRequires: pesign-obs-integration
|
BuildRequires: pesign-obs-integration
|
||||||
Requires: perl-Bootloader
|
Requires: perl-Bootloader
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Recommends: grub2-efi
|
# For shim-install script
|
||||||
|
Requires: grub2-efi
|
||||||
ExclusiveArch: x86_64
|
ExclusiveArch: x86_64
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
x
Reference in New Issue
Block a user