]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
package_manager: Change complementary package handling to not include soft dependencies
authorRoss Burton <ross.burton@arm.com>
Fri, 24 Jun 2022 15:31:04 +0000 (16:31 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Jun 2022 22:49:35 +0000 (23:49 +0100)
commitb44b0b9294675f89aa51ff84f532664f4c479677
tree31f5a424168ea2b340daa46be12ce8df2de56a60
parenta98188e83b2c027d99cc38e3367e1ec2a98efbb0
package_manager: Change complementary package handling to not include soft dependencies

We've some long standing bugs where the RDEPENDS from -dev packages causes
problems, e.g. dropbear and openssh components on an image working fine together
but then the SDK failing to build as the main openssh and dropbear packages
conflict with each other (pulled in by openssh-dev and dropbear-dev).

We propose changing the behavour of complementary package installation to
ignore RRECOMMENDS. If we then change the ${PN}-dev dependency on ${PN}
to a RRECOMMENDS, we can avoid many of the issues people run into yet still
have the desired behaviour of ${PN}-dev pulling in ${PN}.

This therefore changes the package manager code so that it doesn't follow
RRECOMMENDS for completementary package globs.

[RP: Added deb support]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager/__init__.py
meta/lib/oe/package_manager/deb/__init__.py
meta/lib/oe/package_manager/ipk/__init__.py
meta/lib/oe/package_manager/rpm/__init__.py