summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--dracut.spec2
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b02a5fb5..3b14ae8b 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,8 @@ install:
install -m 0755 dracut $(DESTDIR)$(sbindir)/dracut
install -m 0755 dracut-gencmdline $(DESTDIR)$(sbindir)/dracut-gencmdline
install -m 0755 dracut-catimages $(DESTDIR)$(sbindir)/dracut-catimages
+ install -m 0755 mkinitrd-dracut.sh $(DESTDIR)$(sbindir)/mkinitrd
+ install -m 0755 lsinitrd $(DESTDIR)$(sbindir)/lsinitrd
ifeq (1,${WITH_SWITCH_ROOT})
install -m 0755 modules.d/99base/switch_root $(DESTDIR)$(sbindir)/switch_root
endif
diff --git a/dracut.spec b/dracut.spec
index 99446720..51b0da53 100644
--- a/dracut.spec
+++ b/dracut.spec
@@ -159,6 +159,8 @@ rm -rf $RPM_BUILD_ROOT
%if 0%{?with_switch_root}
/sbin/switch_root
%endif
+/sbin/mkinitrd
+/sbin/lsinitrd
%dir %{_datadir}/dracut
%{_datadir}/dracut/dracut-functions
%config(noreplace) /etc/dracut.conf