aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2015-03-23 16:29:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-24 17:52:39 +0000
commita09cfe460b6366edffacbd868af4d976bfe16520 (patch)
treef1a0bfc56859e5c3fa2aa2994a6c4043ec5f2b23 /meta/recipes-connectivity/connman
parent8c6cb85745ca580f7b0e7ff98006c76a85534de0 (diff)
downloadopenembedded-core-contrib-a09cfe460b6366edffacbd868af4d976bfe16520.tar.gz
connman: only depend on xuser-account if ROOTLESS_X is set
* Copied from xserver-nodm-init. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman')
-rw-r--r--meta/recipes-connectivity/connman/connman.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 1062641cece..e281e39b80b 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -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-.*"