mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
change DESTDIR to /mnt/install in installer
This commit is contained in:
parent
da74c5ad06
commit
0bc3dec489
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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="/"
|
||||
|
|
Loading…
Reference in a new issue