diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-04-18 19:27:30 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-04-18 19:27:30 -0400 |
commit | b3e18182e448b1137b8ec19cf18499d266a50219 (patch) | |
tree | 46194b7acbc31f9bb3152b8cffedb36cd350e890 | |
parent | 401d6120afab4498f8aa8209a382f07eaef7e536 (diff) |
install script forces re-creation of builddir in proper place on /mnt
-rwxr-xr-x | install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |