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
fixed
Changed the ebuild in order to correctly use the KV variable