if [ x"$BUILD_ARCH" == xarmv4l -o x"$BUILD_ARCH" == xarmv5el -o x"$BUILD_ARCH" == xarmv7el -o x"$BUILD_ARCH" == xsh4 -o x"$BUILD_ARCH" == xppc ]; then
if [ x"`uname -i`" == xx86_64 -o x"`uname -i`" == xi386 ]; then
if [ -e /bin/bash-static -a -e /bin/mount-static ]; then
- CROSS_INIT_SCRIPT="/.build/build.cross"
+ CROSS_INIT_SCRIPT="/.build/initscript_qemu_vm"
fi
fi
fi
else
if [ -e /usr/sbin/qemu-binfmt-conf.sh ]; then
echo "qemu-* will be registered"
- if [ -e /bin/bash-static ]; then
- # should not be needed in XEN, because already done via build.cross
- (set -x && bash-static /usr/sbin/qemu-binfmt-conf.sh)
- else
- (set -x && sh /usr/sbin/qemu-binfmt-conf.sh)
- fi
+ (set -x && /usr/sbin/qemu-binfmt-conf.sh)
fi
fi
fi