diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-26 11:41:31 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-26 12:15:12 +0000 |
commit | dc4abfc8f99c08e0c1ac9d098ce17838d0eda028 (patch) | |
tree | f90e0f739b81ea1d3ab16bd363c542a18da0817d /meta/lib | |
parent | a3965b76ed4361455c89c982761263be03e1a8e5 (diff) | |
download | openembedded-core-dc4abfc8f99c08e0c1ac9d098ce17838d0eda028.tar.gz openembedded-core-dc4abfc8f99c08e0c1ac9d098ce17838d0eda028.tar.bz2 openembedded-core-dc4abfc8f99c08e0c1ac9d098ce17838d0eda028.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/package_manager.py | 2 |
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): bb.utils.remove(self.apt_conf_dir, True) bb.utils.mkdirhier(self.apt_conf_dir) + bb.utils.mkdirhier(self.apt_conf_dir + "/lists/partial/") + bb.utils.mkdirhier(self.apt_conf_dir + "/apt.conf.d/") arch_list = [] for arch in archs.split(): |