Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40099 - ExtractKernelVersion relies on generated file include/linux/version.h
Summary: ExtractKernelVersion relies on generated file include/linux/version.h
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 32737
  Show dependency tree
 
Reported: 2004-02-01 10:49 UTC by Peter Johanson (RETIRED)
Modified: 2004-02-08 17:55 UTC (History)
0 users

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


Attachments
patch to portage.py (from latest stable portage) (portage.py-KV-method-v2.diff,1.49 KB, patch)
2004-02-01 10:50 UTC, Peter Johanson (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.