Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80297 - sys-kernel/* should re-link /usr/src/linux after an update to a kernel package
Summary: sys-kernel/* should re-link /usr/src/linux after an update to a kernel package
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-01 00:44 UTC by postmodern
Modified: 2005-02-01 14:28 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 postmodern 2005-02-01 00:44:40 UTC
sys-kernel/* should re-link /usr/src/linux after an update to a kernel package. For instance a user does `emerge -u world` the logic of their actions to "update" all packages states they wish for new packages and to cast aside the old packages. Why does /usr/src/linux continue to point at the old kernel tree. The user usually ends up re `ln`ing the symlink. This can also induce bugs, since some ebuilds access files in /usr/src/linux. If the kernel symlink is not pointing to an updated kernel tree that a newer version of some ebuild (lets say hostap-driver) requires then the compilation will fail.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Rohan McGovern 2005-02-01 00:46:32 UTC
This is the 'symlink' USE flag.  Are you using it?  If you do USE="symlink", kernel ebuilds link /usr/src/linux; if you don't, they don't.
Comment 2 postmodern 2005-02-01 01:45:52 UTC
I am not using the symlink useflag, it seems a bit odd to have this useflag disabled by default. Why should this useflag not be enabled out of the box?
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-01 05:05:23 UTC
>Why should this useflag not be enabled out of the box?

Because some even dislike the existance of this flag.
Comment 4 postmodern 2005-02-01 14:28:59 UTC
I still can not figure out why this functionality should be optional?