diff --git a/README.postrun-hooks b/README.postrun-hooks new file mode 100644 index 0000000..a87372b --- /dev/null +++ b/README.postrun-hooks @@ -0,0 +1,7 @@ +Rework support for /etc/dehydrated/postrun-hooks.d/: +dehydrated.service nolonger starts them directly, the support was +moved to a separate unit file. Please run: + +systemctl enable dehydrated-postrun-hooks.service + +to restore this functionality diff --git a/dehydrated.changes b/dehydrated.changes index 45bbfd8..6eea3c7 100644 --- a/dehydrated.changes +++ b/dehydrated.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jul 8 11:24:13 UTC 2022 - Marcus Rueckert + +- Copy the changes entry into README.postrun-hooks to make it + easier for users to find the information how to restore the + postrun-hooks after the split. + ------------------------------------------------------------------- Tue Mar 30 14:20:42 UTC 2021 - Marcus Rueckert diff --git a/dehydrated.spec b/dehydrated.spec index e9fd6c3..281ebcd 100644 --- a/dehydrated.spec +++ b/dehydrated.spec @@ -1,7 +1,7 @@ # # spec file for package dehydrated # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -76,6 +76,7 @@ Source16: dehydrated@.timer Source17: dehydrated.target Source18: dehydrated-postrun-hooks.service Source19: dehydrated-postrun-hooks@.service +Source20: README.postrun-hooks Patch: more-examples.patch BuildRequires: %{_apache} Requires: coreutils @@ -174,6 +175,7 @@ if [ -e %{_sysconfdir}/dehydrated/config.sh ]; then mv %{_sysconfdir}/dehydrated %patch -p1 cp %{SOURCE9} . cp %{SOURCE10} . +cp %{SOURCE20} . %build @@ -275,6 +277,7 @@ diff -urN docs/examples/config %{buildroot}%{_home}/config ||: %if %{defined redhat} %doc README.Fedora %endif +%doc README.postrun-hooks %if %{with systemd} %{_tmpfilesdir}/%{name}.conf %{_unitdir}/dehydrated*.service