Abort early in installer_preseed if d-i is not included on the image (Closes: #745855).
authorDaniel Baumann <mail@daniel-baumann.ch>
Sat, 26 Apr 2014 05:56:05 +0000 (07:56 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Sat, 26 Apr 2014 06:05:32 +0000 (08:05 +0200)
scripts/build/installer_preseed

index 6e79bdc..a3d9217 100755 (executable)
@@ -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