os / os (push) Canceled after 0s
- Follow AGENTS.md style: headers start with the file's name, short notes are full sentences, comments within 80 columns. - Build with mkosi's tools tree, pinned to the image's release (ToolsTreeRelease=%r): rawhide's repositories made the image rawhide. - Incremental builds with mkosi.cache/ for faster local rebuilds. - Hostname= instead of systemd.hostname= on the kernel command line. - mkosi.finalize: bash, no cd, and L+ for /etc/systemd. PID 1 applies the presets at first boot and made /etc/systemd/system, which blocked the link, so /etc/systemd/user (the user's D-Bus) was missing. - Disable homed, userdbd and nsresourced with presets instead of deleting their units. Drop modules the kernel has built in. - mkosi.version adds the git commit to the version. - One dev container per worktree or session in CLAUDE.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.1 KiB
1.1 KiB
This machine
You run on a small Fedora VM made for you, as the user claude, without root.
- The OS is read-only: you can't install anything on it. Run toolchains, languages and
services in containers, with rootless
podman. For quick commands:podman run --rm -v "$PWD:/w" -w /w docker.io/library/python:3 python script.py. For longer work, keep one dev container per worktree or session, named after its directory, that you install into:podman run -d --name "${PWD##*/}" -v "$PWD:$PWD" -w "$PWD" quay.io/fedora/fedora:latest sleep infinity, thenpodman exec "${PWD##*/}" dnf install -y gccandpodman exec "${PWD##*/}" make. Remove it withpodman rm -fwhen the work is done. - On the host: git, ssh, curl, tar/gzip/xz/zstd, find, diff, ps, ip.
- Your files survive reboots: your home (/home/claude), containers and images stay. /tmp is wiped at every boot. The VM may reboot at about 04:10 to update.
- To start over, push what you want to keep, then remove all containers and images with
podman system reset --forceand delete everything in your home but~/.claudeand~/.claude.json, which hold your Claude login.