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

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

 



Adam Spragg <adam@xxxxxxx>:
> 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

3.7. Thanks for being alert!


Cheers,
Amadeusz Żołnowski

-- 
PGP key: 1024D/C284750D

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux