summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Filippov <a.filippov@yadro.com>2020-07-20 18:40:41 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-07-23 00:47:12 +0300
commit46c682dce06d2d8f20858526dfbfe85c02237c35 (patch)
treeee54ade5ec30bc2824e4f490e9924fa31d94154b
parentfd8041ee5efccf77dacc13b3447e527fc57a53e5 (diff)
downloadopenbmc-46c682dce06d2d8f20858526dfbfe85c02237c35.tar.xz
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 <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
-rw-r--r--meta-openpower/recipes-bsp/skiboot/skiboot.inc5
1 files changed, 5 insertions, 0 deletions
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"