Ensure snapd tracks stable and not edge anymore.

We did remove it from multiple places, but this one was left and as a
consequence, the latest iso was still having snapd edge.
This commit is contained in:
Didier Roche-Tolomelli 2026-03-27 15:30:31 +01:00
parent a5ed2589f6
commit 916b693130

View File

@ -573,7 +573,7 @@ _snap_post_process() {
# If the 'core' snap is not present, assume we are coreXX-only and # If the 'core' snap is not present, assume we are coreXX-only and
# install the snapd snap. # install the snapd snap.
channel=stable channel=stable
if [ "$PROJECT" = "ubuntu" -o "$SUBPROJECT" = "dangerous" ]; then if [ "$SUBPROJECT" = "dangerous" ]; then
channel=edge channel=edge
fi fi
if [ ! -f ${snaps_dir}/core_[0-9]*.snap ]; then if [ ! -f ${snaps_dir}/core_[0-9]*.snap ]; then