diff --git a/systemd.changes b/systemd.changes index 7818ebfa..9b62d34d 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 9 12:37:31 UTC 2023 - Franck Bui + +- Drop an old fix for the persistent net rules (only needed on SLE). Factory + (fortunately) dropped the persistent net rule generator long time ago. + ------------------------------------------------------------------- Thu May 4 15:20:49 UTC 2023 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 80b5f468..7d8f15a9 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1084,22 +1084,10 @@ fi %post -n udev%{?mini} %regenerate_initrd_post %udev_hwdb_update - %tmpfiles_create systemd-pstore.conf - -# Units listed below can be enabled at installation accoding to their preset -# setting. %systemd_post remote-cryptsetup.target %systemd_post systemd-pstore.service -# add KERNEL name match to existing persistent net rules -sed -ri '/KERNEL/ ! { s/NAME="(eth|wlan|ath)([0-9]+)"/KERNEL=="\1*", NAME="\1\2"/}' \ - /etc/udev/rules.d/70-persistent-net.rules 2>/dev/null || : - -# cleanup old stuff -rm -f /etc/sysconfig/udev -rm -f /etc/udev/rules.d/{20,55,65}-cdrom.rules - %preun -n udev%{?mini} %systemd_preun systemd-udevd.service systemd-udevd-{control,kernel}.socket %systemd_preun systemd-pstore.service