From aee3bd23d63daa9c3f79ea84cd5b3e811576f553 Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Tue, 12 Aug 2025 15:57:30 -0300 Subject: [PATCH] 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. --- build/linux/snap/1_build-deps-snapcraft.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/linux/snap/1_build-deps-snapcraft.sh b/build/linux/snap/1_build-deps-snapcraft.sh index b91be1302d..86b4365adc 100644 --- a/build/linux/snap/1_build-deps-snapcraft.sh +++ b/build/linux/snap/1_build-deps-snapcraft.sh @@ -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"