← Back to issue list

Rename overlay+partition specific env vars

View original Github issue

Metadata

Project
craft-parts
Number
#1051
Type
issue
State
open
Author
upils
Labels
Created
2025-03-21 16:13:59+00:00
Updated
2025-03-26 13:43:12+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done Change the format to `$CRAFT_[<namespace>_]<partition>_PART_OVERLAY` to make it obvious these are part-specific env vars. ### Why it needs to get done Environment variables for partitions are available to overlay scripts, formatted as `$CRAFT_[<namespace>_]<partition>_OVERLAY`. However these variables points to a part-specific directory so their name is inconsistent with other part-specific env variables (ex. `$CRAFT_PART_INSTALL`, `$CRAFT_PART_SRC`), which may be misleading to users using these variables in different parts.

Evaluation history

No evaluation history available.