Fix mkdir
This commit is contained in:
parent
9f4968484c
commit
146dd74602
|
@ -177,7 +177,6 @@ partition() {
|
||||||
echo -n "Configuring BOOT partition..."
|
echo -n "Configuring BOOT partition..."
|
||||||
quiet mkfs.fat -F 32 "$DRIVE_TARGET"2
|
quiet mkfs.fat -F 32 "$DRIVE_TARGET"2
|
||||||
fatlabel "$DRIVE_TARGET"2 BOOT
|
fatlabel "$DRIVE_TARGET"2 BOOT
|
||||||
mkdir -p /mnt/boot
|
|
||||||
echo "done"
|
echo "done"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -189,7 +188,7 @@ partition() {
|
||||||
echo -n "Configuring ROOT partition..."
|
echo -n "Configuring ROOT partition..."
|
||||||
quiet mkfs.ext4 -L ROOT "$DRIVE_TARGET"$rootN
|
quiet mkfs.ext4 -L ROOT "$DRIVE_TARGET"$rootN
|
||||||
quiet mount "$DRIVE_TARGET"$rootN /mnt
|
quiet mount "$DRIVE_TARGET"$rootN /mnt
|
||||||
[ $UEFI -ne 1 ] && quiet mount "$DRIVE_TARGET"2 /mnt/boot
|
[ $UEFI -ne 1 ] && mkdir -p /mnt/boot && quiet mount "$DRIVE_TARGET"2 /mnt/boot
|
||||||
echo "done"
|
echo "done"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue