change DESTDIR to /mnt/install in installer

This commit is contained in:
Tobias Powalowski 2023-11-06 20:55:39 +01:00
parent da74c5ad06
commit 0bc3dec489
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
_run ()
{
_dir /install
_dir /mnt/install
_map _binary genfstab arch-chroot pacstrap \
archboot-binary-check.sh archboot-not-installed.sh hwdetect
_file_rename /usr/bin/archboot-setup.sh /usr/bin/setup

View file

@ -13,7 +13,7 @@ _FINDMNT="findmnt -vno SOURCE"
# don't use _DESTDIR=/mnt because it's intended to mount other things there!
# check first if bootet in archboot
if grep -qw '^archboot' /etc/hostname; then
_DESTDIR="/install"
_DESTDIR="/mnt/install"
_NSPAWN="systemd-nspawn -q -D ${_DESTDIR}"
else
_DESTDIR="/"