build/linux: Restore comment of '--destructive-mode'/host mode on Snap script

It was on the env section before the remote-build drop. Let's restore it and
move to the build section which is more appropriate.
This commit is contained in:
Bruno Lopes 2025-08-12 15:57:30 -03:00
parent c3d01854b3
commit aee3bd23d6
No known key found for this signature in database

View file

@ -54,6 +54,7 @@ cp build/linux/snap/snapcraft.yaml .
# Build babl and GEGL
printf "\e[0Ksection_start:`date +%s`:deps_install[collapsed=true]\r\e[0KInstalling dependencies not present in GNOME runtime snap\n"
## (we build on Ubuntu host env with '--destructive-mode' which works both locally and on CI container (unlike lxd) and VMs (unlike multipass))
sudo snapcraft pull --destructive-mode --build-for=$(dpkg --print-architecture) --verbosity=verbose
printf "\e[0Ksection_end:`date +%s`:deps_install\r\e[0K\n"