mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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] (From OE-Core rev: 3fab4f9920d004fe13fb01434d4c7f3b8bbd7895) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -40,7 +40,7 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCache):
|
|||||||
# Only target packages beyond here
|
# Only target packages beyond here
|
||||||
|
|
||||||
# allarch packagegroups are assumed to have well behaved names which don't change between architecures/tunes
|
# 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
|
return False
|
||||||
|
|
||||||
# Exclude well defined machine specific configurations which don't change ABI
|
# Exclude well defined machine specific configurations which don't change ABI
|
||||||
|
|||||||
Reference in New Issue
Block a user