Fix broken Arch setup
This commit is contained in:
parent
25bb6e2442
commit
83b625fe62
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,6 @@ projectRoot="$(realpath ../../..)";
|
||||||
projectName="$(basename "$projectRoot")";
|
projectName="$(basename "$projectRoot")";
|
||||||
relativeDir="$(realpath --relative-to "$projectRoot" "$(pwd)")";
|
relativeDir="$(realpath --relative-to "$projectRoot" "$(pwd)")";
|
||||||
tempRoot="/root/$(basename "$projectName")";
|
tempRoot="/root/$(basename "$projectName")";
|
||||||
cp -r "$projectRoot" "${ARCH_MOUNT_ROOT}$tempRoot";
|
|
||||||
tempDir="$tempRoot/$relativeDir";
|
tempDir="$tempRoot/$relativeDir";
|
||||||
|
|
||||||
loadkeys "$ARCH_KEYMAP";
|
loadkeys "$ARCH_KEYMAP";
|
||||||
|
@ -34,6 +33,7 @@ pacstrap -K "$ARCH_MOUNT_ROOT" \
|
||||||
man-pages \
|
man-pages \
|
||||||
texinfo;
|
texinfo;
|
||||||
|
|
||||||
|
cp -r "$projectRoot" "${ARCH_MOUNT_ROOT}$tempRoot";
|
||||||
genfstab -U "$ARCH_MOUNT_ROOT" >> "$ARCH_MOUNT_ROOT/etc/fstab";
|
genfstab -U "$ARCH_MOUNT_ROOT" >> "$ARCH_MOUNT_ROOT/etc/fstab";
|
||||||
|
|
||||||
arch-chroot "$ARCH_MOUNT_ROOT" systemctl enable NetworkManager;
|
arch-chroot "$ARCH_MOUNT_ROOT" systemctl enable NetworkManager;
|
||||||
|
|
Loading…
Reference in a new issue