diff options
Diffstat (limited to 'scripts/runqemu-internal')
| -rwxr-xr-x | scripts/runqemu-internal | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 206e1cfe8a..64374f2076 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal | |||
| @@ -161,10 +161,10 @@ if [ "$TAP" = "" ]; then | |||
| 161 | 161 | ||
| 162 | GROUPID=`id -g` | 162 | GROUPID=`id -g` |
| 163 | echo "Setting up tap interface under sudo" | 163 | echo "Setting up tap interface under sudo" |
| 164 | tap=`sudo $QEMUIFUP $GROUPID $POKY_NATIVE_SYSROOT` | 164 | tap=`sudo $QEMUIFUP $GROUPID $OECORE_NATIVE_SYSROOT` |
| 165 | if [ $? -ne 0 ]; then | 165 | if [ $? -ne 0 ]; then |
| 166 | # Re-run standalone to see verbose errors | 166 | # Re-run standalone to see verbose errors |
| 167 | sudo $QEMUIFUP $GROUPID $POKY_NATIVE_SYSROOT | 167 | sudo $QEMUIFUP $GROUPID $OECORE_NATIVE_SYSROOT |
| 168 | return | 168 | return |
| 169 | fi | 169 | fi |
| 170 | LOCKFILE="$LOCKDIR/$tap" | 170 | LOCKFILE="$LOCKDIR/$tap" |
| @@ -179,7 +179,7 @@ fi | |||
| 179 | 179 | ||
| 180 | cleanup() { | 180 | cleanup() { |
| 181 | if [ ! -e "$NOSUDO_FLAG" ]; then | 181 | if [ ! -e "$NOSUDO_FLAG" ]; then |
| 182 | sudo $QEMUIFDOWN $TAP $POKY_NATIVE_SYSROOT | 182 | sudo $QEMUIFDOWN $TAP $OECORE_NATIVE_SYSROOT |
| 183 | fi | 183 | fi |
| 184 | echo "Releasing lockfile of preconfigured tap device '$TAP'" | 184 | echo "Releasing lockfile of preconfigured tap device '$TAP'" |
| 185 | release_lock $LOCKFILE | 185 | release_lock $LOCKFILE |
| @@ -416,7 +416,7 @@ if [ "x$QEMUOPTIONS" = "x" ]; then | |||
| 416 | return | 416 | return |
| 417 | fi | 417 | fi |
| 418 | 418 | ||
| 419 | PATH=$CROSSPATH:$POKY_NATIVE_SYSROOT/usr/bin:$PATH | 419 | PATH=$CROSSPATH:$OECORE_NATIVE_SYSROOT/usr/bin:$PATH |
| 420 | 420 | ||
| 421 | QEMUBIN=`which $QEMU` | 421 | QEMUBIN=`which $QEMU` |
| 422 | if [ ! -x "$QEMUBIN" ]; then | 422 | if [ ! -x "$QEMUBIN" ]; then |
