Fix non-functioning grub installation
This commit is contained in:
parent
68592f3995
commit
11156c94f5
1 changed files with 3 additions and 2 deletions
|
@ -31,8 +31,9 @@ arch-chroot "$ARCH_MOUNT_ROOT" passwd;
|
||||||
|
|
||||||
dir="$(realpath ../../..)";
|
dir="$(realpath ../../..)";
|
||||||
scriptRoot="$(realpath --relative-to "$dir" "$(pwd)")";
|
scriptRoot="$(realpath --relative-to "$dir" "$(pwd)")";
|
||||||
tempDir="/tmp/$(basename "$dir")";
|
tempDir="/root/$(basename "$dir")";
|
||||||
cp -r "$dir" "$ARCH_MOUNT_ROOT/tmp/";
|
cp -r "$dir" "$ARCH_MOUNT_ROOT/root/";
|
||||||
arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/$scriptRoot/../../Software/Arch/GRUB/install.sh";
|
arch-chroot "$ARCH_MOUNT_ROOT" bash "$tempDir/$scriptRoot/../../Software/Arch/GRUB/install.sh";
|
||||||
|
arch-chroot rm -rf "$tempDir";
|
||||||
|
|
||||||
popd > /dev/null;
|
popd > /dev/null;
|
||||||
|
|
Loading…
Reference in a new issue