SNAPCRAFT_BUILD_ENVIRONMENT_* change doesn't apply to existing VMs

Bug #1822265 reported by 林博仁(Buo-ren, Lin)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Undecided
Unassigned

Bug Description

Currently, the values set in the `SNAPCRAFT_BUILD_ENVIRONMENT_*` environment variables will not become effective if the VM is already created[1], Snapcraft should apply them if possible or destroy and recreate the existing VM.

[1] https://forum.snapcraft.io/t/snapcraft-configuration-of-multipass-vm-arguments/9761/7

summary: - SNAPCRAFT_BUILD_ENVIRONMENT_* change doesn't apply to existing VM
+ SNAPCRAFT_BUILD_ENVIRONMENT_* change doesn't apply to existing VMs
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Thanks for the report, but SNAPCRAFT_BUILD_ENVIRONMENT_ should only be used for development and debugging.

Changed in snapcraft:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers