fix chroot command

This commit is contained in:
Mats van Reenen 2022-09-09 19:17:10 +02:00 committed by GitHub
parent 114236c5e8
commit b033b28af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,7 @@ if [ "$PASS" != "$PASSRE" ]; then
echo "password do not match" echo "password do not match"
exit exit
fi fi
echo
run "format boot partition" "mkfs.fat ${DISK}1" run "format boot partition" "mkfs.fat ${DISK}1"
run "format swap partition" "mkswap ${DISK}2" run "format swap partition" "mkswap ${DISK}2"
@ -119,4 +120,4 @@ echo
echo === chroot config echo === chroot config
echo echo
arch-chroot /mnt "bash /root/in-root.sh" arch-chroot /mnt bash /root/in-root.sh