mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 12:49:34 +02:00
package_manager/sdk: Use filtered copies of the deploy ipk/deb directories
Similar to rpm, use copies of the ipk/deb directories for rootfs construction. This means the image creation code can no longer "see" recipes wich aren't in its dependency chain which is good for a variety of reasons including determinism, incompatible recipe (e.g. systemd/sysvinit) package conflicts and locking performance. (From OE-Core rev: c7c5f4065c102fde4e11d138fb0b6e25bffe0379) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -22,13 +22,15 @@ def get_package_manager(d, root_path):
|
||||
pm = OpkgPM(d,
|
||||
root_path,
|
||||
d.getVar("IPKGCONF_TARGET"),
|
||||
d.getVar("ALL_MULTILIB_PACKAGE_ARCHS"))
|
||||
d.getVar("ALL_MULTILIB_PACKAGE_ARCHS"),
|
||||
filterbydependencies=False)
|
||||
|
||||
elif pkg_class == "deb":
|
||||
pm = DpkgPM(d,
|
||||
root_path,
|
||||
d.getVar('PACKAGE_ARCHS'),
|
||||
d.getVar('DPKG_ARCH'))
|
||||
d.getVar('DPKG_ARCH'),
|
||||
filterbydependencies=False)
|
||||
|
||||
pm.write_index()
|
||||
pm.update()
|
||||
|
||||
Reference in New Issue
Block a user