]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/rootfs.py: OpkgRootfs, fix issue in _get_delayed_postinsts()
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Thu, 30 Jan 2014 19:55:32 +0000 (21:55 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 11:50:31 +0000 (11:50 +0000)
Status file path was not created correctly.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
meta/lib/oe/rootfs.py

index 001c48afcef6cf5c9ebb6cf74ca5dce6e8a276dd..95c275875f12a01354748e0fef7ecf068a9ca540 100644 (file)
@@ -562,7 +562,7 @@ class OpkgRootfs(Rootfs):
     def _get_delayed_postinsts(self):
         pkg_list = []
         status_file = os.path.join(self.image_rootfs,
-                                   self.d.getVar('OPKGLIBDIR', True),
+                                   self.d.getVar('OPKGLIBDIR', True).strip('/'),
                                    "opkg", "status")
 
         with open(status_file) as status: