summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2009-08-09 14:05:24 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:45 +0100
commiteaf31e811caf8c71fbac3681d5c43b617df1ec99 (patch)
tree2b03321c497c948f09d7d2344277026b0344710f /functions
parent9d546a57d8f7d9c345a6d69c704fe59594ca34e0 (diff)
downloadlive-build-eaf31e811caf8c71fbac3681d5c43b617df1ec99.zip
live-build-eaf31e811caf8c71fbac3681d5c43b617df1ec99.tar.gz
Generate correct bootappend line for preseed/live-installer/usb-hdd combination.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 4467180..68a6590 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -767,7 +767,7 @@ Set_defaults ()
;;
usb-hdd)
- if [ "${LH_MODE}" = "ubuntu" ]
+ if [ "${LH_MODE}" = "ubuntu" ] || [ "${LH_DEBIAN_INSTALLER}" = "live" ]
then
_LH_BOOTAPPEND_PRESEED="file=/cdrom/install/${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
else