Skip to content

Commit 4202228

Browse files
quaresmajosekraj
authored andcommitted
networkmanager: re-implement the vala detection
The introduction of DISTRO_FEATURES_OPTED_OUT allows rewriting the DISTRO_FEATURES by removing whatever is in DISTRO_FEATURES_OPTED_OUT from DISTRO_FEATURES. Thus, the logic of vala can be negated, and it can changed be to see if gobject-introspection-data is available in DISTRO_FEATURES. Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
1 parent 05191ba commit 4202228

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

meta-networking/recipes-connectivity/networkmanager/networkmanager_1.56.0.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli \
7676
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \
7777
${@bb.utils.filter('DISTRO_FEATURES', 'wifi polkit ppp', d)} \
7878
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \
79-
${@bb.utils.contains('DISTRO_FEATURES_OPTED_OUT', 'gobject-introspection-data', '', 'vala', d)} \
79+
${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'vala', '', d)} \
8080
"
8181

8282
inherit ${@bb.utils.contains('PACKAGECONFIG', 'vala', 'vala', '', d)}

0 commit comments

Comments
 (0)