os / os (push) Waiting to run
- Rename the image from agent to agentos (ImageId, hostname, CI, docs). - mkosi.finalize only copies /etc to /usr/share/factory/etc. The hand-written tmpfiles.d/factory-etc.conf links the 24 entries the image needs. - /etc/systemd is writable: PID 1 applies the system presets at first boot and preset-global.service the user presets, as in ParticleOS. - claude-remote runs in the user manager of agent, enabled by a user preset. - Root has no /var subvolume, and the verity partitions shrink to 16M. - Style pass over comments, CLAUDE.md and AGENTS.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
358 B
Bash
Executable File
9 lines
358 B
Bash
Executable File
#!/bin/bash
|
|
# mkosi.finalize keeps the /etc that the packages and mkosi.extra/etc made in
|
|
# /usr/share/factory/etc, because the image ships only /usr. At boot,
|
|
# mkosi.extra/usr/lib/tmpfiles.d/factory-etc.conf links from it what /etc needs.
|
|
set -euo pipefail
|
|
|
|
cp -a --no-target-directory --update=none "$BUILDROOT/etc" \
|
|
"$BUILDROOT/usr/share/factory/etc"
|