Abort early in installer_preseed if d-i is not included on the image (Closes: #745855).

This commit is contained in:
Daniel Baumann 2014-04-26 07:56:05 +02:00
parent 7ae8b0a130
commit b30ee01e8a
1 changed files with 8 additions and 0 deletions

View File

@ -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