summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorAlejandro del Castillo <alejandro.delcastillo@ni.com>2015-09-01 09:17:53 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-03 12:43:14 +0100
commitd6b1171131656907d6bdbb9ce3115c444f06817e (patch)
treed9764b40ac128da99f79c2e45cfd7c370f5179e2 /meta/lib
parentab50b1d11c28394b20b49242cc3481582a055bc8 (diff)
downloadpoky-d6b1171131656907d6bdbb9ce3115c444f06817e.tar.gz
opkg: upgrade to v0.3.0
Changes required: - Rename opkg-cl to opkg - Add libarchive dependency - Drop backport patches - Drop obsolete directory options - Add patch to handle empty index files Based on initial work by Paul Barker. (From OE-Core rev: 1dd2a9ea54f5a5497e23814f144f35ff15430d71) Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> CC: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/package_manager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index ef917f15b2..f5a22abca7 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -376,7 +376,7 @@ class OpkgPkgsList(PkgsList):
376 def __init__(self, d, rootfs_dir, config_file): 376 def __init__(self, d, rootfs_dir, config_file):
377 super(OpkgPkgsList, self).__init__(d, rootfs_dir) 377 super(OpkgPkgsList, self).__init__(d, rootfs_dir)
378 378
379 self.opkg_cmd = bb.utils.which(os.getenv('PATH'), "opkg-cl") 379 self.opkg_cmd = bb.utils.which(os.getenv('PATH'), "opkg")
380 self.opkg_args = "-f %s -o %s " % (config_file, rootfs_dir) 380 self.opkg_args = "-f %s -o %s " % (config_file, rootfs_dir)
381 self.opkg_args += self.d.getVar("OPKG_ARGS", True) 381 self.opkg_args += self.d.getVar("OPKG_ARGS", True)
382 382
@@ -1229,8 +1229,8 @@ class OpkgPM(PackageManager):
1229 1229
1230 self.deploy_dir = self.d.getVar("DEPLOY_DIR_IPK", True) 1230 self.deploy_dir = self.d.getVar("DEPLOY_DIR_IPK", True)
1231 self.deploy_lock_file = os.path.join(self.deploy_dir, "deploy.lock") 1231 self.deploy_lock_file = os.path.join(self.deploy_dir, "deploy.lock")
1232 self.opkg_cmd = bb.utils.which(os.getenv('PATH'), "opkg-cl") 1232 self.opkg_cmd = bb.utils.which(os.getenv('PATH'), "opkg")
1233 self.opkg_args = "-f %s -o %s " % (self.config_file, target_rootfs) 1233 self.opkg_args = "--volatile-cache -f %s -o %s " % (self.config_file, target_rootfs)
1234 self.opkg_args += self.d.getVar("OPKG_ARGS", True) 1234 self.opkg_args += self.d.getVar("OPKG_ARGS", True)
1235 1235
1236 opkg_lib_dir = self.d.getVar('OPKGLIBDIR', True) 1236 opkg_lib_dir = self.d.getVar('OPKGLIBDIR', True)