diff options
-rw-r--r-- | meta/lib/oe/package_manager/ipk/__init__.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/lib/oe/package_manager/ipk/__init__.py b/meta/lib/oe/package_manager/ipk/__init__.py index 416ed23d47..2753b139ed 100644 --- a/meta/lib/oe/package_manager/ipk/__init__.py +++ b/meta/lib/oe/package_manager/ipk/__init__.py | |||
@@ -172,12 +172,7 @@ class OpkgPM(OpkgDpkgPM): | |||
172 | if prepare_index: | 172 | if prepare_index: |
173 | create_packages_dir(self.d, self.deploy_dir, d.getVar("DEPLOY_DIR_IPK"), "package_write_ipk", filterbydependencies) | 173 | create_packages_dir(self.d, self.deploy_dir, d.getVar("DEPLOY_DIR_IPK"), "package_write_ipk", filterbydependencies) |
174 | 174 | ||
175 | opkg_lib_dir = self.d.getVar('OPKGLIBDIR') | 175 | self.opkg_dir = oe.path.join(target_rootfs, self.d.getVar('OPKGLIBDIR'), "opkg") |
176 | if opkg_lib_dir[0] == "/": | ||
177 | opkg_lib_dir = opkg_lib_dir[1:] | ||
178 | |||
179 | self.opkg_dir = os.path.join(target_rootfs, opkg_lib_dir, "opkg") | ||
180 | |||
181 | bb.utils.mkdirhier(self.opkg_dir) | 176 | bb.utils.mkdirhier(self.opkg_dir) |
182 | 177 | ||
183 | self.saved_opkg_dir = self.d.expand('${T}/saved/%s' % self.task_name) | 178 | self.saved_opkg_dir = self.d.expand('${T}/saved/%s' % self.task_name) |