[oe-commits] [meta-openembedded] 08/09: mosquitto: add mosquitto-examples package
git at git.openembedded.org
git at git.openembedded.org
Wed Jun 6 03:47:57 UTC 2018
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 8576a857be939081bd89e60ed6782e9bae071f08
Author: Nicola Lunghi <nicola.lunghi at jci.com>
AuthorDate: Tue Jun 5 14:39:09 2018 +0100
mosquitto: add mosquitto-examples package
the mosquitto install populate some .example files in
/etc/mosquitto. move thise example files in a separate package
The PACKAGE_BEFORE_PN is needed because otherwise those examples
end in the base mosquitto package
Signed-off-by: Nicola Lunghi <nicola.lunghi at jci.com>
Acked-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-networking/recipes-connectivity/mosquitto/mosquitto_1.4.15.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.4.15.bb b/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.4.15.bb
index 939bad5..ffa7d73 100644
--- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.4.15.bb
+++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.4.15.bb
@@ -58,6 +58,8 @@ do_install() {
PACKAGES += "libmosquitto1 libmosquittopp1 ${PN}-clients"
+PACKAGE_BEFORE_PN = "${PN}-examples"
+
FILES_${PN} = "${sbindir}/mosquitto \
${bindir}/mosquitto_passwd \
${sysconfdir}/mosquitto \
@@ -73,6 +75,8 @@ FILES_${PN}-clients = "${bindir}/mosquitto_pub \
${bindir}/mosquitto_sub \
"
+FILES_${PN}-examples = "${sysconfdir}/mosquitto/*.example"
+
SYSTEMD_SERVICE_${PN} = "mosquitto.service"
INITSCRIPT_NAME = "mosquitto"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list