diff options
author | Daniel Baumann <daniel@debian.org> | 2008-08-14 21:33:56 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2008-08-14 21:33:56 +0200 |
commit | c316f6cdbdb8415494ccc92e265c442bf2cee1a4 (patch) | |
tree | 689c15c95b6af09f0ee7daffdd31ffbea00cf48d /functions | |
parent | 5977735ed1df2c7411632a504090441cdecdd66b (diff) | |
download | vyos-live-build-c316f6cdbdb8415494ccc92e265c442bf2cee1a4.tar.gz vyos-live-build-c316f6cdbdb8415494ccc92e265c442bf2cee1a4.zip |
Moving win32-loader inclusion support from external hook into main program (Closes: #476546).
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 477c6b83f..969c41f40 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -634,6 +634,17 @@ Set_defaults () # Setting memtest option LH_MEMTEST="${LH_MEMTEST:-memtest86+}" + # Setting win32-loader option + case "${LH_ARCHITECTURE}" in + amd64|i386) + LH_WIN32_LOADER="enabled" + ;; + + *) + LH_WIN32_LOADER="disabled" + ;; + esac + # Setting netboot filesystem LH_NET_ROOT_FILESYSTEM="${LH_NET_ROOT_FILESYSTEM:-nfs}" |