From 968be1f426e442f9545fc08e7ede617525e6307f Mon Sep 17 00:00:00 2001 From: "Cody A.W. Somerville" Date: Wed, 20 Jul 2011 08:54:54 +0200 Subject: Appending 'linux32' to LB_ROOT_COMMAND if 'uname -m' is x86_64 and LB_ARCHITECTURE is i386. --- functions/defaults.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions/defaults.sh b/functions/defaults.sh index 78c39e69f..75136f1cc 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -217,6 +217,11 @@ Set_defaults () fi fi + if [ "${LB_ARCHITECTURE}" = "i386" ] && [ "$(uname -m)" = "x86_64" ] + then + LB_ROOT_COMMAND="${LB_ROOT_COMMAND} linux32" + fi + # Setting tasksel case "${LB_DISTRIBUTION}" in squeeze) -- cgit v1.2.3