Appending 'linux32' to LB_ROOT_COMMAND if 'uname -m' is x86_64 and LB_ARCHITECTURE is i386.

This commit is contained in:
Cody A.W. Somerville 2011-07-20 08:54:54 +02:00 committed by Daniel Baumann
parent 651c8aebd2
commit 968be1f426
1 changed files with 5 additions and 0 deletions

View File

@ -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)