diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-07 09:43:42 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-07 09:56:30 +0100 |
commit | a5b48ce79834b5d377e0a82a0536e49428568f1f (patch) | |
tree | fb16b575847b8f14b5bc4ceb2d34ec458a613489 /dracut.spec | |
parent | 59afbd8e7329956d0ef025620718f4396638a3ef (diff) | |
download | dracut-a5b48ce79834b5d377e0a82a0536e49428568f1f.tar.gz dracut-a5b48ce79834b5d377e0a82a0536e49428568f1f.tar.bz2 dracut-a5b48ce79834b5d377e0a82a0536e49428568f1f.zip |
add systemd-bootchart module
Diffstat (limited to 'dracut.spec')
-rw-r--r-- | dracut.spec | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dracut.spec b/dracut.spec index a2c1a4ab..d9733c4a 100644 --- a/dracut.spec +++ b/dracut.spec @@ -196,6 +196,11 @@ rm -fr $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/01fips rm -fr $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/02fips-aesni %endif +%if %{defined _unitdir} +# for systemd, better use systemd-bootchart +rm -fr $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00bootchart +%endif + # we do not support dash in the initramfs rm -fr $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00dash @@ -273,7 +278,11 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man7/dracut.kernel.7* %{_mandir}/man7/dracut.cmdline.7* %{_mandir}/man5/dracut.conf.5* +%if %{defined _unitdir} +%{dracutlibdir}/modules.d/00systemd-bootchart +%else %{dracutlibdir}/modules.d/00bootchart +%endif %{dracutlibdir}/modules.d/04watchdog %{dracutlibdir}/modules.d/05busybox %{dracutlibdir}/modules.d/10i18n |