summaryrefslogtreecommitdiffstats
path: root/share/build-scripts/debconf
diff options
context:
space:
mode:
Diffstat (limited to 'share/build-scripts/debconf')
-rwxr-xr-xshare/build-scripts/debconf6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/build-scripts/debconf b/share/build-scripts/debconf
index 8307695..a20212f 100755
--- a/share/build-scripts/debconf
+++ b/share/build-scripts/debconf
@@ -1163,6 +1163,7 @@ EOF
echo 'fs0:\EFI\progress-linux\grubx64.efi' > "${DIRECTORY}/boot/efi/EFI/boot/startup.nsh"
sed -i \
+ -e "s|@DIRECTORY@|${SYSTEM_BASE_DIR}/${NAME}|g" \
-e "s|@BOOT_METHOD@|${BOOT_METHOD}|g" \
-e "s|@CPU@|${CPU}|g" \
-e "s|@MEMORY@|${MEMORY}|g" \
@@ -1359,9 +1360,14 @@ fi
case "${BOOT_METHOD}" in
qemu)
+ SYSTEM_BASE_DIR="${VMS}"
Create_vm_disk
Mount_vm_disk
;;
+
+ systemd-nspawn)
+ SYSTEM_BASE_DIR="${MACHINES}"
+ ;;
esac
case "${INSTALLER}" in