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

Bug 751760

Summary: sys-kernel/linux-firmware-20201022 fails to create symlinks
Product: Gentoo Linux Reporter: Kirill A. Shutemov <kirill>
Component: Current packagesAssignee: Chí-Thanh Christopher Nguyễn <chithanh>
Status: RESOLVED FIXED    
Severity: normal CC: dmoulding, kernel, sam, voron1, zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kirill A. Shutemov 2020-10-29 16:42:30 UTC
Newer version of upstream removed symlinks from the source tree and relies to on WHENCE file for symlinks description.

For instance upstream commit 1487a8abdbac("linux-firmware: nvidia: move firmware symlinks to WHENCE") removes symlinks form nvidia firmware. It breaks boot with nvidia cards.

./copy-firmware.sh script has to be used to install firmware.

Reproducible: Always
Comment 1 Brian Evans (RETIRED) gentoo-dev 2020-10-29 17:00:47 UTC
*** Bug 751769 has been marked as a duplicate of this bug. ***
Comment 2 Larry the Git Cow gentoo-dev 2020-10-29 20:32:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf0896d92caad00a6d07958fc934233db3f7d9b

commit 9bf0896d92caad00a6d07958fc934233db3f7d9b
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-10-29 20:28:19 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-10-29 20:32:05 +0000

    sys-kernel/linux-firmware: use copy-firmware.sh to install firmwares
    
    copy-firmware.sh will honor WHENCE file and will take care of
    symlinked firmwares.
    
    Closes: https://bugs.gentoo.org/751760
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 ...22.ebuild => linux-firmware-20201022-r1.ebuild} | 160 ++++++++++-----------
 .../linux-firmware/linux-firmware-99999999.ebuild  | 160 ++++++++++-----------
 2 files changed, 148 insertions(+), 172 deletions(-)