From b3e18182e448b1137b8ec19cf18499d266a50219 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sat, 18 Apr 2020 19:27:30 -0400 Subject: install script forces re-creation of builddir in proper place on /mnt --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 0191d86..0316fcf 100755 --- a/install.sh +++ b/install.sh @@ -42,7 +42,6 @@ if [ ! -e installed ]; then pacstrap /mnt base || exit 1 genfstab -U /mnt >> /mnt/etc/fstab - sudo install -d . /mnt/root/dotfiles sed "s|%%UUID%%|$(blkid ${PART}2)|" src/etc/default/grub.orig > src/etc/default/grub touch installed else @@ -50,6 +49,9 @@ else mount /dev/Crypt/root /mnt mount ${PART}1 /mnt/efi fi +rm -r /mnt/root/dotfiles +sudo install -d /mnt/root/dotfiles +cp -r . /mnt/root/dotfiles arch-chroot /mnt << EOF sh /root/dotfiles/build.sh EOF -- cgit