summaryrefslogtreecommitdiff
path: root/dracut.spec
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-07-19 09:34:45 +0200
committerHarald Hoyer <harald@redhat.com>2013-07-19 09:34:45 +0200
commitbbaa0d591775404f599bee86023703594ba96e03 (patch)
tree74bb8493d2f0a040a4ca688a926653993870de1b /dracut.spec
parent3c4bfd685adfe67c58d07015887b6d04189f0fd0 (diff)
downloaddracut-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.spec4
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}