3
0
Franck Bui 2022-02-17 18:53:00 +00:00 committed by Git OBS Bridge
parent ccdcf965ab
commit 8609970ea8
2 changed files with 9 additions and 4 deletions

View File

@ -91,8 +91,7 @@ Suggests: systemd \
%service_add_pre() \
if [ -x /usr/bin/systemctl ]; then \
for service in %{?*} ; do \
if [ ! -e "/usr/lib/systemd/system/$service" ] && \
[ ! -e "/etc/init.d/${service%.*}" ]; then \
if [ ! -e "/usr/lib/systemd/system/$service" ]; then \
mkdir -p /run/systemd/rpm/needs-preset \
touch "/run/systemd/rpm/needs-preset/$service" \
fi \
@ -108,8 +107,6 @@ if [ -x /usr/bin/systemctl ]; then \
if [ -e "/run/systemd/rpm/needs-preset/$service" ]; then \
/usr/bin/systemctl preset "$service" || : \
rm "/run/systemd/rpm/needs-preset/$service" || : \
else \
/usr/lib/systemd/systemd-sysv-convert --apply %{?*} || : \
fi \
done \
fi \

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 17 18:46:25 UTC 2022 - Franck Bui <fbui@suse.com>
- Drop enablement symlink migration support of SysV init scripts
This was announced here:
https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/3ERUP5ZZJ6PPA36L3HVN46BH6U6JL74O/
-------------------------------------------------------------------
Wed Jan 19 08:28:16 UTC 2022 - Franck Bui <fbui@suse.com>