summaryrefslogtreecommitdiff
path: root/helpers/lh_config
diff options
context:
space:
mode:
authorCody A.W. Somerville <cody.somerville@canonical.com>2009-09-02 07:39:13 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:46 +0100
commit27be06512a9fcfbc68ad4f04efa13aa34e43bd2d (patch)
tree6ae4fa6caf9783eaea683b7c9f5df947cf0b1495 /helpers/lh_config
parenta55187778e01050f348532995eb9618897d96908 (diff)
downloadvyos-live-build-27be06512a9fcfbc68ad4f04efa13aa34e43bd2d.tar.gz
vyos-live-build-27be06512a9fcfbc68ad4f04efa13aa34e43bd2d.zip
Add option to disable use of GTK debian-installer.
Adding the ability to disable use of the GTK graphical debian-installer is handy either to reduce the size of the images or if the necessary files aren't available.
Diffstat (limited to 'helpers/lh_config')
-rwxr-xr-xhelpers/lh_config12
1 files changed, 11 insertions, 1 deletions
diff --git a/helpers/lh_config b/helpers/lh_config
index 6bd36281e..57a8b9e82 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -62,6 +62,7 @@ USAGE="${PROGRAM} [--apt apt|aptitude]\n\
\t [--debian-installer enabled|cdrom|netinst|netboot|businesscard|live|disabled]\n\
\t [--debian-installer-distribution CODENAME|daily]\n\
\t [--debian-installer-preseedfile FILE|URL]\n\
+\t [--debian-installer-gui enabled|disabled]\n\
\t [--debug]\n\
\t [-d|--distribution CODENAME]\n\
\t [--dump]\n\
@@ -138,7 +139,7 @@ Local_arguments ()
hooks:,interactive:,keyring-packages:,language:,linux-flavours:,linux-packages:,
packages:,packages-lists:,tasks:,security:,symlinks:,sysvinit:,binary-filesystem:,binary-images:,
binary-indices:,bootappend-install:,bootappend-live:,bootloader:,checksums:,chroot-build:,
- debian-installer:,debian-installer-distribution:,debian-installer-preseedfile:,
+ debian-installer:,debian-installer-distribution:,debian-installer-preseedfile:,debian-installer-gui:,
encryption:,grub-splash:,hostname:,iso-application:,iso-preparer:,iso-publisher:,
iso-volume:,jffs2-eraseblock:,memtest:,net-root-filesystem:,net-root-mountoptions:,
net-root-path:,net-root-server:,net-cow-filesystem:,net-cow-mountoptions:,net-cow-path:,
@@ -544,6 +545,11 @@ Local_arguments ()
shift 2
;;
+ --debian-installer-gui)
+ LH_DEBIAN_INSTALLER_GUI="${2}"
+ shift 2
+ ;;
+
-e|--encryption)
LH_ENCRYPTION="${2}"
shift 2
@@ -1095,6 +1101,10 @@ LH_DEBIAN_INSTALLER_DISTRIBUTION="${LH_DEBIAN_INSTALLER_DISTRIBUTION}"
# (Default: ${LH_DEBIAN_INSTALLER_PRESEEDFILE})
LH_DEBIAN_INSTALLER_PRESEEDFILE="${LH_DEBIAN_INSTALLER_PRESEEDFILE}"
+# \$LH_DEBIAN_INSTALLER_GUI: toggle use of GUI debian-installer
+# (Default: ${LH_DEBIAN_INSTALLER_GUI})
+LH_DEBIAN_INSTALLER_GUI="${LH_DEBIAN_INSTALLER_GUI}"
+
# \$LH_ENCRYPTION: set encryption
# (Default: ${LH_ENCRYPTION})
LH_ENCRYPTION="${LH_ENCRYPTION}"