summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f4d02f6..d0f6d20 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