mirror of
https://git.yoctoproject.org/poky
synced 2026-09-17 03:49:32 +02:00
runqemu: use bindir_native property to run ifup/down scripts
Used self.bindir_native to point out to the native sysroot when running runqemu-ifup and runqemu-ifdown scripts. [YOCTO #11266] [YOCTO #11193] (From OE-Core rev: cc5513bf7a6114e14bb307acb88a44e9cf0aed8a) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4d3bececf6
commit
4393cc550b
@@ -41,11 +41,11 @@ if [ $# -ne 2 ]; then
|
||||
fi
|
||||
|
||||
TAP=$1
|
||||
NATIVE_SYSROOT_DIR=$2
|
||||
STAGING_BINDIR_NATIVE=$2
|
||||
|
||||
TUNCTL=$NATIVE_SYSROOT_DIR/usr/bin/tunctl
|
||||
TUNCTL=$STAGING_BINDIR_NATIVE/tunctl
|
||||
if [ ! -e "$TUNCTL" ]; then
|
||||
echo "Error: Unable to find tunctl binary in '$NATIVE_SYSROOT_DIR/usr/bin', please bitbake qemu-helper-native"
|
||||
echo "Error: Unable to find tunctl binary in '$STAGING_BINDIR_NATIVE', please bitbake qemu-helper-native"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user