Re: [PATCH] dracut, dracut-functions: better vercmp; credits go to V. Lowther

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

 



On Friday 11 Jun 2010 20:10:34 Amadeusz Żołnowski wrote:
> diff --git a/dracut b/dracut
> index 139d0e0..3b1e7e8 100755
> --- a/dracut
> +++ b/dracut
> @@ -184,7 +184,7 @@ abs_outfile=$(readlink -f "$outfile") &&
> outfile="$abs_outfile"
> 
>  srcmods="/lib/modules/$kernel/"
>  [[ $drivers_dir ]] && {
> -    if verlt $(modprobe --version | cut -d' ' -f3) 3.7; then
> +    if vercmp $(modprobe --version | cut -d' ' -f3) lt 3.5; then
>          derror 'To use --kmoddir option module-init-tools >= 3.7 is
> required.' exit 1
>      fi

Which version? 3.7? Or 3.5
--
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