mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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] (From OE-Core rev: 85e72e129362db896b0d368077033e4a2e373cf9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -14,7 +14,8 @@ def get_package_manager(d, root_path):
|
||||
if pkg_class == "rpm":
|
||||
pm = RpmPM(d,
|
||||
root_path,
|
||||
d.getVar('TARGET_VENDOR'))
|
||||
d.getVar('TARGET_VENDOR'),
|
||||
filterbydependencies=False)
|
||||
pm.create_configs()
|
||||
|
||||
elif pkg_class == "ipk":
|
||||
|
||||
Reference in New Issue
Block a user