root/march-chroot:Added cryptroot and rootpart so that the vars can be used there

This commit is contained in:
TuDatTr
2020-05-24 05:11:26 +02:00
parent 18aed562f8
commit 3c824db7db
2 changed files with 2 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ cp $CWD/root/march-reboot.sh /mnt/root/march-reboot.sh
chmod +x /mnt/root/march-chroot.sh
chmod +x /mnt/root/march-reboot.sh
arch-chroot /mnt /root/march-chroot.sh -t $timezone -l $locale -h $hostname -u $username -s $sudogrp
arch-chroot /mnt /root/march-chroot.sh -t "$timezone" -l "$locale" -h $hostname" -u "$username" -s "$sudogrp" -c "$cryptroot" -r "$rootpart"
umount $bootpart
swapoff $swappart