mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-01 05:14:04 +00:00
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>
This commit is contained in:
parent
97c33d0d9e
commit
8576a857be
@ -58,6 +58,8 @@ do_install() {
|
|||||||
|
|
||||||
PACKAGES += "libmosquitto1 libmosquittopp1 ${PN}-clients"
|
PACKAGES += "libmosquitto1 libmosquittopp1 ${PN}-clients"
|
||||||
|
|
||||||
|
PACKAGE_BEFORE_PN = "${PN}-examples"
|
||||||
|
|
||||||
FILES_${PN} = "${sbindir}/mosquitto \
|
FILES_${PN} = "${sbindir}/mosquitto \
|
||||||
${bindir}/mosquitto_passwd \
|
${bindir}/mosquitto_passwd \
|
||||||
${sysconfdir}/mosquitto \
|
${sysconfdir}/mosquitto \
|
||||||
@ -73,6 +75,8 @@ FILES_${PN}-clients = "${bindir}/mosquitto_pub \
|
|||||||
${bindir}/mosquitto_sub \
|
${bindir}/mosquitto_sub \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
FILES_${PN}-examples = "${sysconfdir}/mosquitto/*.example"
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = "mosquitto.service"
|
SYSTEMD_SERVICE_${PN} = "mosquitto.service"
|
||||||
|
|
||||||
INITSCRIPT_NAME = "mosquitto"
|
INITSCRIPT_NAME = "mosquitto"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user