summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_debian-installer11
1 files changed, 10 insertions, 1 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index f4d02f67e..d0f6d201b 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -35,13 +35,22 @@ fi
# Check d-i configuration
case "${LH_DEBIAN_INSTALLER}" in
- enabled|cdrom|netinst|netboot|businesscard|live)
+ enabled|cdrom|netinst|netboot|businesscard)
;;
disabled)
exit 0
;;
+ live)
+ case "${LH_PACKAGES_LISTS}" in
+ stripped|minimal)
+ Echo_error "live d-i installation is incompatbile with stripped and minimal"
+ exit 1
+ ;;
+ esac
+ ;;
+
*)
Echo_error "debian-installer flavour ${LH_DEBIAN_INSTALLER} not supported."
exit 1