Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120408 - sys-kernel/usermode-sources-2.6.15
Summary: sys-kernel/usermode-sources-2.6.15
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
Depends on:
Reported: 2006-01-26 04:45 UTC by Toralf Förster
Modified: 2006-01-26 09:50 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2006-01-26 04:45:23 UTC
The output from `uname -r` differs from the directory name created under /usr/src during emerge:

tfoerste@n22 ~ $ ll /usr/src/
total 8
lrwxrwxrwx   1 root root   22 Jan 22 10:32 linux -> linux-2.6.15-gentoo-r1
drwxr-xr-x  20 root root 4096 Jan 22 15:14 linux-2.6.15-gentoo-r1
drwxr-xr-x  20 root root 4096 Jan 26 12:59 linux-2.6.15-usermode
lrwxrwxrwx   1 root root   21 Jan 22 10:43 uml -> linux-2.6.15-usermode

tfoerste@n22 ~ $ uname -r

For the gentoo kernel itself and for the vanilla kernel the directory name matches `uname -r`, which is useful if somebody appends its own localversin to the kernel info.
What about adding ypur initial "-bs1" to the kernel info & the directory or removing it ?
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2006-01-26 09:50:09 UTC
It has always been this way for usermode-sources and I feel that changing it would cause more harm than good. Also, it might not be around much longer.

You can always access the tree via /lib/modules/$(uname -r)/build