mkimage.sh: fix LockDown.efi and Shell.efi copy
This commit is contained in:
parent
7a10c19f02
commit
612289f5af
|
@ -158,8 +158,8 @@ mount ${DEV_PART}1 "$MY_TMPDIR"/boot
|
|||
|
||||
mkdir -p "$MY_TMPDIR"/boot/EFI/Boot
|
||||
cp "$SOURCE"/bootx64.efi "$MY_TMPDIR"/boot/EFI/Boot/bootx64.efi
|
||||
[[ -e ${CURDIR}/Lockdown.efi ]] && cp ${CURDIR}/Lockdown.efi "$MY_TMPDIR"/boot/
|
||||
[[ -e ${CURDIR}/Shell.efi ]] && cp ${CURDIR}/Lockdown.efi "$MY_TMPDIR"/boot/
|
||||
[[ -e ${CURDIR}/LockDown.efi ]] && cp ${CURDIR}/LockDown.efi "$MY_TMPDIR"/boot/
|
||||
[[ -e ${CURDIR}/Shell.efi ]] && cp ${CURDIR}/Shell.efi "$MY_TMPDIR"/boot/
|
||||
umount "$MY_TMPDIR"/boot
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue