Files
runneros/mkosi.extra/usr/lib/sysupdate.d/10-usr.transfer
T
Job79andClaude Opus 5.5 c2ec9ddb29 Smaller image: fewer kernel modules and files, unused services removed, oomd for jobs
- Kernel modules: all but hardware drivers, plus the VM and podman network drivers.
- Removed: System.map, the udev hwdb, and the homed/userdbd/nsresourced units.
- Job image: no translations (Locale=C.UTF-8).
- systemd-oomd kills the job container that runs the VM out of memory.
- gitea-runner waits for first-boot setup instead of restarting every 10s.
- Tighter comments in the sysctl config; Verify=no explained in the transfers.

/usr: 367 -> 307 MB, update download 317 -> 260 MB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V27snrGfdvwU7pMNBiDpHv
2026-11-14 11:55:48 +01:00

19 lines
469 B
Plaintext

# Updates /usr: writes the next version to the unused /usr partition.
# Verify=no: releases are unsigned (no secrets in the repo); SHA256SUMS still checks each download.
[Transfer]
ProtectVersion=%A
Verify=no
[Source]
Type=url-file
Path=https://git.plabble.org/Job79/git-runner-mkosi/releases/download/latest/
MatchPattern=git-runner_@v.usr-%a.@u.raw.zst
[Target]
Type=partition
Path=auto
MatchPattern=git-runner_@v
MatchPartitionType=usr
PartitionFlags=0
ReadOnly=1