Fixed file paths for march-reboot.sh by copying them in install.sh over to the target system

This commit is contained in:
TuDatTr
2020-05-24 06:24:40 +02:00
parent fe3e3eb5ee
commit db7e8a7203
2 changed files with 9 additions and 5 deletions

View File

@@ -117,6 +117,9 @@ cp $CWD/etc/systemd/system/march.service /mnt/etc/systemd/system/march.service
cp $CWD/root/march-chroot.sh /mnt/root/march-chroot.sh
cp $CWD/root/march-reboot.sh /mnt/root/march-reboot.sh
chmod +x /mnt/root/march-chroot.sh
cp $CWD/etc/systemd/system/suspend@.service /root/etc/systemd/system/suspend@.service
cp $CWD/etc/X11/xorg.conf.d/30-touchpad.conf /root/etc/X11/xorg.conf.d/30-touchpad.conf
cp $CWD/etc/iptables/iptables.rules /root/etc/iptables/iptables.rules
chmod +x /mnt/root/march-reboot.sh
arch-chroot /mnt /root/march-chroot.sh -t "$timezone" -l "$locale" -h "$hostname" -u "$username" -s "$sudogrp" -c "$cryptroot" -r "$rootpart"