diff --git a/plymouth.changes b/plymouth.changes index c8f1dcc..f74ef83 100644 --- a/plymouth.changes +++ b/plymouth.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jun 16 23:37:55 UTC 2013 - crrodriguez@opensuse.org + +- own %{_localstatedir}/log/boot.log + and %{_localstatedir}/spool/plymouth/boot.log (as %ghost s) + ------------------------------------------------------------------- Tue Jun 11 16:09:57 UTC 2013 - fcrozat@suse.com diff --git a/plymouth.spec b/plymouth.spec index b7e4e74..1e211eb 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -373,6 +373,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} \; mkdir -p %{buildroot}%{_localstatedir}/lib/plymouth mkdir -p %{buildroot}/run/plymouth +mkdir -p %{buildroot}%{_localstatedir}/log +touch %{buildroot}%{_localstatedir}/log/boot.log +touch %{buildroot}%{_localstatedir}/spool/plymouth/boot.log cp $RPM_SOURCE_DIR/boot-duration %{buildroot}%{_datadir}/plymouth/default-boot-duration cp $RPM_SOURCE_DIR/boot-duration %{buildroot}%{_localstatedir}/lib/plymouth cp %{buildroot}/%{_datadir}/plymouth/plymouthd.defaults %{buildroot}/%{_sysconfdir}/plymouth/plymouth.conf @@ -513,7 +516,8 @@ fi %{_mandir}/man?/* %ghost %{_localstatedir}/lib/plymouth/boot-duration %{_unitdir}/* - +%ghost %{_localstatedir}/log/boot.log +%ghost %{_localstatedir}/spool/plymouth/boot.log %files dracut %defattr(-, root, root) %{_libexecdir}/plymouth/plymouth-populate-initrd