Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909194 - Add profile support for package.env
Summary: Add profile support for package.env
Status: RESOLVED DUPLICATE of bug 638196
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Conceptual/Abstract Ideas (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-26 15:40 UTC by Raul Rangel
Modified: 2024-03-22 08:07 UTC (History)
1 user (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 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 ***