[oe] [meta-openwrt][PATCH 2/5] libubox: fix hardcoded lib string to solve unshipped file warnings
Jagadeesh Krishnanjanappa
jkrishnanjanappa at mvista.com
Thu Mar 1 13:35:51 UTC 2018
Solves below warning, when libdir is other than /usr/lib/:
-- snip --
WARNING: libubox-2.0.0+gitAUTOINC+96305a3caf-r0 do_package: QA Issue: libubox: Files/directories were installed but not shipped in any package: /usr/lib/lua/5.1/uloop.so
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
libubox: 1 installed and not shipped files. [installed-vs-shipped]
-- snip --
Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa at mvista.com>
---
recipes-core/libubox/libubox_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-core/libubox/libubox_git.bb b/recipes-core/libubox/libubox_git.bb
index e175547..75b3135 100644
--- a/recipes-core/libubox/libubox_git.bb
+++ b/recipes-core/libubox/libubox_git.bb
@@ -66,7 +66,7 @@ do_install_append() {
fi
install -m 0644 ${S}/*.h ${D}${includedir}/libubox
if [ "${@bb.utils.contains('PACKAGECONFIG', 'lua', 'ON', 'OFF', d)}" = "ON" ]; then
- install -m 0755 ${B}/lua/uloop.so ${D}/usr/lib/lua/5.1/uloop.so
+ install -m 0755 ${B}/lua/uloop.so ${D}${libdir}/lua/5.1/uloop.so
fi
}
--
2.7.4
More information about the Openembedded-devel
mailing list