<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>33778</bug_id>
          
          <creation_ts>2003-11-18 12:36 0000</creation_ts>
          <short_desc>thinkpad-4.3-r1 uses uname -r instead of ${KV}</short_desc>
          <delta_ts>2003-11-28 05:23:31 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gk@t-t-l.co.uk</reporter>
          <assigned_to>karltk@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>gk@t-t-l.co.uk</who>
            <bug_when>2003-11-18 12:36:52 0000</bug_when>
            <thetext>thinkpad-4.3-r1 doesn&apos;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 &quot;Make failed&quot;

2.4 works for me with this change.  I&apos;ve looked at 2.2 and 2.5 and as far as I can see without testing, this should fine for them as well.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>karltk@gentoo.org</who>
            <bug_when>2003-11-28 05:23:31 0000</bug_when>
            <thetext>Added your fix. Didn&apos;t bump revision, as people who already has this installed won&apos;t notice the difference and shouldn&apos;t be forced to upgrade.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>