diff options
author | Cody A.W. Somerville <cody.somerville@canonical.com> | 2011-07-20 08:54:54 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-07-20 08:54:54 +0200 |
commit | 968be1f426e442f9545fc08e7ede617525e6307f (patch) | |
tree | bbbf1ccd79c46363b414df8364daa154e2444846 /functions | |
parent | 651c8aebd2960123d14bf6715e3a0f149b2c9b98 (diff) | |
download | vyos-live-build-968be1f426e442f9545fc08e7ede617525e6307f.tar.gz vyos-live-build-968be1f426e442f9545fc08e7ede617525e6307f.zip |
Appending 'linux32' to LB_ROOT_COMMAND if 'uname -m' is x86_64 and LB_ARCHITECTURE is i386.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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) |