Bug 17545 - xfree drm portage script looks for /usr/src/linux not on uname -r to get kernel version
Bug#: 17545 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: seemant@gentoo.org Reported By: snkmoorthy@netscape.net
Component: Applications
URL: 
Summary: xfree drm portage script looks for /usr/src/linux not on uname -r to get kernel version
Keywords:  
Status Whiteboard: 
Opened: 2003-03-15 02:47 0000
Description:   Opened: 2003-03-15 02:47 0000
spend hours installing and updating xfree-drm to get DRI working, apparentely
the portage script looks for /usr/src/linux to determine the kernel, I don't see
any point in this, as I could be running a different kernel, and the script
updates modules in whatever kernel /usr/src/linux is pointing to.



Reproducible: Always
Steps to Reproduce:
1. emerge xfree-drm 
2. /usr/src/linux pointing to different kernel version than your current one
3. 

Actual Results:  
install went perfect updated the modules in what kernel /usr/src/linux was
pointing to and not my current kernel

Expected Results:  
should have updated modules in my current kernel in /lib/modules/mykernel

------- Comment #1 From Seemant Kulleen (RETIRED) 2003-03-17 23:20:52 0000 -------
fixed

------- Comment #2 From Luca Barbato 2003-04-22 21:58:59 0000 -------
Changed the ebuild in order to correctly use the KV variable