show build backend used on --debug
Bug #1835158 reported by
anatoly techtonik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
snapcraft is slow and I can't check why. It probably ignores my LXD and uses some heavy-weight VM mechanism. It would be useful to get some info which VM backend is used when debug flag is specified.
$ snapcraft --debug
Using 'snap/snapcraft
Launching a VM.
Retrieving image: 6%^C
Aborted!
To post a comment you must log in.
From https:/ /snapcraft. io/docs/ build-on- lxd
As of version 3.4+ it's possible to request building with LXD using either
snapcraft --use-lxd
or
$ export SNAPCRAFT_ BUILD_ENVIRONME NT=lxd
The latter appears to work in snapcraft, version 2.43.1+18.4