Support referencing the stage dir from snapcraft.yaml
Bug #1538688 reported by
Sergio Schvezov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Wishlist
|
Sergio Schvezov |
Bug Description
Given the use of the after keyword for parts, it is also sometime desired to reference something inside the stage dir; given the execution location and the relocatable fact on building with snapcraft it makes sense to introduce a SNAPCRAFT_STAGE variable that can be used.
Here's an example:
snapcraft.yaml:
```yaml
parts:
part1:
plugin: autotools
source: .
configflags:
- --with-swig: $SNAPCRAFT_
```
Changed in snapcraft: | |
milestone: | none → 2.1 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/ubuntu- core/snapcraft/ pull/270