mkimage.sh: fix LockDown.efi and Shell.efi copy

This commit is contained in:
Harald Hoyer 2018-09-13 11:30:59 +02:00
parent 7a10c19f02
commit 612289f5af

View file

@ -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
# ------------------------------------------------------------------------------