Commit e65b8469 by Ryousei Takano Committed by Daniel Lezcano

Use 'uname -m' instead of arch

'uname -m' seems to be more general to get the machine's architecture type. Ubunbu 8.10 (and also all debian based distros?) does not have arch(1). Signed-off-by: 's avatarRyousei Takano <takano-ryousei@aist.go.jp> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent b44cb779
......@@ -401,7 +401,7 @@ cat <<EOF > $MNTFILE
/sbin $(pwd)/$ROOTFS/sbin none ro,bind 0 0
EOF
if [ "$(arch)" = "x86_64" ]; then
if [ "$(uname -m)" = "x86_64" ]; then
cat <<EOF >> $MNTFILE
/lib64 $(pwd)/$ROOTFS/lib64 none ro,bind 0 0
EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment