POKY_QEMU_IFUP -> RUNQEMU_IFUP
(From OE-Core rev: 747fcc030d2bdd7c0551e366ceb8f2a38c063b26) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2c2e61743c
commit
972ebfe9e4
|
@ -51,8 +51,8 @@ if [[ ! -x "$TUNCTL" || -d "$TUNCTL" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SCRIPT_DIR=`dirname $0`
|
SCRIPT_DIR=`dirname $0`
|
||||||
POKY_QEMU_IFUP="$SCRIPT_DIR/runqemu-ifup"
|
RUNQEMU_IFUP="$SCRIPT_DIR/runqemu-ifup"
|
||||||
if [ ! -x "$POKY_QEMU_IFUP" ]; then
|
if [ ! -x "$RUNQEMU_IFUP" ]; then
|
||||||
echo "Error: Unable to find the runqemu-ifup script in $SCRIPT_DIR"
|
echo "Error: Unable to find the runqemu-ifup script in $SCRIPT_DIR"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -72,7 +72,7 @@ done
|
||||||
echo "Creating $COUNT tap devices for GID $GID..."
|
echo "Creating $COUNT tap devices for GID $GID..."
|
||||||
for ((index=0; index < $COUNT; index++)); do
|
for ((index=0; index < $COUNT; index++)); do
|
||||||
echo "Creating tap$index"
|
echo "Creating tap$index"
|
||||||
ifup=`$POKY_QEMU_IFUP $GID $SYSROOT 2>&1`
|
ifup=`$RUNQEMU_IFUP $GID $SYSROOT 2>&1`
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Error running tunctl: $ifup"
|
echo "Error running tunctl: $ifup"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue