aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-06-04 15:19:10 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-11-17 12:57:38 +0100
commit421188086164cb9aed45f3795a3d79928ab14408 (patch)
tree00e0b3bfdd3ba939748083061309ec4abcf8c6b3
parent2e72223588a9b852e82ade23d7cd3376a5186762 (diff)
osmo-hlr: Fix /usr/share/osmocom/* not shipped in any package
Since osmo-hlr.git 60673e7f771c3362f9d0d26d4c03cfe85ed5a5b3, a new file /usr/share/osmocom/osmo-hlr-post-upgrade.sh is installed by "make install". However, that path is not included in any of the default path list in FILES_${PN} (see meta/conf/bitbake.conf). Hence, we must add it manually in order to fix following error: """ ERROR: osmo-hlr-1.3.0+gitrAUTOINC+60673e7f77-r2.18.0 do_package: QA Issue: osmo-hlr: Files/directories were installed but not shipped in any package: /usr/share/osmocom /usr/share/osmocom/osmo-hlr-post-upgrade.sh Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. osmo-hlr: 2 installed and not shipped files. [installed-vs-shipped] """ Related: OS#5138 Change-Id: Icdf060f519aaed043eed0dc79779258b0e39006a
-rw-r--r--recipes-osmocom/osmo-hlr/osmo-hlr.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-osmocom/osmo-hlr/osmo-hlr.inc b/recipes-osmocom/osmo-hlr/osmo-hlr.inc
index 7fa415b..c270746 100644
--- a/recipes-osmocom/osmo-hlr/osmo-hlr.inc
+++ b/recipes-osmocom/osmo-hlr/osmo-hlr.inc
@@ -38,6 +38,8 @@ FILES_osmo-hlr-utils = " \
${bindir}/osmo-euse-demo \
"
+FILES_${PN} =+ "${datadir}/osmocom/*"
+
SYSTEMD_SERVICE_${PN} = "${PN}.service"
CONFFILES_osmo-hlr = "\
${sysconfdir}/osmocom/osmo-hlr.cfg \