[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
kernel version checking
- From: Lew Newby <gideon neei com>
- To: rpm-list redhat com
- Subject: kernel version checking
- Date: Tue, 16 Jul 2002 14:02:28 -0700
I am trying to write a script that will compare the running kernel version
against a range and if the value is within the range then the test passes
else it fails. For example. Running kernel-2.4.18-3 and the range is
2.4.9-34 to 2.4.18-5. My problem is if I check the rpms, the kernel rpms
have no SERIAL value or EPOCH value set in them. Trying to check against
straight values is driving me nuts.
Does anyone have any ideas or code fragments in bash to help out?
Lew Newby
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]