aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/liboe.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/liboe.py')
-rw-r--r--meta/lib/oeqa/selftest/liboe.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/liboe.py b/meta/lib/oeqa/selftest/liboe.py
index 35131eb240..cd12cd25b3 100644
--- a/meta/lib/oeqa/selftest/liboe.py
+++ b/meta/lib/oeqa/selftest/liboe.py
@@ -50,7 +50,10 @@ class LibOE(oeSelfTest):
# ensure we have setfattr available
bitbake("attr-native")
- bindir = get_bb_var('STAGING_BINDIR_NATIVE')
+
+ destdir = get_bb_var('SYSROOT_DESTDIR', 'attr-native')
+ bindir = get_bb_var('bindir', 'attr-native')
+ bindir = destdir + bindir
# create a file with xattr and copy it
open(oe.path.join(src, testfilename), 'w+b').close()