Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 719910

Summary: sys-kernel/gentoo-kernel-bin should update link /usr/src/linux
Product: Gentoo Linux Reporter: Hoess <hoess>
Component: Current packagesAssignee: Distribution Kernel Project <dist-kernel>
Status: RESOLVED INVALID    
Severity: normal CC: jstein, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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(+)