networkmanager: recommend polkit-group-rule-network if polkit is enabled

If polkit is enabled as distro feature, it makes sense to recommend the
polkit-group-rule-network package for the networkmanager-daemon package to
allow members of the network group to modify NetworkManager settings.

Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Weisser, Pascal authored and Khem Raj committed 2026-10-15 22:26:59 -07:00
1 parent d6dd1ad1cc
commit d808d67292
1 file changed
+1
@@ -263,6 +263,7 @@ RDEPENDS:${PN}-daemon += "\
RRECOMMENDS:${PN}-daemon += "\
${NETWORKMANAGER_FIREWALL_DEFAULT} \
${@bb.utils.filter('PACKAGECONFIG', 'dnsmasq', d)} \
${@bb.utils.contains('PACKAGECONFIG', 'polkit', 'polkit-group-rule-network', '', d)} \
"
INITSCRIPT_NAME:${PN}-daemon = "network-manager"
SYSTEMD_SERVICE:${PN}-daemon = "\