mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-27 12:50:33 +01:00
rpm: move ifcfg scripts directory to the NetworkManager package
NetworkManager does not support by default legacy ifcfg configuration files anymore, this support is now provided in a separate package (https://fedoramagazine.org/converting-networkmanager-from-ifcfg-to-keyfiles/). ifcfg directory (/etc/sysconfig/network-scripts/) should always be present, regardless of NetworkManager support for network scripts. This change makes the directory always present, not only when the recently splitted ifcfg subpackage is installed, and also make it persistent after the package removal. Fixes:50a6627fd7('rpm: split ifcfg-rh settings plugin into a separate package') (cherry picked from commit0415d904cb)
This commit is contained in:
parent
05e8c5511b
commit
77b48a906e
1 changed files with 0 additions and 3 deletions
|
|
@ -1075,9 +1075,7 @@ fi
|
|||
%{_mandir}/man8/NetworkManager-dispatcher.8.gz
|
||||
%{_mandir}/man8/NetworkManager-wait-online.service.8.gz
|
||||
%dir %{_localstatedir}/lib/NetworkManager
|
||||
%if 0%{?split_ifcfg_rh} == 0
|
||||
%dir %{_sysconfdir}/sysconfig/network-scripts
|
||||
%endif
|
||||
%{_datadir}/dbus-1/system-services/org.freedesktop.nm_dispatcher.service
|
||||
%{_datadir}/dbus-1/system-services/org.freedesktop.nm_priv_helper.service
|
||||
%{_datadir}/polkit-1/actions/*.policy
|
||||
|
|
@ -1207,7 +1205,6 @@ fi
|
|||
|
||||
%if 0%{?split_ifcfg_rh}
|
||||
%files initscripts-ifcfg-rh
|
||||
%dir %{_sysconfdir}/sysconfig/network-scripts
|
||||
%{nmplugindir}/libnm-settings-plugin-ifcfg-rh.so
|
||||
%{dbus_sys_dir}/nm-ifcfg-rh.conf
|
||||
%endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue