]> code.ossystems Code Review - openembedded-core.git/commitdiff
connman: only depend on xuser-account if ROOTLESS_X is set
authorAndreas Oberritter <obi@opendreambox.org>
Mon, 23 Mar 2015 15:29:29 +0000 (16:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Mar 2015 17:52:39 +0000 (17:52 +0000)
* Copied from xserver-nodm-init.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/connman/connman.inc

index 1062641cecebcfcf57affe94c2545203189776c4..e281e39b80bb6a0cc05c1c4266caa23240d353f1 100644 (file)
@@ -119,7 +119,7 @@ RDEPENDS_${PN} = "\
        ${@bb.utils.contains('PACKAGECONFIG', 'bluetooth', '${BLUEZ}', '', d)} \
        ${@bb.utils.contains('PACKAGECONFIG', 'wifi','wpa-supplicant', '', d)} \
        ${@bb.utils.contains('PACKAGECONFIG', '3g','ofono', '', d)} \
-       xuser-account \
+       ${@base_conditional('ROOTLESS_X', '1', 'xuser-account', '', d)} \
        "
 
 PACKAGES_DYNAMIC += "^${PN}-plugin-.*"