diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-14 15:18:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-15 09:44:33 +0100 |
commit | 26a786f86989ce47eac4eecec3b0798730194b05 (patch) | |
tree | 263638168e588d8c06f476d9d238e261c13fc294 /meta/lib/oeqa | |
parent | ad6b73702934c0bb10afe66e13936d1313782352 (diff) | |
download | poky-26a786f86989ce47eac4eecec3b0798730194b05.tar.gz |
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>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/utils/package_manager.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/package_manager.py b/meta/lib/oeqa/utils/package_manager.py index afd5b8e75f..1495f87321 100644 --- a/meta/lib/oeqa/utils/package_manager.py +++ b/meta/lib/oeqa/utils/package_manager.py | |||
@@ -22,13 +22,15 @@ def get_package_manager(d, root_path): | |||
22 | pm = OpkgPM(d, | 22 | pm = OpkgPM(d, |
23 | root_path, | 23 | root_path, |
24 | d.getVar("IPKGCONF_TARGET"), | 24 | d.getVar("IPKGCONF_TARGET"), |
25 | d.getVar("ALL_MULTILIB_PACKAGE_ARCHS")) | 25 | d.getVar("ALL_MULTILIB_PACKAGE_ARCHS"), |
26 | filterbydependencies=False) | ||
26 | 27 | ||
27 | elif pkg_class == "deb": | 28 | elif pkg_class == "deb": |
28 | pm = DpkgPM(d, | 29 | pm = DpkgPM(d, |
29 | root_path, | 30 | root_path, |
30 | d.getVar('PACKAGE_ARCHS'), | 31 | d.getVar('PACKAGE_ARCHS'), |
31 | d.getVar('DPKG_ARCH')) | 32 | d.getVar('DPKG_ARCH'), |
33 | filterbydependencies=False) | ||
32 | 34 | ||
33 | pm.write_index() | 35 | pm.write_index() |
34 | pm.update() | 36 | pm.update() |