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

akuster808 akuster808 at gmail.com
Sat Mar 23 16:39:04 UTC 2019



On 3/22/19 12:55 PM, Damien Riegel wrote:
> 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?
Yes, i did.
https://git.openembedded.org/meta-openembedded-contrib/log/?h=stable/thud-nmut

should be moving them to thud-next shortly

- armin
>
> Thank you,



More information about the Openembedded-devel mailing list