Files
runneros/mkosi.extra/usr/lib/tmpfiles.d/factory-etc.conf
T
Job79andClaude Opus 5.5 3b10f60fab Fix what a real install showed
- systemd-sysusers failed after an update: the image has no login.defs,
  so its factory link pointed at itself. The link goes.
- The first boot had another hostname than later boots, because
  /etc/hostname only exists once tmpfiles links it. The first boot is
  when the runner registers, under that name. The kernel command line
  now sets the hostname, which PID 1 has from the start.
- The README promised a recovery key that doesn't exist. The disk only
  unlocks with the TPM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 19:36:47 +00:00

29 lines
976 B
Plaintext

# factory-etc.conf links what the image needs from /usr/share/factory/etc
# (mkosi.finalize) into the empty /etc at boot, so updates to /usr take effect
# in /etc too. The rest of the factory is unused package config. /etc itself
# holds what the machine writes: passwd, shadow, group, machine-id, ld.so.cache,
# /etc/systemd and the networks of podman (/etc/containers/networks). Podman
# reads its own config from /usr/share/containers. systemd's own etc.conf sets
# up os-release, nsswitch.conf and pam.d.
#
# /etc/systemd is filled from the presets at first boot, by PID 1.
# gitea-runner holds the config of the runner.
L /etc/gitea-runner
# authselect holds the PAM files that /etc/pam.d links to.
L /etc/authselect
L /etc/security
L /etc/environment
L /etc/shells
# pki and ssl hold the CA certificates, and crypto-policies the TLS settings.
L /etc/pki
L /etc/ssl
L /etc/crypto-policies
L /etc/bashrc
L /etc/profile
L /etc/profile.d
L /etc/protocols
L /etc/services