diff options
author | Nicola Lunghi <nicola.lunghi@jci.com> | 2018-06-05 14:39:08 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-06-05 18:17:21 -0700 |
commit | 101af9d6524b82038474c87baa1616b880357125 (patch) | |
tree | c8c53c26332a73b15d4567c5af5d6bc935a13bff /meta-networking | |
parent | 8576a857be939081bd89e60ed6782e9bae071f08 (diff) | |
download | meta-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.bb | 6 |
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 | ||
74 | CONFFILES_${PN} += "${sysconfdir}/mosquitto/mosquitto.conf" | ||
75 | |||
70 | FILES_libmosquitto1 = "${libdir}/libmosquitto.so.1" | 76 | FILES_libmosquitto1 = "${libdir}/libmosquitto.so.1" |
71 | 77 | ||
72 | FILES_libmosquittopp1 = "${libdir}/libmosquittopp.so.1" | 78 | FILES_libmosquittopp1 = "${libdir}/libmosquittopp.so.1" |