summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oe/package_manager.py8
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):
902 "MULTILIB_ARCHS"] 902 "MULTILIB_ARCHS"]
903 903
904 tmpdir = self.d.getVar('TMPDIR', True) 904 tmpdir = self.d.getVar('TMPDIR', True)
905 if os.path.exists(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN")):
906 return
907 905
908 self.deploy_dir_lock() 906 self.deploy_dir_lock()
909 907
@@ -947,8 +945,6 @@ class OpkgPM(PackageManager):
947 if result is not None: 945 if result is not None:
948 bb.fatal(result) 946 bb.fatal(result)
949 947
950 open(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"), "w").close()
951
952 def remove_packaging_data(self): 948 def remove_packaging_data(self):
953 bb.utils.remove(self.opkg_dir, True) 949 bb.utils.remove(self.opkg_dir, True)
954 # create the directory back, it's needed by PM lock 950 # create the directory back, it's needed by PM lock
@@ -1173,8 +1169,6 @@ class DpkgPM(PackageManager):
1173 1169
1174 def write_index(self): 1170 def write_index(self):
1175 tmpdir = self.d.getVar('TMPDIR', True) 1171 tmpdir = self.d.getVar('TMPDIR', True)
1176 if os.path.exists(os.path.join(tmpdir, "stamps", "DEB_PACKAGE_INDEX_CLEAN")):
1177 return
1178 1172
1179 pkg_archs = self.d.getVar('PACKAGE_ARCHS', True) 1173 pkg_archs = self.d.getVar('PACKAGE_ARCHS', True)
1180 if pkg_archs is not None: 1174 if pkg_archs is not None:
@@ -1218,8 +1212,6 @@ class DpkgPM(PackageManager):
1218 if result is not None: 1212 if result is not None:
1219 bb.fatal(result) 1213 bb.fatal(result)
1220 1214
1221 open(os.path.join(tmpdir, "stamps", "DEB_PACKAGE_INDEX_CLEAN"), "w+").close()
1222
1223 def _create_configs(self, archs, base_archs): 1215 def _create_configs(self, archs, base_archs):
1224 base_archs = re.sub("_", "-", base_archs) 1216 base_archs = re.sub("_", "-", base_archs)
1225 1217