Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33778 - thinkpad-4.3-r1 uses uname -r instead of ${KV}
Summary: thinkpad-4.3-r1 uses uname -r instead of ${KV}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 12:36 UTC by george
Modified: 2003-11-28 05:23 UTC (History)
0 users

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 george 2003-11-18 12:36:52 UTC
thinkpad-4.3-r1 doesn't build inside a chroot with a different kernel version to the running kernel.

The main Makefile and the 2.4/Makefile use different variables for the module version so the emake command in src_compile needs changing to:

emake DIR_MOD_VER=/lib/modules/${KV} DIR_MODULES_VER=/lib/modules/${KV}
|| die "Make failed"

2.4 works for me with this change.  I've looked at 2.2 and 2.5 and as far as I can see without testing, this should fine for them as well.
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2003-11-28 05:23:31 UTC
Added your fix. Didn't bump revision, as people who already has this installed won't notice the difference and shouldn't be forced to upgrade.