summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2024-10-08 23:58:55 +0200
committerKhem Raj <raj.khem@gmail.com>2024-11-19 13:13:27 -0800
commitcb829fd08886944e669074e89e1d2be29fff72e7 (patch)
treea4ab0ff1f5328f3c0dd522e67cfea977d2c4bd19
parent03443b8fb12e69bae622da9100db000bb4607bee (diff)
downloadmeta-openembedded-cb829fd08886944e669074e89e1d2be29fff72e7.tar.gz
wtmpdb: fix installed-vs-shipped build error
wtmpdb installs a PAM plugin in "${base_libdir}/security/pam_wtmpdb.so". This path is not in default FILES. Add this path to FILES:${PN} to fix this error: ERROR: wtmpdb-0.11.0-r0 do_package: QA Issue: wtmpdb: Files/directories were installed but not shipped in any package: /lib/security/pam_wtmpdb.so Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. wtmpdb: 1 installed and not shipped files. [installed-vs-shipped] ERROR: wtmpdb-0.11.0-r0 do_package: Fatal QA errors were found, failing task. ERROR: Logfile of failure stored in: .../poky/build-master/tmp/work/core2-64-poky-linux/wtmpdb/0.11.0/temp/log.do_package.939726 ERROR: Task (.../poky/meta-openembedded/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb:do_package) failed with exit code '1' Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit a090cd3e0ef554d7171eb84488661599d72fa3e9) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb
index 7fb31f208b..d4a8b49e1d 100644
--- a/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb
+++ b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb
@@ -33,3 +33,4 @@ do_install:append () {
33FILES:${PN} += " ${systemd_system_unitdir} " 33FILES:${PN} += " ${systemd_system_unitdir} "
34FILES:${PN} += " ${libdir} " 34FILES:${PN} += " ${libdir} "
35FILES:${PN} += " ${nonarch_libdir}/tmpfiles.d/* " 35FILES:${PN} += " ${nonarch_libdir}/tmpfiles.d/* "
36FILES:${PN} += " ${base_libdir}/security/*.so "