summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-08-14 21:33:56 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:39 +0100
commit3e3bb4260766082847fb162baf1a99aa4fbf7c49 (patch)
tree3ca00b38e66da4a2bd0bf83a1503e89a41ca47b6 /functions
parentfe8484f3cd11620e793dba71425abcb3cde9757e (diff)
downloadlive-build-3e3bb4260766082847fb162baf1a99aa4fbf7c49.zip
live-build-3e3bb4260766082847fb162baf1a99aa4fbf7c49.tar.gz
Moving win32-loader inclusion support from external hook into main program (Closes: #476546).
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 477c6b8..969c41f 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}"