diff options
author | Cody A.W. Somerville <cody.somerville@canonical.com> | 2009-09-02 07:39:13 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:46 +0100 |
commit | 27be06512a9fcfbc68ad4f04efa13aa34e43bd2d (patch) | |
tree | 6ae4fa6caf9783eaea683b7c9f5df947cf0b1495 /helpers/lh_binary_debian-installer | |
parent | a55187778e01050f348532995eb9618897d96908 (diff) | |
download | vyos-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_binary_debian-installer')
-rwxr-xr-x | helpers/lh_binary_debian-installer | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index 66a8bde9d..32d0ce040 100755 --- a/helpers/lh_binary_debian-installer +++ b/helpers/lh_binary_debian-installer @@ -320,18 +320,21 @@ else # Downloading graphical-installer DOWNLOAD_GTK_INSTALLER=0 - case "${LH_ARCHITECTURE}" in - amd64|i386|lpia) - DOWNLOAD_GTK_INSTALLER=1 - ;; - - powerpc) - if [ "${LH_DEBIAN_INSTALLER}" = "netboot" ] - then + if [ "${LH_DEBIAN_INSTALLER_GUI}" = "enabled" ] + then + case "${LH_ARCHITECTURE}" in + amd64|i386|lpia) DOWNLOAD_GTK_INSTALLER=1 - fi - ;; - esac + ;; + + powerpc) + if [ "${LH_DEBIAN_INSTALLER}" = "netboot" ] + then + DOWNLOAD_GTK_INSTALLER=1 + fi + ;; + esac + fi if [ ${DOWNLOAD_GTK_INSTALLER} -eq 1 ] then |