A packagegroup-agl-core-connectivity require to connman-plugin-session-policy-local in all case.
On the other hand, connman-plugin-session-policy-local is enabled in case of AGL_FEATURES with aglcore.
When the meta-agl use without aglcore, building for packagegroup-agl-core-connectivity will fail.
This patch remove to connman-plugin-session-policy-local in all case.
Because connman-plugin-session-policy-local is not using.
Bug-AGL: SPEC-3924
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Icb9d3bca640a93348857e17a195ac6d1a20d30bb
Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26356
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
FILES_${PN} += "${sysconfdir}/connman/main.conf"
-PACKAGECONFIG[session-policy-local] = "--enable-session-policy-local,--disable-session-policy-local,"
-PACKAGECONFIG_append = " session-policy-local"
-
do_install_append() {
install -d ${D}${sysconfdir}/connman
install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/connman
RDEPENDS_${PN} += "\
${@bb.utils.contains('VIRTUAL-RUNTIME_net_manager','connman','connman connman-client connman-tests \
- connman-tools connman-ncurses connman-plugin-session-policy-local','',d)} \
+ connman-tools connman-ncurses' ,'',d)} \
${@bb.utils.contains('AGL_FEATURES', 'agl-devel', '${PKGGROUP_ZEROCONF}', '', d)} \
"