From 7fad1b698dca380d27a483efa7eff581e857967b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 29 Sep 2012 13:20:21 +0200 Subject: Including loadlin on d-i images on amd64 and i386. --- functions/defaults.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index bd7f0a4f7..8af9c8455 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -1123,6 +1123,30 @@ Set_defaults () # Setting memtest option LB_MEMTEST="${LB_MEMTEST:-memtest86+}" + # Setting loadlin option + case "${LB_MODE}" in + progress|ubuntu|kubuntu) + + ;; + + *) + case "${LB_ARCHITECTURES}" in + amd64|i386) + if [ "${LB_DEBIAN_INSTALLER}" != "false" ] + then + LB_LOADLIN="${LB_LOADLIN:-true}" + else + LB_LOADLIN="${LB_LOADLIN:-false}" + fi + ;; + + *) + LB_LOADLIN="${LB_LOADLIN:-false}" + ;; + esac + ;; + esac + # Setting win32-loader option case "${LB_MODE}" in progress|ubuntu|kubuntu) -- cgit v1.2.3