From: Andreas Oberritter Date: Mon, 23 Mar 2015 15:29:29 +0000 (+0100) Subject: connman: only depend on xuser-account if ROOTLESS_X is set X-Git-Tag: yocto-4.0~26427 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a09cfe460b6366edffacbd868af4d976bfe16520;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git connman: only depend on xuser-account if ROOTLESS_X is set * Copied from xserver-nodm-init. Signed-off-by: Andreas Oberritter Signed-off-by: Richard Purdie --- 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-.*"