Commit Graph
12 Commits
Author SHA1 Message Date
Job79andClaude Opus 5.5 a98a110dc0 perf: keep systemd-boot-random-seed
It seeds the kernel's RNG at the next boot. Keeping it is worth the
wait for the ESP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 19:56:10 +01:00
Job79andClaude Opus 5.5 71277dd4cd perf: ext4 for /var, drop systemd-boot-random-seed
xfs is a module in Fedora's kernel and takes ~0.5s to load, which held
up mounting /var. ext4 is built in. systemd-boot-random-seed waited ~1s
for the ESP to mount. Also remove /afs and /buildroot from the image and
give the test VM 4 CPUs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 19:55:19 +01:00
Job79andClaude Opus 5.5 144ce30757 test: give the test VM 8 CPUs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 19:46:07 +01:00
Job79andClaude Opus 5.5 51272b708c build: keep downloaded packages in mkosi.pkgcache
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 19:36:23 +01:00
Job79andClaude Opus 5.5 e9b93b11a6 Merge branch 'mkosi-vm' into main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 19:15:57 +01:00
Job79andClaude Opus 5.5 86f64a6304 perf: xfs for /var, lz4hc for the root erofs
xfs replaces ext4 on /var (no fsck pass, so fstab passno 0), and the
root erofs uses lz4hc, which decompresses faster than zstd.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 19:15:34 +01:00
Job79andClaude Opus 5.5 eb8e4b440a feat: boot a test VM with mkosi -f vm
The [Runtime] section of mkosi.conf sets up mkosi vm for testing: it
passes the setup credentials (mkosi.credentials/agent.ssh-key prints your
own ssh keys), forwards ssh to port 2222 and adds the serial console,
since systemd-stub ignores the console= mkosi passes under Secure Boot.

Untested: in a container without systemd, mkosi vm hangs before qemu
starts, because it can't create a systemd scope.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 21:02:43 +01:00
Job79andClaude Opus 5.5 ce1faca070 feat: unattended setup from credentials, rewrite README
agent-setup takes its answers from the credentials agent.password,
agent.hostname and agent.ssh-key when they are given, so a test VM boots
without typing. The README is shorter, explains the mkosi layout and
shows how to boot a test VM with these credentials. Also uploads the
manifest in the os workflow and ignores the test VM files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 21:02:29 +01:00
Job79andClaude Opus 5.5 a1fc65ed21 style: apply STYLE.md to all files
Give every file a header (title, empty line, explanation), wrap comments
at 80 columns and keep them to the why. Only comments change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 20:14:06 +01:00
Job79andClaude Opus 5.5 b7bbbf215b chore: install Claude Code from its package repository, add style guide
Replace mkosi.prepare with Anthropic's rpm repository (mkosi.sandbox/),
switch the workflow to the gitea context, and start STYLE.md with a
consistent file header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 20:08:36 +01:00
Job79andClaude Opus 5.5 bbd0364792 chore: simplify image configuration
Drop the custom firewall, PS1, oomd and nftables overrides, trim sysctl
settings, and add the Secure Boot certificate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 19:40:51 +01:00
Job79 9245b26500 chore: init 2026-11-15 15:52:10 +01:00