From: Laurentiu Palcu Date: Thu, 30 Jan 2014 19:55:32 +0000 (+0200) Subject: lib/oe/rootfs.py: OpkgRootfs, fix issue in _get_delayed_postinsts() X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~34542 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=628c4bce36ca0bc2b316ec78cf58b02a42e7f35f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git lib/oe/rootfs.py: OpkgRootfs, fix issue in _get_delayed_postinsts() Status file path was not created correctly. Signed-off-by: Laurentiu Palcu --- diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 001c48afcef..95c275875f1 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: