summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/package_manager.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-26 11:41:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-27 09:42:06 +0000
commit68f3a571f422170ef0fcef0243cdb6fadc11fade (patch)
treeb21d9a5f1f9cd632f74567389bb34e3c62347e85 /meta/lib/oe/package_manager.py
parentb503d35e7e56dc66447eb2bc83e3277862d328b9 (diff)
downloadpoky-68f3a571f422170ef0fcef0243cdb6fadc11fade.tar.gz
apt/package_mamager: Ensure WORKDIR is used for lists directory
The native sysroot should not be used as a store for the lists files since multiple images running at once would conflict over this. Instead redirect this to WORKDIR. This means some extra directories need to be created. Also create apt.conf.d to silence some warnings. (From OE-Core rev: dc4abfc8f99c08e0c1ac9d098ce17838d0eda028) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/package_manager.py')
-rw-r--r--meta/lib/oe/package_manager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 824af00f54..764ab72d2c 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -1624,6 +1624,8 @@ class DpkgPM(PackageManager):
1624 bb.utils.remove(self.apt_conf_dir, True) 1624 bb.utils.remove(self.apt_conf_dir, True)
1625 1625
1626 bb.utils.mkdirhier(self.apt_conf_dir) 1626 bb.utils.mkdirhier(self.apt_conf_dir)
1627 bb.utils.mkdirhier(self.apt_conf_dir + "/lists/partial/")
1628 bb.utils.mkdirhier(self.apt_conf_dir + "/apt.conf.d/")
1627 1629
1628 arch_list = [] 1630 arch_list = []
1629 for arch in archs.split(): 1631 for arch in archs.split():