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
@@ -0,0 +1,16 @@
# Copy to config/dev-image.env and adjust after setup-dev-signing.sh.
#
# ACCOUNT_ID comes from: snapcraft whoami (or snap whoami when logged in)
# SIGN_KEY_NAME comes from: snap keys (after snapcraft create-key + register-key)
ACCOUNT_ID=
SIGN_KEY_NAME=salmanoff-dev
# System user created on first boot (no Ubuntu One / console-conf SSO).
SYSTEM_USER_NAME=smo
SYSTEM_USER_EMAIL=smo-dev@salmanoff
# Public key used in the system-user assertion (private key stays local).
SSH_PUBKEY_FILE=config/ssh/smo-dev.pub
# Dangerous-grade dev model (UC26 amd64). salmanoff is optional until --snap is passed.
MODEL_NAME=salmanoff-dev-amd64
+6
View File
@@ -0,0 +1,6 @@
# Defaults for scripts/run-qemu.sh (source manually if you want overrides)
RAM_MB=2048
SMP=2
SSH_PORT=8022
OVMF_CODE=/usr/share/OVMF/OVMF_CODE_4M.secboot.fd
OVMF_VARS_TEMPLATE=/usr/share/OVMF/OVMF_VARS_4M.ms.fd
@@ -0,0 +1,3 @@
# Optional: remote git source if snapcraft.yaml is switched from local tree to git.
SMO_GIT_URL=git@zbz-gitea-as-hayodea:hayodea/salmanoff.git
SMO_GIT_BRANCH=clast