changed: cross build init script for use with virtualization renamed to build naming...
authorMartin Mohring <martin.mohring@5etech.eu>
Wed, 8 Apr 2009 19:31:38 +0000 (19:31 +0000)
committerMartin Mohring <martin.mohring@5etech.eu>
Wed, 8 Apr 2009 19:31:38 +0000 (19:31 +0000)
build
init_buildsystem
initscript_qemu_vm [moved from build.cross with 100% similarity]

diff --git a/build b/build
index 9976f5a..cd53d84 100755 (executable)
--- a/build
+++ b/build
@@ -1027,7 +1027,7 @@ for SPECFILE in "${SPECFILES[@]}" ; do
                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
index dee3696..1f77ceb 100755 (executable)
@@ -290,12 +290,7 @@ if [ x"$BUILD_ARCH" == xarmv4l -o x"$BUILD_ARCH" == xarmv5el -o x"$BUILD_ARCH" =
         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
similarity index 100%
rename from build.cross
rename to initscript_qemu_vm