]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut: info which module is sourced; updated dracut usage
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Mon, 5 Jul 2010 07:06:47 +0000 (09:06 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 6 Jul 2010 08:19:01 +0000 (10:19 +0200)
Added description for --confdir.

dracut

diff --git a/dracut b/dracut
index 3be498997a2748a8ccc42ba6a32f9b71f1782239..6b590f54c7a7dbdacf8611b19f7cc35113f338b3 100755 (executable)
--- a/dracut
+++ b/dracut
@@ -57,6 +57,8 @@ Creates initial ramdisk images for preloading modules
   -v, --verbose         Verbose output during the build process
   -c, --conf [FILE]     Specify configuration file to use.
                          Default: /etc/dracut.conf
+  --confdir [DIR]       Specify configuration directory to use *.conf files from.
+                         Default: /etc/dracut.conf.d
   -l, --local           Local mode. Use modules from the current working
                          directory instead of the system-wide installed in
                          /usr/share/dracut/modules.d.
@@ -243,6 +245,7 @@ check_modules
 for moddir in "$dracutbasedir/modules.d"/[0-9][0-9]*; do
     mod=${moddir##*/}; mod=${mod#[0-9][0-9]}
     if strstr "$mods_to_load" " $mod "; then
+       dinfo "*** Sourcing module $mod"
        if [[ $kernel_only = yes ]]; then
            [[ -x $moddir/installkernel ]] && . "$moddir/installkernel"
        else