Snapcraft doesn't update the `snapcraft-project` disk source when the path is moved

Bug #1825820 reported by 林博仁(Buo-ren Lin)
6
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/brlin/工作空間/個人專案/Unofficial Snap Packaging for waifu2x' for disk 'snapcraft-project'.
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.