summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-04-26 07:56:05 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2014-04-26 08:05:32 +0200
commitb30ee01e8a3fee298e34fae837fe1fb0816c9b9c (patch)
tree112b1d20bb7cf1e24c42f9cb4d528d7a09044e27 /scripts
parent7ae8b0a13083212092bfb640bc195ff4ac4d7317 (diff)
downloadvyos-live-build-b30ee01e8a3fee298e34fae837fe1fb0816c9b9c.tar.gz
vyos-live-build-b30ee01e8a3fee298e34fae837fe1fb0816c9b9c.zip
Abort early in installer_preseed if d-i is not included on the image (Closes: #745855).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/installer_preseed8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/build/installer_preseed b/scripts/build/installer_preseed
index 6e79bdc49..a3d9217cf 100755
--- a/scripts/build/installer_preseed
+++ b/scripts/build/installer_preseed
@@ -24,6 +24,14 @@ Arguments "${@}"
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
+
+# Check d-i configuration
+case "${LB_DEBIAN_INSTALLER}" in
+ false)
+ exit 0
+ ;;
+esac
+
Echo_message "Begin including local preseeds..."
# Checking stage file