diff --git a/plymouth.changes b/plymouth.changes index 2b2e850..63bab67 100644 --- a/plymouth.changes +++ b/plymouth.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun May 12 21:56:30 UTC 2013 - crrodriguez@opensuse.org + +- Not only reboot.service is prefixed with systemd- currently + but also kexec,halt,poweroff. + ------------------------------------------------------------------- Mon Apr 22 19:47:44 UTC 2013 - crrodriguez@opensuse.org diff --git a/plymouth.spec b/plymouth.spec index 334380d..e51de49 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -365,7 +365,8 @@ cp %{buildroot}/%{_datadir}/plymouth/plymouthd.defaults %{buildroot}/%{_sysconfd mkdir -p %{buildroot}/lib/mkinitrd/scripts install -t %{buildroot}/lib/mkinitrd/scripts \ scripts/{setup,boot}-plymouth*.sh -find %{buildroot} -type f -name "*.service" -print -exec sed -i -e 's@prefdm.service@display-manager.service@g' -e 's@reboot.service@systemd-reboot.service@g' {} + +find %{buildroot} -type f -name "*.service" -print -exec sed -i -e 's@prefdm.service@display-manager.service@g' \ +-e 's@\<\(reboot\|halt\|poweroff\|kexec\).service\>@systemd-\1.service@g' {} + %post if [ ! -e /.buildenv ]; then