Modules were not listed because code relied only on deprecated 'install'
and 'installkernel' scripts. Check for 'module-setup.sh' script was
added.
---
dracut | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dracut b/dracut
index 6e6de1e..8d305a6 100755
--- a/dracut
+++ b/dracut
@@ -227,7 +227,8 @@ export dracutfunctions
[[ $do_list = yes ]] && {
for mod in $dracutbasedir/modules.d/*; do
[[ -d $mod ]] || continue;
- [[ -e $mod/install || -e $mod/installkernel ]] || continue;
+ [[ -e $mod/install || -e $mod/installkernel || \
+ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html