]> code.ossystems Code Review - openembedded-core.git/commitdiff
allarch: Fix interaction with qemu class
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Jan 2022 13:45:22 +0000 (13:45 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Jan 2022 23:10:22 +0000 (23:10 +0000)
The qemu class declares functions which are architecture specific. If a user such
as meson is used in an allarch recipe, this leads to sstate which is machine
specific. To fix this, remove the architecture specific part, since there are no
binaries in allarch classes, this change shouldn't break anything.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/allarch.bbclass

index 5bd5c44a2767beebe0b7b733fc3ba0d7156a44ee..a766a654a9b1b801e73f2558374b79ec25621fcb 100644 (file)
@@ -61,3 +61,5 @@ python () {
         bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE"))
 }
 
+def qemu_wrapper_cmdline(data, rootfs_path, library_paths):
+    return 'false'