Variable substitution in snapcraft.yaml does not work in keys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Kyle Fazzari |
Bug Description
Currently the variables $SNAPCRAFT_
Consider the following for the usage I envisaged but failed to achieve:
parts:
alsa-lib:
plugin: autotools
source: ftp://ftp.
configflags:
- --prefix=/usr
- --sysconfdir=/etc
- --libexec=/usr/lib
- --libdir=/usr/lib
- --localstatedir
- --with-
- --with-
- --disable-static
organize:
snap/
With the above organize setting I expected the files under $SNAP/snap/
Changed in snapcraft: | |
milestone: | none → 2.43 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
Indeed, we need to replace these across the board (including in the `environment` keyword).