diff options
author | Nicola Lunghi <nicola.lunghi@jci.com> | 2018-06-05 14:39:09 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-06-05 18:17:21 -0700 |
commit | 8576a857be939081bd89e60ed6782e9bae071f08 (patch) | |
tree | c80c3d5ae6af0be1d7dab24b91b8263bf0d7728b /meta-networking | |
parent | 97c33d0d9efbaaed4057ecc36806f4f7b43e4841 (diff) | |
download | meta-openembedded-8576a857be939081bd89e60ed6782e9bae071f08.tar.gz |
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@jci.com>
Acked-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-connectivity/mosquitto/mosquitto_1.4.15.bb | 4 |
1 files changed, 4 insertions, 0 deletions
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 939bad54e..ffa7d73a5 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() { | |||
58 | 58 | ||
59 | PACKAGES += "libmosquitto1 libmosquittopp1 ${PN}-clients" | 59 | PACKAGES += "libmosquitto1 libmosquittopp1 ${PN}-clients" |
60 | 60 | ||
61 | PACKAGE_BEFORE_PN = "${PN}-examples" | ||
62 | |||
61 | FILES_${PN} = "${sbindir}/mosquitto \ | 63 | FILES_${PN} = "${sbindir}/mosquitto \ |
62 | ${bindir}/mosquitto_passwd \ | 64 | ${bindir}/mosquitto_passwd \ |
63 | ${sysconfdir}/mosquitto \ | 65 | ${sysconfdir}/mosquitto \ |
@@ -73,6 +75,8 @@ FILES_${PN}-clients = "${bindir}/mosquitto_pub \ | |||
73 | ${bindir}/mosquitto_sub \ | 75 | ${bindir}/mosquitto_sub \ |
74 | " | 76 | " |
75 | 77 | ||
78 | FILES_${PN}-examples = "${sysconfdir}/mosquitto/*.example" | ||
79 | |||
76 | SYSTEMD_SERVICE_${PN} = "mosquitto.service" | 80 | SYSTEMD_SERVICE_${PN} = "mosquitto.service" |
77 | 81 | ||
78 | INITSCRIPT_NAME = "mosquitto" | 82 | INITSCRIPT_NAME = "mosquitto" |