From 755f0b0d157a2c13c6d87cb58d29a9d033fccb70 Mon Sep 17 00:00:00 2001 From: Didier Roche Date: Tue, 13 Jan 2026 11:55:23 +0100 Subject: [PATCH] Allow force reexecution of snapd snap version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When developping and using snapd from edge on cross-team efforts like TPM/FDE, allow snapd to reexec to the snap version unconditionnaly, on live system. . This is commented so that the future revert to stable include it and we don’t forget to readd that next time this kind of effort is needed. --- .../systemd/system/snapd.service.d/snapd-snap-reexec.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 live-build/ubuntu/includes.chroot.minimal.standard.live/etc/systemd/system/snapd.service.d/snapd-snap-reexec.conf diff --git a/live-build/ubuntu/includes.chroot.minimal.standard.live/etc/systemd/system/snapd.service.d/snapd-snap-reexec.conf b/live-build/ubuntu/includes.chroot.minimal.standard.live/etc/systemd/system/snapd.service.d/snapd-snap-reexec.conf new file mode 100644 index 00000000..b4945539 --- /dev/null +++ b/live-build/ubuntu/includes.chroot.minimal.standard.live/etc/systemd/system/snapd.service.d/snapd-snap-reexec.conf @@ -0,0 +1,6 @@ +# force reexecuting the snapd snap version on the live system +# while developping features that only lands on edge, even if the +# deb version is higher. +# This allows automated tests to always run what’s next. +#[Service] +#Environment="SNAP_REEXEC=force"