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

Bug 376267

Summary: linux-info.eclass: Future-proof for 3.x kernels
Product: Gentoo Linux Reporter: Stratos Psomadakis (RETIRED) <psomas>
Component: EclassesAssignee: Gentoo Kernel Miscellaneous <kernel-misc>
Status: RESOLVED OBSOLETE    
Severity: enhancement CC: kernel
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stratos Psomadakis (RETIRED) gentoo-dev 2011-07-24 20:49:37 UTC
Atm, linux-3.0 is actually linux-3.0.0, since removing the SUBLEVEL variable from the Makefile would break userspace utils, including procps/uptime (patch available), depmod etc.

However, it's likely that future 3.x kernels will remove the extra unneeded variable from the Makefile (when patched userspace utils hit the distros I guess), and this will break the linux-info.eclass, and it'll need to be patched.

When I have some free time, I'll try to provide a patch for testing.

Thanks.
Comment 1 Rafał Mużyło 2011-07-24 21:39:15 UTC
IIUC, the third digit will be claimed by stable queue releases, so the var may just change the meaning.
Comment 2 SpanKY gentoo-dev 2013-02-10 02:06:22 UTC
not sure if anything needs to be done here anymore