Without this, runqemu-gen-tapdevs fails with the following error:

[tgamblin@megalith build]$ sudo 
/workspace/yocto/manual/poky/scripts/runqemu-gen-tapdevs 1000 1002 4 
tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
Creating 4 tap devices for UID: 1000 GID: 1002...
Creating tap0
Error bringing up interface: sudo runqemu-ifup <uid> <gid> 
<native-sysroot-basedir>

Signed-off-by: Trevor Gamblin <[email protected]>
---
 scripts/runqemu-gen-tapdevs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs
index ec3ecb03b9..dc730e413d 100755
--- a/scripts/runqemu-gen-tapdevs
+++ b/scripts/runqemu-gen-tapdevs
@@ -79,7 +79,7 @@ fi
 echo "Creating $COUNT tap devices for UID: $TUID GID: $GID..."
 for ((index=0; index < $COUNT; index++)); do
        echo "Creating tap$index"
-       if ! ifup=`$RUNQEMU_IFUP $TUID $GID 2>&1`; then
+       if ! ifup=`$RUNQEMU_IFUP $TUID $GID $STAGING_BINDIR_NATIVE 2>&1`; then
                echo "Error bringing up interface: $ifup"
                exit 1
        fi
-- 
2.40.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183109): 
https://lists.openembedded.org/g/openembedded-core/message/183109
Mute This Topic: https://lists.openembedded.org/mt/99623609/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to