SHA256
1
0
forked from pool/systemd

Accepting request 100745 from home:tittiatcoke:branches:Base:System

Update for systemd to include a persistent journal.

OBS-URL: https://build.opensuse.org/request/show/100745
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=233
This commit is contained in:
Frederic Crozat 2012-01-19 14:25:36 +00:00 committed by Git OBS Bridge
parent a29d3c0ae3
commit e1037fbcc2
3 changed files with 10 additions and 2 deletions

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: systemd-gtk Name: systemd-gtk
Url: http://www.freedesktop.org/wiki/Software/systemd Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 38 Version: 38

View File

@ -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 Wed Jan 18 09:03:51 UTC 2012 - tittiatcoke@gmail.com

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define build_plymouth 0 %define build_plymouth 0
#don't require python, use recommends (bnc#716939) #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/ mkdir -p %{buildroot}%{_sysconfdir}/rsyslog.d/
install -m 0644 %{SOURCE11} %{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} %if %{build_plymouth}
(cd %{buildroot} && find . -name '*plymouth*') > files.plymouth (cd %{buildroot} && find . -name '*plymouth*') > files.plymouth
%endif %endif
@ -380,6 +382,7 @@ rm -rf %{buildroot}
%dir /var/lib/systemd %dir /var/lib/systemd
%dir /var/lib/systemd/sysv-convert %dir /var/lib/systemd/sysv-convert
%dir /var/lib/systemd/migrated %dir /var/lib/systemd/migrated
%dir /var/log/journal
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)