[oe-commits] [meta-openembedded] 04/15: mosquitto: fix build in systemd environments

git at git.openembedded.org git at git.openembedded.org
Thu Dec 6 18:50:06 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 e39709e381f4a1229584a3c47e219536a35b78e2
Author: André Draszik <andre.draszik at jci.com>
AuthorDate: Wed Dec 5 11:02:32 2018 +0000

    mosquitto: fix build in systemd environments
    
    The mosquitto systemd service file instructs systemd to wait
    for mosquitto to notify systemd that mosquitto has started
    correctly. This isn't working as mosquitto is not *compiled*
    with systemd support enabled. As such, systemd restarts
    mosquitto every few seconds.
    
    For reference, this was introduced in commit a483d344d9fb
    ("mosquitto: Make enabling systemd also enable build dep on systemd")
    
    Because we build mosquitto using the provided Makefile
    infrastructure, the solution is to add PACKAGECONFIG_CONFARGS
    to EXTRA_OEMAKE, so that the required make flags are added
    to the make command line.
    
    Signed-off-by: André Draszik <andre.draszik at jci.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.4.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.4.bb b/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.4.bb
index ee4cab7..e32f30d 100644
--- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.4.bb
+++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.4.bb
@@ -37,6 +37,7 @@ EXTRA_OEMAKE = " \
     ${@bb.utils.contains('PACKAGECONFIG', 'ssl', 'WITH_TLS=yes WITH_TLS_PSK=yes', 'WITH_TLS=no WITH_TLS_PSK=no', d)} \
     ${@bb.utils.contains('PACKAGECONFIG', 'uuid', 'WITH_UUID=yes', 'WITH_UUID=no', d)} \
     ${@bb.utils.contains('PACKAGECONFIG', 'websockets', 'WITH_WEBSOCKETS=yes', 'WITH_WEBSOCKETS=no', d)} \
+    ${PACKAGECONFIG_CONFARGS} \
     STRIP=/bin/true \
     WITH_DOCS=no \
     WITH_BUNDLED_DEPS=no \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list