[PATCH] listing modules fixed

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

 



Modules were not listed because code relied on deprecated 'install' and
'installkernel' scripts.
---
 dracut |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dracut b/dracut
index 6e6de1e..ef8d398 100755
--- a/dracut
+++ b/dracut
@@ -227,7 +227,7 @@ export dracutfunctions
 [[ $do_list = yes ]] && {
     for mod in $dracutbasedir/modules.d/*; do
         [[ -d $mod ]] || continue;
-        [[ -e $mod/install || -e $mod/installkernel ]] || continue;
+        [[ -e $mod/module-setup.sh ]] || continue;
         echo ${mod##*/??}
     done
     exit 0
-- 
1.7.4.1

--
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