From 4579f5a832d2a9c522ea4d5a67c9cd1bd0601651 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 5 Mar 2009 10:36:08 +0100 Subject: [PATCH] add sample dracut.conf --- Makefile | 2 ++ dracut.conf | 2 ++ dracut.spec | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 dracut.conf diff --git a/Makefile b/Makefile index 255b2b0..f321633 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,10 @@ all: modules.d/99base/switch_root install: mkdir -p $(DESTDIR)/usr/libexec/dracut mkdir -p $(DESTDIR)/sbin + mkdir -p $(DESTDIR)/etc mkdir -p $(DESTDIR)/usr/libexec/dracut/modules.d install -m 0755 dracut $(DESTDIR)/sbin/dracut + install -m 0644 dracut.conf $(DESTDIR)/etc/dracut.conf install -m 0755 dracut-functions $(DESTDIR)/usr/libexec/dracut/functions for module in modules.d/*/*; do install -D -m 0755 $$module $(DESTDIR)/usr/libexec/dracut/modules.d ; done diff --git a/dracut.conf b/dracut.conf new file mode 100644 index 0000000..4638304 --- /dev/null +++ b/dracut.conf @@ -0,0 +1,2 @@ +# specify the dracut modules to use +dracutmodules="redhat-i18n crypt kernel-modules lvm terminfo udev-rules base" diff --git a/dracut.spec b/dracut.spec index 9a50ae4..d24a640 100644 --- a/dracut.spec +++ b/dracut.spec @@ -62,7 +62,7 @@ rm -rf $RPM_BUILD_ROOT /usr/libexec/dracut/functions %dir /usr/libexec/dracut/modules.d /usr/libexec/dracut/modules.d - +%config(noreplace) /etc/dracut.conf %changelog -- 2.7.4