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

Bug 720004

Summary: savedconfig.eclass: install first filename as $PN instead of $P
Product: Gentoo Linux Reporter: charles17
Component: EclassesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED OBSOLETE    
Severity: normal CC: esigra, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description charles17 2020-04-29 11:15:55 UTC
When the savedconfig USE flag is enabled
And /etc/portage/savedconfig/sys-kernel/ does not exist or linux-firmware was not installed before

Then the /etc/portage/savedconfig/sys-kernel/linux-firmware  file should be installed without trailing ${PV}.

Presently it gets installed like "linux-firmware-20200421" regardless if savedconfig is enabled or not.  If users who want savedconfig forget to rename (remove ${PV}) then next upgrade removes their configured config.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2020-05-01 00:13:52 UTC
Not a package bug.

That's how the eclass works. You are basically asking to change behavior of that eclass.
Comment 2 charles17 2020-06-27 15:10:02 UTC
For the relevant use case I noted down in the wiki article to remove "-{PV}".
https://wiki.gentoo.org/wiki/Iwlwifi#Optional:_savedconfig

RESOLVED OBSOLETE