diff mbox series

[oe,meta-networking,10/17] mosquitto: Make enabling systemd also enable build dep on systemd

Message ID 20180906172210.42551-10-raj.khem@gmail.com
State Accepted
Commit a483d344d9fb42709c09b523c1768f4142ab9da4
Headers show
Series [oe,meta-oe,01/17] pkcs11-helper: Upgrade to 1.25.1 | expand

Commit Message

Khem Raj Sept. 6, 2018, 5:22 p.m. UTC
systemd support in mqtt needs system developement headers and libs installed in recipe sysroot

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 .../recipes-connectivity/mosquitto/mosquitto_1.5.1.bb       | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.18.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Paul Eggleton Sept. 9, 2018, 11:50 p.m. UTC | #1
On Friday, 7 September 2018 5:22:03 AM NZST Khem Raj wrote:
> systemd support in mqtt needs system developement headers and libs installed

> in recipe sysroot


True - sorry about that. I could have reissued the update patch though - I see 
it's not in master-next, should I do that?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Khem Raj Sept. 10, 2018, 1 a.m. UTC | #2
No, it's fine.

On Sun, Sep 9, 2018 at 4:51 PM Paul Eggleton <paul.eggleton@linux.intel.com>
wrote:

> On Friday, 7 September 2018 5:22:03 AM NZST Khem Raj wrote:

> > systemd support in mqtt needs system developement headers and libs

> installed

> > in recipe sysroot

>

> True - sorry about that. I could have reissued the update patch though - I

> see

> it's not in master-next, should I do that?

>

> Cheers,

> Paul

>

> --

>

> Paul Eggleton

> Intel Open Source Technology Centre

>

>

>

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb b/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb
index fa51f4e76e..ae493e7b12 100644
--- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb
+++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb
@@ -20,11 +20,14 @@  SRC_URI[sha256sum] = "8557bc7ae34dfaf32a0fb56d2491b7a7f731269c88337227233013502d
 
 inherit systemd update-rc.d useradd
 
-PACKAGECONFIG ??= "ssl uuid"
+PACKAGECONFIG ??= "ssl uuid \
+                  ${@bb.utils.filter('DISTRO_FEATURES','systemd', d)} \
+                  "
 
 PACKAGECONFIG[dns-srv] = ",,c-ares"
 PACKAGECONFIG[ssl] = ",,openssl"
 PACKAGECONFIG[uuid] = ",,util-linux"
+PACKAGECONFIG[systemd] = "WITH_SYSTEMD=yes,WITH_SYSTEMD=no,systemd"
 
 EXTRA_OEMAKE = " \
     prefix=${prefix} \
@@ -33,7 +36,6 @@  EXTRA_OEMAKE = " \
     ${@bb.utils.contains('PACKAGECONFIG', 'dns-srv', 'WITH_SRV=yes', 'WITH_SRV=no', d)} \
     ${@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('DISTRO_FEATURES', 'systemd', 'WITH_SYSTEMD=yes', 'WITH_SYSTEMD=no', d)} \
     STRIP=/bin/true \
     WITH_DOCS=no \
 "