summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2010-01-13 17:13:20 +0100
committerHarald Hoyer <harald@redhat.com>2010-01-13 17:13:20 +0100
commit63d8d27b03e46074192b61363e1db93fb64e2397 (patch)
tree57e85065dd9f1bcc9c29bc3f0344757cf5a88cdd
parentdc40ea7fa1701d46da45e264593d5ac3c8928d9b (diff)
downloaddracut-63d8d27b03e46074192b61363e1db93fb64e2397.tar.gz
dracut-63d8d27b03e46074192b61363e1db93fb64e2397.tar.bz2
dracut-63d8d27b03e46074192b61363e1db93fb64e2397.zip
install lsinitrd/mkinitrd
-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