SHA256
1
0
forked from pool/shim

Accepting request 1006812 from home:michael-chang:branches:devel:openSUSE:Factory

- shim-install: ensure grub.cfg created is not overwritten after
  installing grub related files

OBS-URL: https://build.opensuse.org/request/show/1006812
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim?expand=0&rev=193
This commit is contained in:
Joey Lee 2022-09-30 06:58:17 +00:00 committed by Git OBS Bridge
parent 2386bd59cb
commit 63e4498fc9
2 changed files with 9 additions and 1 deletions

View File

@ -386,13 +386,15 @@ EOF
}
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
# bsc#1118363 shim-install didn't specify the target for grub2-install
# set the target explicitly for some special cases
${grub_install} --target=${grub_install_target} --no-nvram
# Making sure grub.cfg not overwritten by grub-install above
make_grubcfg > "${efidir}/grub.cfg"
if test "$no_nvram" = no && test -n "$bootloader_id"; then
modprobe -q efivars 2>/dev/null || true

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 29 02:42:35 UTC 2022 - Michael Chang <mchang@suse.com>
- shim-install: ensure grub.cfg created is not overwritten after
installing grub related files
-------------------------------------------------------------------
Mon Sep 12 12:30:54 UTC 2022 - Kilian Hanich <khanich.opensource@gmx.de>