From: Richard Purdie Date: Tue, 29 Mar 2016 08:38:48 +0000 (+0100) Subject: sstatesig: Ensure we keep native depends for allarch recipes X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26356 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fab4f9920d004fe13fb01434d4c7f3b8bbd7895;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git sstatesig: Ensure we keep native depends for allarch recipes Without this, do_package_write_rpm doesn't depend on rpm-native which it really should since that is needed to build rpms. [YOCTO #8047] Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 4f115e9dc1b..5828a9def8e 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py @@ -40,7 +40,7 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache): # Only target packages beyond here # allarch packagegroups are assumed to have well behaved names which don't change between architecures/tunes - if isPackageGroup(fn) and isAllArch(fn): + if isPackageGroup(fn) and isAllArch(fn) and not isNative(depname): return False # Exclude well defined machine specific configurations which don't change ABI