On Fri, 2013-09-27 at 12:59 +0200, Cristian Ionescu-Idbohrn wrote: > On Fri, 27 Sep 2013, Ian Campbell wrote: > > On Thu, 2013-09-26 at 21:27 +0200, Cristian Ionescu-Idbohrn wrote: > > > On Sun, 22 Sep 2013, Debian Bug Tracking System wrote: > > > > Thank you for filing a new Bug report with Debian. > > > > > > This is another attempt to do a sustainable $(uname -r) test possible. > > > Se attached. > > > > This all seems like a lot of fuss to go through simply to allow this > > stuff to run on a completely ancient (2.5 or earlier kernel). > > > > But if you must why not just use linux-version from the > > linux-base-package? > > $ linux-version --help > > Usage: /usr/bin/linux-version compare VERSION1 OP VERSION2 > > /usr/bin/linux-version sort [--reverse] [VERSION1 VERSION2 > > ...] > > /usr/bin/linux-version list [--paths] > > > > The version arguments should be kernel version strings as shown by > > 'uname -r' and used in filenames. > > > > The valid comparison operators are: lt le eq ge gt > > Yes. That would be simplier, but it will create a dependency to > package linux-base (Priority: optional).
The kernel depends on linux-base, so in practice it is pretty much always there, and it is tiny in any case. If it bothers you why not just drop support for 2.4 kernels? Ian. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org