Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720004 - savedconfig.eclass: install first filename as $PN instead of $P
Summary: savedconfig.eclass: install first filename as $PN instead of $P
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-29 11:15 UTC by charles17
Modified: 2020-06-27 15:10 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 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