Accepting request 200505 from home:gary_lin:branches:devel:openSUSE:Factory
Create boot.csv in ESP for fallback.efi to restore the boot entry OBS-URL: https://build.opensuse.org/request/show/200505 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim?expand=0&rev=46
This commit is contained in:
parent
7d754a1d6f
commit
abecbcfee6
@ -180,6 +180,7 @@ if test "$clean" = "yes"; then
|
||||
rm -f "${efidir}/MokManager.efi"
|
||||
rm -f "${efidir}/grub.efi"
|
||||
rm -f "${efidir}/grub.cfg"
|
||||
rm -f "${efidir}/boot.csv"
|
||||
efibootmgr="`which efibootmgr`"
|
||||
if test "$removable" = no && test -n "$bootloader_id" && test -n "$efibootmgr"; then
|
||||
# Delete old entries from the same distributor.
|
||||
@ -194,6 +195,7 @@ fi
|
||||
cp "${source_dir}/shim.efi" "${efidir}"
|
||||
cp "${source_dir}/MokManager.efi" "${efidir}"
|
||||
cp "${source_dir}/grub.efi" "${efidir}"
|
||||
echo "shim.efi,${bootloader_id}" | iconv -f ascii -t ucs2 > "${efidir}/boot.csv"
|
||||
|
||||
grub_cfg_dirname=`dirname $grub_cfg`
|
||||
grub_cfg_basename=`basename $grub_cfg`
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 25 07:17:54 UTC 2013 - glin@suse.com
|
||||
|
||||
- Create boot.csv in ESP for fallback.efi to restore the boot entry
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 17 10:53:50 CEST 2013 - fcrozat@suse.com
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user