]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
package_manager: Filter to only rpms we depend upon
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Sep 2017 16:51:58 +0000 (17:51 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Feb 2018 18:13:35 +0000 (18:13 +0000)
commit85e72e129362db896b0d368077033e4a2e373cf9
tree45581bfc8573c628ecf629b5e2424c02d3694987
parentb30153a15715a83c0f9a7d7d1883a15404992a19
package_manager: Filter to only rpms we depend upon

Currently do_rootfs gets to see all rpms in the deploy directory. This filters
that view to only rpms which the image recipe has actual depends upon which
potentially removes some sources of confusion in the image construction.

This makes builds more reproducibile and also fixes contamination issues
where dnf picks up packages it shouldn't be able to 'see'.

[YOCTO #12039]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager.py
meta/lib/oeqa/utils/package_manager.py