2
0

Fix static efi partition path

This commit is contained in:
Madis Mägi 2021-02-28 23:41:56 +02:00
parent 886ede7cff
commit a0a29e931c

View File

@ -146,9 +146,11 @@ case $BUTTERKNIFE_TRANSFER_METHOD in
######################################## ########################################
### Target filesystem creation phase ### ### Target filesystem creation phase ###
######################################## ########################################
case $BUTTERKNIFE_PARTITIONING_METHOD in case $BUTTERKNIFE_PARTITIONING_METHOD in
efi) efi)
mkfs.vfat ${BUTTERKNIFE_DISK}1 BUTTERKNIFE_EFI_SYSTEM_PARTITION=$(ls ${BUTTERKNIFE_DISK}?* | sort | head -n 1)
mkfs.vfat ${BUTTERKNIFE_EFI_SYSTEM_PARTITION}
;; ;;
esac esac
@ -383,7 +385,7 @@ case $BUTTERKNIFE_PARTITIONING_METHOD in
case $BUTTERKNIFE_PARTITIONING_METHOD in case $BUTTERKNIFE_PARTITIONING_METHOD in
efi) efi)
mount ${BUTTERKNIFE_DISK}1 $TARGET_MOUNTPOINT/boot/efi mount ${BUTTERKNIFE_EFI_SYSTEM_PARTITION} $TARGET_MOUNTPOINT/boot/efi
;; ;;
esac esac