Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719910 - sys-kernel/gentoo-kernel-bin should update link /usr/src/linux
Summary: sys-kernel/gentoo-kernel-bin should update link /usr/src/linux
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Distribution Kernel Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-28 09:11 UTC by Hoess
Modified: 2020-04-29 06:50 UTC (History)
2 users (show)

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 Hoess 2020-04-28 09:11:56 UTC
On emerging the link /usr/src/linux should be updated so it points to the new /usr/src/linux-xxxx directory. Otherwise things like emerge @module-rebuild won't use the new kernel.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-04-29 06:35:59 UTC
It is updated if it's been pointing to gentoo-kernel already.  You need to update it yourself on the first install, as I don't want to break people's custom setups.
Comment 2 Hoess 2020-04-29 06:39:02 UTC
Nice. Thank you for the clarification.
Comment 3 Larry the Git Cow gentoo-dev 2020-04-29 06:50:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ffccd123f180f1aa01725fdc387564966d490e9

commit 1ffccd123f180f1aa01725fdc387564966d490e9
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-04-29 06:48:52 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-04-29 06:50:19 +0000

    kernel-install.eclass: Print elog about symlink update
    
    Bug: https://bugs.gentoo.org/719910
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 eclass/kernel-install.eclass | 7 +++++++
 1 file changed, 7 insertions(+)