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

Bug 909194

Summary: Add profile support for package.env
Product: Portage Development Reporter: Raul Rangel <rrangel>
Component: Conceptual/Abstract IdeasAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Raul Rangel 2023-06-26 15:40:41 UTC
Profiles currently support `package.bashrc`. This requires that `profile-formats = profile-bashrcs` be set in the layout.conf.

It would be nice to also have support for `package.env` in profiles. `package.env` gets evaluated a lot earlier, and it also is less powerful than `bashrc`.


Motivation: I want to bake the crossdev config into a profile. Having `package.env` support would make this a bit easier.

See https://chromium-review.googlesource.com/c/chromiumos/overlays/toolchains/+/4591509/2

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-26 15:41:55 UTC
I don't think I have any objection to this as a Portage extension (like profile-bashrcs), but I'd appreciate someone implementing it.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-22 08:07:07 UTC

*** This bug has been marked as a duplicate of bug 638196 ***