Re: [PATCH] listing modules fixed

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

 



2011/3/9 Amadeusz ÅoÅnowski <aidecoe@xxxxxxxxxxxx>:
> 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 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