From 46c682dce06d2d8f20858526dfbfe85c02237c35 Mon Sep 17 00:00:00 2001 From: Alexander Filippov Date: Mon, 20 Jul 2020 18:40:41 +0300 Subject: meta-openpower: fix pflash running With the latest changes in poky `libflash.so` is not installed in the rootfs. It causes the error like this: ``` pflash: error while loading shared libraries: libflash.so: cannot open shared object file: No such file or directory ``` This commit restore the missing symlink. Tested: `libflash.so` present in the `/usr/lib` and `pflash` works fine. (From meta-openpower rev: 66c74979d5992f466f243e4b1505d93a4d961744) Change-Id: I84d015bd145ad0d30cd84d1b76f9cb02262438e2 Signed-off-by: Alexander Filippov Signed-off-by: Andrew Geissler --- meta-openpower/recipes-bsp/skiboot/skiboot.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-openpower/recipes-bsp') diff --git a/meta-openpower/recipes-bsp/skiboot/skiboot.inc b/meta-openpower/recipes-bsp/skiboot/skiboot.inc index e7fbf4a7d..7140c6432 100644 --- a/meta-openpower/recipes-bsp/skiboot/skiboot.inc +++ b/meta-openpower/recipes-bsp/skiboot/skiboot.inc @@ -25,3 +25,8 @@ do_compile() { do_install() { oe_runmake -C ${SKIBOOT_SUBDIR} install DESTDIR=${D} prefix=/usr PREFIX=$prefix } + +# libflash.so is a SONAME and is strongly required in the production +INSANE_SKIP_${PN}_append = "dev-so" +FILES_SOLIBSDEV = "" +FILES_${PN}_append = " ${libdir}/libflash.so" -- cgit v1.2.3