summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro
diff options
context:
space:
mode:
authorYann Dirson <yann@blade-group.com>2020-09-01 14:35:12 +0200
committerSteve Sakoman <steve@sakoman.com>2020-09-04 04:31:45 -1000
commit210ebed1e9c2285d6e457bf03d1f1a1f3ddc7fda (patch)
tree3fdc3c8af3936259376120e75b2c453466a8ea75 /meta/conf/distro
parent83b74458783aac5d1d5a3ea8a31ccb79de3719bc (diff)
downloadopenembedded-core-210ebed1e9c2285d6e457bf03d1f1a1f3ddc7fda.tar.gz
package: get_package_mapping: avoid dependency mapping if renamed package provides original name
Packages with a runtime dependency on a target package whose name is changed by the PKG_* mechanism must rebuild when that mapping changes, but we have no way of tracking this today, so eg. packagegroup-machine-base ends up with a relationship on a versioned kernel-image, and does not get rebuilt when that version changes, leading to unsatisfiable dependency and reproducibility issue. OTOH there is no reason for the dependency to get rewritten if the renamed package already has a RPROVIDES on the non-rewritten package name, and if the dependency relationship is an unversionned one. This is what this patch prevents. Note that this may not cover all cases of rewritten package names. Notably I had to let the rewrite be done in the case of versionned dependencies, as package managers usually can follow "Provides" in such case; this includes many dependencies against shared-lib packages renamed to their soname, and those at least are OK, since the dependent recipe should explicitly depend on the target recipe. (From OE-Core rev: 920beaaeef62b558e046f32c8ef0332250969ef1) Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/conf/distro')
0 files changed, 0 insertions, 0 deletions