summaryrefslogtreecommitdiffstats
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):
50 50
51 # ensure we have setfattr available 51 # ensure we have setfattr available
52 bitbake("attr-native") 52 bitbake("attr-native")
53 bindir = get_bb_var('STAGING_BINDIR_NATIVE') 53
54 destdir = get_bb_var('SYSROOT_DESTDIR', 'attr-native')
55 bindir = get_bb_var('bindir', 'attr-native')
56 bindir = destdir + bindir
54 57
55 # create a file with xattr and copy it 58 # create a file with xattr and copy it
56 open(oe.path.join(src, testfilename), 'w+b').close() 59 open(oe.path.join(src, testfilename), 'w+b').close()