Fix non-functioning grub installation

This commit is contained in:
Manuel Thalmann 2023-04-01 14:17:27 +02:00
parent 68592f3995
commit 11156c94f5

View file

@ -31,8 +31,9 @@ arch-chroot "$ARCH_MOUNT_ROOT" passwd;
dir="$(realpath ../../..)";
scriptRoot="$(realpath --relative-to "$dir" "$(pwd)")";
tempDir="/tmp/$(basename "$dir")";
cp -r "$dir" "$ARCH_MOUNT_ROOT/tmp/";
tempDir="/root/$(basename "$dir")";
cp -r "$dir" "$ARCH_MOUNT_ROOT/root/";
arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/$scriptRoot/../../Software/Arch/GRUB/install.sh";
arch-chroot rm -rf "$tempDir";
popd > /dev/null;