diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-04-12 23:40:59 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-13 10:54:10 +0100 |
commit | 4393cc550b4b3feaa42b988b819c13518c836f09 (patch) | |
tree | c3c09ab9f0dd20c5ae17550b3e67cd76f42e9fb5 /scripts/runqemu-ifup | |
parent | 4d3bececf617dca82b5043781d63229427c734db (diff) | |
download | poky-4393cc550b4b3feaa42b988b819c13518c836f09.tar.gz |
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>
Diffstat (limited to 'scripts/runqemu-ifup')
-rwxr-xr-x | scripts/runqemu-ifup | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup index d9bd894123..59a15eaa2e 100755 --- a/scripts/runqemu-ifup +++ b/scripts/runqemu-ifup | |||
@@ -49,11 +49,11 @@ fi | |||
49 | 49 | ||
50 | USERID="-u $1" | 50 | USERID="-u $1" |
51 | GROUP="-g $2" | 51 | GROUP="-g $2" |
52 | NATIVE_SYSROOT_DIR=$3 | 52 | STAGING_BINDIR_NATIVE=$3 |
53 | 53 | ||
54 | TUNCTL=$NATIVE_SYSROOT_DIR/usr/bin/tunctl | 54 | TUNCTL=$STAGING_BINDIR_NATIVE/tunctl |
55 | if [ ! -x "$TUNCTL" ]; then | 55 | if [ ! -x "$TUNCTL" ]; then |
56 | echo "Error: Unable to find tunctl binary in '$NATIVE_SYSROOT_DIR/usr/bin', please bitbake qemu-helper-native" | 56 | echo "Error: Unable to find tunctl binary in '$STAGING_BINDIR_NATIVE', please bitbake qemu-helper-native" |
57 | exit 1 | 57 | exit 1 |
58 | fi | 58 | fi |
59 | 59 | ||