[oe] [meta-networking][thud][PATCH 1/2] mosquitto: fix build in systemd environments

Damien Riegel damien.riegel at gmail.com
Fri Mar 22 19:55:51 UTC 2019


On Thu, 7 Mar 2019 at 16:11, Damien Riegel <damien.riegel at gmail.com> wrote:
>
> From: André Draszik <andre.draszik at jci.com>
>
> 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>
> Signed-off-by: Damien Riegel <damien.riegel at gmail.com>
> [Damien Riegel: backport from master]

Armin, did you get a chance to take a look at these backport patches?

Thank you,
-- 
Damien


More information about the Openembedded-devel mailing list