Re: [PATCH 1/3] dracut: info which module is sourced; updated dracut usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/05/2010 09:06 AM, Amadeusz Żołnowski wrote:
Added description for --confdir.
---
  dracut |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dracut b/dracut
index 3be4989..6b590f5 100755
--- 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

pushed
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux