diff options
author | Daniel Baumann <daniel@debian.org> | 2009-12-09 21:56:17 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2009-12-09 21:56:17 +0100 |
commit | eb06f500bd22ce3ad42d8c774d4a921dde8592cd (patch) | |
tree | 7adda0c5f23e18ae7c13163132d84a770f98ceff | |
parent | 494ea2795e9e8d01ef89af92664dff7a8c6d5986 (diff) | |
download | vyos-live-build-eb06f500bd22ce3ad42d8c774d4a921dde8592cd.tar.gz vyos-live-build-eb06f500bd22ce3ad42d8c774d4a921dde8592cd.zip |
Setting win32-loader to disabled in ubuntu mode.
-rwxr-xr-x | functions/defaults.sh | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index c330b4281..a2b3b7aef 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -877,20 +877,23 @@ Set_defaults () LH_MEMTEST="${LH_MEMTEST:-memtest86+}" # Setting win32-loader option - case "${LH_ARCHITECTURE}" in - amd64|i386) - if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ] - then - LH_WIN32_LOADER="${LH_WIN32_LOADER:-enabled}" - else - LH_WIN32_LOADER="${LH_WIN32_LOADER:-disabled}" - fi - ;; + if [ "${LH_MODE}" != "ubuntu" ] + then + case "${LH_ARCHITECTURE}" in + amd64|i386) + if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ] + then + LH_WIN32_LOADER="${LH_WIN32_LOADER:-enabled}" + else + LH_WIN32_LOADER="${LH_WIN32_LOADER:-disabled}" + fi + ;; - *) - LH_WIN32_LOADER="${LH_WIN32_LOADER:-disabled}" - ;; - esac + *) + LH_WIN32_LOADER="${LH_WIN32_LOADER:-disabled}" + ;; + esac + fi # Setting netboot filesystem LH_NET_ROOT_FILESYSTEM="${LH_NET_ROOT_FILESYSTEM:-nfs}" |