Force overwrite when creating efi.img boot files

This commit is contained in:
Steve McIntyre 2015-01-11 00:41:31 +00:00
parent a3c80cd032
commit 322339fb4d
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ if [ -d boot$N/isolinux/grub ] ; then
mkfs.msdos -C "$CDDIR/boot/grub/efi.img" $blocks >/dev/null
mmd -i "$CDDIR/boot/grub/efi.img" ::efi
mmd -i "$CDDIR/boot/grub/efi.img" ::efi/boot
mcopy -i "$CDDIR/boot/grub/efi.img" $CDDIR/efi/boot/boot*.efi \
mcopy -o -i "$CDDIR/boot/grub/efi.img" $CDDIR/efi/boot/boot*.efi \
"::efi/boot"
# Ugh - different code here depending on the version of xorriso we've got