2011/3/9 Amadeusz Żołnowski <aide...@aidecoe.name>:
> 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;

The code in dracut-functions still supports both old and new style; I
guess it should check for both as well unless old is going to be
completely removed.

We still have some add-ons that were not ported to new API.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to