Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 137808

Summary: linux-info.eclass: kernel_is() doesn't handle stable kernel versions
Product: Gentoo Linux Reporter: Sascha Silbe <sascha-gentoo-bugzilla>
Component: EclassesAssignee: Gentoo Kernel Miscellaneous <kernel-misc>
Status: RESOLVED FIXED    
Severity: normal CC: amedeo.salvati, jakub
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 137712    

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.