Add distro/ubuntuCore for UC26 snap and image builds.

Centralize salmanoff snapcraft, dangerous-model image scripts, and QEMU
workflow so UC26 can be reproduced from the SMO repo without ubuntu-core-practice.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-25 23:01:52 -04:00
parent 44d12eeb9e
commit 038d59f972
17 changed files with 1295 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Refresh the signed reference model from snapcore/models on GitHub.
set -euo pipefail
UC_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
MODEL="${UC_ROOT}/models/ubuntu-core-26-amd64.model"
URL="https://raw.githubusercontent.com/snapcore/models/master/ubuntu-core-26-amd64.model"
mkdir -p "$(dirname "$MODEL")"
curl -fsSL -o "$MODEL" "$URL"
echo "Updated: $MODEL"
head -15 "$MODEL"