From: Anders Darander Date: Tue, 3 May 2016 11:57:16 +0000 (+0200) Subject: lib/oe/rootfs: Fix DEBUGFS generation for opkg & openssl-cnf X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25964 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20ea6d274bb0a9a5addb111f32793de49b907865;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git lib/oe/rootfs: Fix DEBUGFS generation for opkg & openssl-cnf When enabling extra DEBUGFS image generation with opkg, the following error is seen when openssl-cnf is included in the image. Collected errors: * file_md5sum_alloc: Failed to open file /mnt/cs-builds/anders/oe-build/build-ccu/tmp/work/ccu-oe-linux-gnueabi/ccu-image/1.0-r0/rootfs/usr/lib/ssl/openssl.cnf: No such file or directory. Lots of similar issues was fixed by an earlier commit in oe-core, 5084ed9401250ed269a49d27b303806ab173c5d5, but openssl-cnf is outside of that fix. Followup to [YOCTO #9490] Signed-off-by: Anders Darander Signed-off-by: Ross Burton --- diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index 0546c1e321b..95fd3ab7f1f 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py @@ -907,7 +907,7 @@ class OpkgRootfs(DpkgOpkgRootfs): self.pm.install_complementary() - self._setup_dbg_rootfs(['/etc', '/var/lib/opkg']) + self._setup_dbg_rootfs(['/etc', '/var/lib/opkg', '/usr/lib/ssl']) execute_pre_post_process(self.d, opkg_post_process_cmds)