]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstatesig: Ensure we keep native depends for allarch recipes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Mar 2016 08:38:48 +0000 (09:38 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Mar 2016 11:55:44 +0000 (12:55 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py

index 4f115e9dc1b696a58cb74b861d9e02e51fcf1f3a..5828a9def8e7e9042ba042e26905e72373f9a5b7 100644 (file)
@@ -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