Merge ~xnox/curtin:snap-stage-aware into ~curtin-dev/curtin:master
Proposed by
Dimitri John Ledkov
| Status: | Needs review |
|---|---|
| Proposed branch: | ~xnox/curtin:snap-stage-aware |
| Merge into: | ~curtin-dev/curtin:master |
| Diff against target: |
19 lines (+8/-0) 1 file modified
bin/curtin (+8/-0) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Server Team CI bot (community) | continuous-integration | Approve | |
| curtin developers | Pending | ||
|
Review via email:
|
|||
Commit message
bin/curtin: make it snap stage aware
if curtin is staged into any snap, and is in default path inside the snap make it possible to call curtin via `$ snap run --shell $mysnap curtin --help` and make it find staged python, staged python's modules, and be able to use them.
This has potential of simplifying snapcraft.yaml packaging changes in subiquity & ubuntu-
But this also seems to be fragile, if for example multiple versions of python are ever staged in a single snap.
To post a comment you must log in.
PASSED: Continuous integration, rev:0731f034743 c3ed7d4db57747b 63ab43b9faab4c /jenkins. canonical. com/server- team/job/ curtin- ci/206/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-amd64/ 206/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-arm64/ 206/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-ppc64el/ 206/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-s390x/ 206/
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. canonical. com/server- team/job/ curtin- ci/206/ /rebuild
https:/