Fix calls to relative files
This commit is contained in:
parent
bd89dc711f
commit
271986a16f
1 changed files with 4 additions and 3 deletions
|
@ -15,8 +15,6 @@ timedatectl set-timezone "$ARCH_TIMEZONE";
|
||||||
pacstrap -K "$ARCH_MOUNT_ROOT" base linux linux-firmware networkmanager;
|
pacstrap -K "$ARCH_MOUNT_ROOT" base linux linux-firmware networkmanager;
|
||||||
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" . ./init.sh;
|
|
||||||
|
|
||||||
arch-chroot "$ARCH_MOUNT_ROOT" ln -sf /usr/share/zoneinfo/Europe/Zurich /etc/localtime;
|
arch-chroot "$ARCH_MOUNT_ROOT" ln -sf /usr/share/zoneinfo/Europe/Zurich /etc/localtime;
|
||||||
arch-chroot "$ARCH_MOUNT_ROOT" hwclock --systohc;
|
arch-chroot "$ARCH_MOUNT_ROOT" hwclock --systohc;
|
||||||
|
|
||||||
|
@ -31,6 +29,9 @@ arch-chroot "$ARCH_MOUNT_ROOT" mkinitcpio -P;
|
||||||
echo "Please choose a password for the user \`root\`";
|
echo "Please choose a password for the user \`root\`";
|
||||||
arch-chroot "$ARCH_MOUNT_ROOT" passwd;
|
arch-chroot "$ARCH_MOUNT_ROOT" passwd;
|
||||||
|
|
||||||
arch-chroot "$ARCH_MOUNT_ROOT" . ../../Software/GRUB/install.sh;
|
dir="$(realpath ../../..)";
|
||||||
|
scriptRoot="$(realpath --relative "$(pwd)" "$dir")";
|
||||||
|
cp -r "$dir" "$ARCH_MOUNT_ROOT/tmp/";
|
||||||
|
arch-chroot "$ARCH_MOUNT_ROOT" . "$scriptRoot/../../Software/GRUB/install.sh";
|
||||||
|
|
||||||
popd > /dev/null;
|
popd > /dev/null;
|
||||||
|
|
Loading…
Reference in a new issue