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 ../../..)";
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue