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.
Change-Id: Id5ae4f1154b961df9b476a3044797c9b4d11a979
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
diff --git a/recipes-bsp/skiboot/skiboot.inc b/recipes-bsp/skiboot/skiboot.inc
index e7fbf4a..7140c64 100644
--- a/recipes-bsp/skiboot/skiboot.inc
+++ b/recipes-bsp/skiboot/skiboot.inc
@@ -25,3 +25,8 @@
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"