diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2014-01-31 18:49:12 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 11:50:32 +0000 |
commit | 276f2a8a072ce243daa74210934ee63046e9c480 (patch) | |
tree | bc9fbf6aeac7f45c07cbc2dbfa84c2c1e1a3d8a8 /meta | |
parent | 628c4bce36ca0bc2b316ec78cf58b02a42e7f35f (diff) | |
download | openembedded-core-276f2a8a072ce243daa74210934ee63046e9c480.tar.gz openembedded-core-276f2a8a072ce243daa74210934ee63046e9c480.tar.bz2 openembedded-core-276f2a8a072ce243daa74210934ee63046e9c480.zip |
lib/oe/package_manager.py: do not use stamps
Using stamps shortens rootfs/image creation because the package indexes
are not created again if no new package was installed in the deploy dir.
Unfortunately, there are some syncronization issues with
do_package_write_*() and the indexes are not properly created.
Will have to revisit this issue in the near future. For now, lose it.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/package_manager.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 91f5f70d83..49bc12c745 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py @@ -902,8 +902,6 @@ class OpkgPM(PackageManager): "MULTILIB_ARCHS"] tmpdir = self.d.getVar('TMPDIR', True) - if os.path.exists(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN")): - return self.deploy_dir_lock() @@ -947,8 +945,6 @@ class OpkgPM(PackageManager): if result is not None: bb.fatal(result) - open(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"), "w").close() - def remove_packaging_data(self): bb.utils.remove(self.opkg_dir, True) # create the directory back, it's needed by PM lock @@ -1173,8 +1169,6 @@ class DpkgPM(PackageManager): def write_index(self): tmpdir = self.d.getVar('TMPDIR', True) - if os.path.exists(os.path.join(tmpdir, "stamps", "DEB_PACKAGE_INDEX_CLEAN")): - return pkg_archs = self.d.getVar('PACKAGE_ARCHS', True) if pkg_archs is not None: @@ -1218,8 +1212,6 @@ class DpkgPM(PackageManager): if result is not None: bb.fatal(result) - open(os.path.join(tmpdir, "stamps", "DEB_PACKAGE_INDEX_CLEAN"), "w+").close() - def _create_configs(self, archs, base_archs): base_archs = re.sub("_", "-", base_archs) |