]> code.ossystems Code Review - openembedded-core.git/commitdiff
POKY_QEMU_IFUP -> RUNQEMU_IFUP
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Apr 2011 22:35:00 +0000 (23:35 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Apr 2011 22:46:46 +0000 (23:46 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu-gen-tapdevs

index 527c01e7b4051d99cfb7d2c7bc9635c80f9d4916..f52cf0b9b9d4663498ccc240ad361980ec3ad817 100755 (executable)
@@ -51,8 +51,8 @@ if [[ ! -x "$TUNCTL" || -d "$TUNCTL" ]]; then
 fi
 
 SCRIPT_DIR=`dirname $0`
-POKY_QEMU_IFUP="$SCRIPT_DIR/runqemu-ifup"
-if [ ! -x "$POKY_QEMU_IFUP" ]; then
+RUNQEMU_IFUP="$SCRIPT_DIR/runqemu-ifup"
+if [ ! -x "$RUNQEMU_IFUP" ]; then
        echo "Error: Unable to find the runqemu-ifup script in $SCRIPT_DIR"
        exit 1
 fi
@@ -72,7 +72,7 @@ done
 echo "Creating $COUNT tap devices for GID $GID..."
 for ((index=0; index < $COUNT; index++)); do
        echo "Creating tap$index"
-       ifup=`$POKY_QEMU_IFUP $GID $SYSROOT 2>&1`
+       ifup=`$RUNQEMU_IFUP $GID $SYSROOT 2>&1`
        if [ $? -ne 0 ]; then
                echo "Error running tunctl: $ifup"
                exit 1