Fix static efi partition path
This commit is contained in:
parent
886ede7cff
commit
a0a29e931c
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user