summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorNicola Lunghi <nicola.lunghi@jci.com>2018-06-05 14:39:08 +0100
committerKhem Raj <raj.khem@gmail.com>2018-06-05 18:17:21 -0700
commit101af9d6524b82038474c87baa1616b880357125 (patch)
treec8c53c26332a73b15d4567c5af5d6bc935a13bff /meta-networking
parent8576a857be939081bd89e60ed6782e9bae071f08 (diff)
downloadmeta-openembedded-101af9d6524b82038474c87baa1616b880357125.tar.gz
mosquitto: add default configuration file
the mosquitto recipe doesn't add a mosquitto configuration file add it from the mosquitto.conf.example file Signed-off-by: Nicola Lunghi <nicola.lunghi@jci.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.bb6
1 files changed, 6 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 ffa7d73a5..8dd2124c4 100644
--- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.4.15.bb
+++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.4.15.bb
@@ -47,6 +47,10 @@ do_install() {
47 install -d ${D}${systemd_unitdir}/system/ 47 install -d ${D}${systemd_unitdir}/system/
48 install -m 0644 ${WORKDIR}/mosquitto.service ${D}${systemd_unitdir}/system/ 48 install -m 0644 ${WORKDIR}/mosquitto.service ${D}${systemd_unitdir}/system/
49 49
50 install -d ${D}${sysconfdir}/mosquitto
51 install -m 0644 ${D}${sysconfdir}/mosquitto/mosquitto.conf.example \
52 ${D}${sysconfdir}/mosquitto/mosquitto.conf
53
50 install -d ${D}${sysconfdir}/init.d/ 54 install -d ${D}${sysconfdir}/init.d/
51 install -m 0755 ${WORKDIR}/mosquitto.init ${D}${sysconfdir}/init.d/mosquitto 55 install -m 0755 ${WORKDIR}/mosquitto.init ${D}${sysconfdir}/init.d/mosquitto
52 sed -i -e 's,@SBINDIR@,${sbindir},g' \ 56 sed -i -e 's,@SBINDIR@,${sbindir},g' \
@@ -67,6 +71,8 @@ FILES_${PN} = "${sbindir}/mosquitto \
67 ${systemd_unitdir}/system/mosquitto.service \ 71 ${systemd_unitdir}/system/mosquitto.service \
68" 72"
69 73
74CONFFILES_${PN} += "${sysconfdir}/mosquitto/mosquitto.conf"
75
70FILES_libmosquitto1 = "${libdir}/libmosquitto.so.1" 76FILES_libmosquitto1 = "${libdir}/libmosquitto.so.1"
71 77
72FILES_libmosquittopp1 = "${libdir}/libmosquittopp.so.1" 78FILES_libmosquittopp1 = "${libdir}/libmosquittopp.so.1"