From 83b625fe625d6b11216e3572ad40c4f5d7e189c3 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 4 Apr 2023 12:59:50 +0200 Subject: [PATCH] Fix broken Arch setup --- scripts/Arch/OS/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Arch/OS/setup.sh b/scripts/Arch/OS/setup.sh index 57515855..3bfd9796 100755 --- a/scripts/Arch/OS/setup.sh +++ b/scripts/Arch/OS/setup.sh @@ -18,7 +18,6 @@ projectRoot="$(realpath ../../..)"; projectName="$(basename "$projectRoot")"; relativeDir="$(realpath --relative-to "$projectRoot" "$(pwd)")"; tempRoot="/root/$(basename "$projectName")"; -cp -r "$projectRoot" "${ARCH_MOUNT_ROOT}$tempRoot"; tempDir="$tempRoot/$relativeDir"; loadkeys "$ARCH_KEYMAP"; @@ -34,6 +33,7 @@ pacstrap -K "$ARCH_MOUNT_ROOT" \ man-pages \ texinfo; +cp -r "$projectRoot" "${ARCH_MOUNT_ROOT}$tempRoot"; genfstab -U "$ARCH_MOUNT_ROOT" >> "$ARCH_MOUNT_ROOT/etc/fstab"; arch-chroot "$ARCH_MOUNT_ROOT" systemctl enable NetworkManager;