[oe-commits] Laurentiu Palcu : lib/oe/rootfs.py: OpkgRootfs, fix issue in _get_delayed_postinsts()

git at git.openembedded.org git at git.openembedded.org
Tue Feb 11 11:56:31 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 628c4bce36ca0bc2b316ec78cf58b02a42e7f35f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=628c4bce36ca0bc2b316ec78cf58b02a42e7f35f

Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date:   Thu Jan 30 21:55:32 2014 +0200

lib/oe/rootfs.py: OpkgRootfs, fix issue in _get_delayed_postinsts()

Status file path was not created correctly.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu at intel.com>

---

 meta/lib/oe/rootfs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index 001c48a..95c2758 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -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:



More information about the Openembedded-commits mailing list