Install Fedora ifcfg NM compat package

Starting with Fedora 36 the NetworkManager package no longer includes
ifcfg support by default. You need an additional package
"NetworkManager-initscripts-ifcfg-rh" to pull in the compatibility
plugin. Glean's support for Fedora relies on this compatibility system
so we install this package via the simple-init element package deps.

Change-Id: I76ac39b8dedcb1c5bc4595aedc0a732c99c8721e
This commit is contained in:
Clark Boylan 2022-09-20 08:58:37 -07:00
parent 9ce3358fde
commit 793e16b76c
2 changed files with 14 additions and 1 deletions

View File

@ -5,3 +5,5 @@ network-scripts:
when: DIB_SIMPLE_INIT_NETWORKMANAGER = 0 when: DIB_SIMPLE_INIT_NETWORKMANAGER = 0
NetworkManager: NetworkManager:
when: DIB_SIMPLE_INIT_NETWORKMANAGER != 0 when: DIB_SIMPLE_INIT_NETWORKMANAGER != 0
NetworkManager-initscripts-ifcfg-rh:
when: DIB_SIMPLE_INIT_NETWORKMANAGER != 0

View File

@ -24,9 +24,20 @@
"network-scripts": "network-scripts" "network-scripts": "network-scripts"
} }
}, },
"release": {
"fedora": {
"36": {
"NetworkManager-initscripts-ifcfg-rh": "NetworkManager-initscripts-ifcfg-rh"
},
"37": {
"NetworkManager-initscripts-ifcfg-rh": "NetworkManager-initscripts-ifcfg-rh"
}
}
},
"default": { "default": {
"dhcp-client": "isc-dhcp-client", "dhcp-client": "isc-dhcp-client",
"ifupdown": "", "ifupdown": "",
"network-scripts": "" "network-scripts": "",
"NetworkManager-initscripts-ifcfg-rh": ""
} }
} }