diff --git a/systemd-gtk.spec b/systemd-gtk.spec index ad9de14c..b3ac698d 100644 --- a/systemd-gtk.spec +++ b/systemd-gtk.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: systemd-gtk Url: http://www.freedesktop.org/wiki/Software/systemd Version: 38 diff --git a/systemd.changes b/systemd.changes index 1e4827ea..df2f3f7d 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 19 13:47:39 UTC 2012 - tittiatcoke@gmail.com + +- Make the systemd journal persistent by creating the + /var/log/journal directory + ------------------------------------------------------------------- Wed Jan 18 09:03:51 UTC 2012 - tittiatcoke@gmail.com diff --git a/systemd.spec b/systemd.spec index fc0f7c57..1e6ca6f6 100644 --- a/systemd.spec +++ b/systemd.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - %define build_plymouth 0 #don't require python, use recommends (bnc#716939) @@ -230,6 +229,9 @@ ln -s systemd-random-seed-load.service %{buildroot}/lib/systemd/system/random.se mkdir -p %{buildroot}%{_sysconfdir}/rsyslog.d/ install -m 0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/rsyslog.d/ +# Create the /var/log/journal directory to change the volatile journal to a persistent one +mkdir -p %{buildroot}/var/log/journal + %if %{build_plymouth} (cd %{buildroot} && find . -name '*plymouth*') > files.plymouth %endif @@ -380,6 +382,7 @@ rm -rf %{buildroot} %dir /var/lib/systemd %dir /var/lib/systemd/sysv-convert %dir /var/lib/systemd/migrated +%dir /var/log/journal %files devel %defattr(-,root,root,-)