diff options
author | Harald Hoyer <harald@redhat.com> | 2013-07-19 09:34:45 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-07-19 09:34:45 +0200 |
commit | bbaa0d591775404f599bee86023703594ba96e03 (patch) | |
tree | 74bb8493d2f0a040a4ca688a926653993870de1b /dracut.spec | |
parent | 3c4bfd685adfe67c58d07015887b6d04189f0fd0 (diff) | |
download | dracut-bbaa0d591775404f599bee86023703594ba96e03.tar.gz dracut-bbaa0d591775404f599bee86023703594ba96e03.tar.bz2 dracut-bbaa0d591775404f599bee86023703594ba96e03.zip |
Use systemd-cat for logging on systemd systems, if logfile is empty
Diffstat (limited to 'dracut.spec')
-rw-r--r-- | dracut.spec | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/dracut.spec b/dracut.spec index 6583f6ae..a27563a5 100644 --- a/dracut.spec +++ b/dracut.spec @@ -269,9 +269,6 @@ echo 'hostonly="no"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/02-generic-i echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/02-rescue.conf %endif -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d -install -m 0644 dracut.logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/dracut_log - # create compat symlink mkdir -p $RPM_BUILD_ROOT/sbin ln -s /usr/bin/dracut $RPM_BUILD_ROOT/sbin/dracut @@ -367,7 +364,6 @@ rm -rf -- $RPM_BUILD_ROOT %{dracutlibdir}/modules.d/99fs-lib %{dracutlibdir}/modules.d/99img-lib %{dracutlibdir}/modules.d/99shutdown -%config(noreplace) %{_sysconfdir}/logrotate.d/dracut_log %attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log %dir %{_sharedstatedir}/initramfs %if %{defined _unitdir} |