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>
26 lines
1015 B
Plaintext
26 lines
1015 B
Plaintext
# 50-agent.preset enables the services of the image. mkosi runs systemctl
|
|
# preset-all, which applies it. It sorts before Fedora's presets, so it wins
|
|
# where they disagree.
|
|
|
|
enable systemd-networkd.service
|
|
enable systemd-resolved.service
|
|
# sshd.path starts sshd once there is an ssh key, so Fedora's preset of
|
|
# sshd.service is overruled.
|
|
enable sshd.path
|
|
disable sshd.service
|
|
# getty@.service is the login on the screen, which Fedora disables (tty1, and
|
|
# tty2-6 through its autovt@ alias).
|
|
enable getty@.service
|
|
enable claude-remote.path
|
|
enable systemd-sysupdate-update.timer
|
|
enable systemd-sysupdate-reboot.timer
|
|
# authselect-apply-changes would rewrite /etc/authselect, which links into the
|
|
# read-only /usr (mkosi.finalize), and fails.
|
|
disable authselect-apply-changes.service
|
|
# systemd-homed, systemd-userdbd and systemd-nsresourced are unused here.
|
|
# Fedora enables them.
|
|
disable systemd-homed.service
|
|
disable systemd-homed-activate.service
|
|
disable systemd-userdbd.socket
|
|
disable systemd-nsresourced.socket
|