delete udev-compat

This commit is contained in:
yangmingtaip 2022-02-15 21:02:26 +08:00
parent 095a679a9e
commit aaaa0de636

View File

@ -20,7 +20,7 @@
Name: systemd Name: systemd
Url: https://www.freedesktop.org/wiki/Software/systemd Url: https://www.freedesktop.org/wiki/Software/systemd
Version: 249 Version: 249
Release: 6 Release: 7
License: MIT and LGPLv2+ and GPLv2+ License: MIT and LGPLv2+ and GPLv2+
Summary: System and Service Manager Summary: System and Service Manager
@ -211,20 +211,6 @@ Obsoletes: %{name}-journal-gateway < 227-7
Programs to forward journal entries over the network, using encrypted HTTP, Programs to forward journal entries over the network, using encrypted HTTP,
and to write journal files from serialized journal contents. and to write journal files from serialized journal contents.
%package udev-compat
Summary: Udev rules compatibility with NetworkManager
Requires: %{name} = %{version}-%{release}
License: LGPLv2+
Requires(pre): /usr/bin/getent
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%description udev-compat
systemd-udev-compat is a set of udev rules which conflict with NetworkManager.
If users choose to use the network-scripts to manager the network, the package can be used
to do somethings when down or up nics or disk.
%package oomd %package oomd
Summary: Systemd oomd feature Summary: Systemd oomd feature
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -505,13 +491,6 @@ install -m 0644 %{SOURCE13} %{buildroot}%{_sysconfdir}/rc.d/rc.local
ln -s rc.d/rc.local %{buildroot}%{_sysconfdir}/rc.local ln -s rc.d/rc.local %{buildroot}%{_sysconfdir}/rc.local
install -m 0644 %{SOURCE100} %{buildroot}/%{_udevrulesdir}/40-openEuler.rules install -m 0644 %{SOURCE100} %{buildroot}/%{_udevrulesdir}/40-openEuler.rules
install -m 0644 %{SOURCE101} %{buildroot}/%{_udevrulesdir}/55-persistent-net-generator.rules
install -m 0644 %{SOURCE102} %{buildroot}/%{_udevrulesdir}/56-net-sriov-names.rules
install -m 0644 %{SOURCE103} %{buildroot}/%{_udevrulesdir}/61-openeuler-persistent-storage.rules
install -m 0755 %{SOURCE104} %{buildroot}/usr/lib/udev
install -m 0755 %{SOURCE105} %{buildroot}/usr/lib/udev
install -m 0755 %{SOURCE106} %{buildroot}/usr/lib/udev
install -m 0755 %{SOURCE107} %{buildroot}/usr/lib/udev
# remove rpath info # remove rpath info
for file in $(find %{buildroot}/ -executable -type f -exec file {} ';' | grep "\<ELF\>" | awk -F ':' '{print $1}') for file in $(find %{buildroot}/ -executable -type f -exec file {} ';' | grep "\<ELF\>" | awk -F ':' '{print $1}')
@ -1606,15 +1585,6 @@ fi
%config(noreplace) /etc/systemd/journal-remote.conf %config(noreplace) /etc/systemd/journal-remote.conf
%config(noreplace) /etc/systemd/journal-upload.conf %config(noreplace) /etc/systemd/journal-upload.conf
%files udev-compat
%{_udevrulesdir}/55-persistent-net-generator.rules
%{_udevrulesdir}/56-net-sriov-names.rules
%{_udevrulesdir}/61-openeuler-persistent-storage.rules
/usr/lib/udev/rule_generator.functions
/usr/lib/udev/write_net_rules
/usr/lib/udev/net-set-sriov-names
/usr/lib/udev/detect_virt
%files oomd %files oomd
/etc/systemd/oomd.conf /etc/systemd/oomd.conf
/usr/bin/oomctl /usr/bin/oomctl
@ -1711,6 +1681,9 @@ fi
%{_unitdir}/systemd-userdbd.socket %{_unitdir}/systemd-userdbd.socket
%changelog %changelog
* Tue Feb 15 2021 yangmingtai <yangmingtai@huawei.com> - 249-7
- disable rename function of net interface
* Tue Feb 15 2021 yangmingtai <yangmingtai@huawei.com> - 249-6 * Tue Feb 15 2021 yangmingtai <yangmingtai@huawei.com> - 249-6
- nop_job of a unit must also be coldpluged after deserization - nop_job of a unit must also be coldpluged after deserization
@ -1753,7 +1726,7 @@ fi
* Mon Aug 16 2021 yangmingtai <yangmingtai@huawei.com> - 248-8 * Mon Aug 16 2021 yangmingtai <yangmingtai@huawei.com> - 248-8
- udev: exec daemon-reload after installation - udev: exec daemon-reload after installation
* Fri Jul 22 2021 yangmingtai <yangmingtai@huawei.com> - 248-7 * Thu Jul 22 2021 yangmingtai <yangmingtai@huawei.com> - 248-7
- fix CVE-2021-33910 - fix CVE-2021-33910
* Thu Jun 03 2021 shenyangyang <shenyangyang4@huawei.com> - 248-6 * Thu Jun 03 2021 shenyangyang <shenyangyang4@huawei.com> - 248-6