diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu-internal | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 4f6909b73..ce3291f3a 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal @@ -173,7 +173,9 @@ if [ "$TAP" = "" ]; then GROUPID=`id -g` echo "Setting up tap interface under sudo" - tap=`sudo $QEMUIFUP $GROUPID $OECORE_NATIVE_SYSROOT` + # Redirect stderr since we could see a LD_PRELOAD warning here if pseudo is loaded + # but inactive. This looks scary but is harmless + tap=`sudo $QEMUIFUP $GROUPID $OECORE_NATIVE_SYSROOT 2> /dev/null` if [ $? -ne 0 ]; then # Re-run standalone to see verbose errors sudo $QEMUIFUP $GROUPID $OECORE_NATIVE_SYSROOT @@ -191,7 +193,9 @@ fi cleanup() { if [ ! -e "$NOSUDO_FLAG" ]; then - sudo $QEMUIFDOWN $TAP $OECORE_NATIVE_SYSROOT + # Redirect stderr since we could see a LD_PRELOAD warning here if pseudo is loaded + # but inactive. This looks scary but is harmless + sudo $QEMUIFDOWN $TAP $OECORE_NATIVE_SYSROOT 2> /dev/null fi echo "Releasing lockfile of preconfigured tap device '$TAP'" release_lock $LOCKFILE |