Subject: Re: [SM-Commit] GIT changes to master grimoire by Arjan Bouter (bc0b7a866250e866a7d776cd4152024d3cae4964)
Date: Tue, 9 Sep 2008 15:13:28 +0200
Am Mon, 8 Sep 2008 22:52:14 +0200
schrieb Jaka Kranjc <smgl AT lynxlynx.info>:
> For numerical comparison use (( )), but it can only take numbers, so I
> suggest
> you compare just the minor version: (( $(get_kernel_version|cut -c 4-5) <
> 25 ))
Heck, when linux version scheme stays like it is, there could be a
get_sane_kernel_version that simply returns x for 2.6.x.y (the patchlevel
being ignored).
I'm wondering if I should even make a kernel patch that strips the 2.6 out of
the version in uname;-)