Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137808 - linux-info.eclass: kernel_is() doesn't handle stable kernel versions
Summary: linux-info.eclass: kernel_is() doesn't handle stable kernel versions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 137712
  Show dependency tree
 
Reported: 2006-06-24 03:32 UTC by Sascha Silbe
Modified: 2007-10-03 12:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2006-06-24 03:32:24 UTC
kernel_is() fails if the kernel version has 4 digit-separated numbers (e.g. 2.6.15.6) instead of 3 (e.g. 2.6.15):

make[1]: Leaving directory `/var/tmp/portage/gnupg-1.4.2.2/work/gnupg-1.4.2.2'
/usr/portage/eclass/linux-info.eclass: line 196: [: 00200615.6: integer expression expected
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-14 16:42:43 UTC
*** Bug 166858 has been marked as a duplicate of this bug. ***
Comment 2 Christian Heim (RETIRED) gentoo-dev 2007-10-03 12:58:26 UTC
It does now.