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

Bug 40099

Summary: ExtractKernelVersion relies on generated file include/linux/version.h
Product: Portage Development Reporter: Peter Johanson (RETIRED) <latexer>
Component: Core - ConfigurationAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 32737    
Attachments: patch to portage.py (from latest stable portage)

Description Peter Johanson (RETIRED) gentoo-dev 2004-02-01 10:49:37 UTC
Bug #32737 contains lots of information on a new system i've been working on to get external kernel modules working against 2.6 kernels. One of the side effects is that version.h will no longer be in /usr/src/linux. The patch i will attach changes the ExtractKernelVersion in portage.py to use the toplevel kernel Makefile instead. I'm a bit of a python neophyte, so comments on style, optimization, etc would be appreciated.

Reproducible: Always
Steps to Reproduce:
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-02-01 10:50:33 UTC
Created attachment 24761 [details, diff]
patch to portage.py (from latest stable portage)

Here's the patch to use the toplevel Makefile instead of version.h
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-02-08 17:55:10 UTC
supposed to be fixed in 2.0.50 which is stable now. If this bug is not fixed please reopen.