Hello, Please accept this patch which will append 'linux32' to LB_ROOT_COMMAND if 'uname -m' is x86_64 and LB_ARCHITECTURE is i386. This fixes build failures due to dkms module makefiles relying on uname -m to determine which linux kernel headers to use.
Cheers, -- Cody A.W. Somerville Release Engineer Foundations Team Custom Engineering Solutions Group Canonical OEM Services Phone: +1 781 850 2087 Cell: +1 613 401 5141 Fax: +1 613 687 7368 Email: cody.somervi...@canonical.com
=== modified file 'functions/defaults.sh' --- functions/defaults.sh 2011-07-14 06:24:33 +0000 +++ functions/defaults.sh 2011-07-19 19:48:42 +0000 @@ -217,6 +217,11 @@ 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)