Snapcraft doesn't update the `snapcraft-project` disk source when the path is moved
Bug #1825820 reported by
林博仁(Buo-ren Lin)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
Bug reproduce instructions
-------
1. Run `snapcraft --use-lxd` in one project
1. Move the project directory to another path
1. Re-run `snapcraft --use-lxd`
Current behavior
-----------------
Snapcraft errors with:
```
An error occurred with the instance when trying to start with 'LXD': Common start logic: Missing source '/home/
Ensure that 'LXD' is setup correctly and try again.
```
Expected behavior
------------------
Snapcraft should check the project directory path, and if it's changed, update the `snapcraft-project` disk source path
To post a comment you must log in.