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>
17 lines
682 B
Plaintext
17 lines
682 B
Plaintext
# 50-root.conf makes the root filesystem in the initrd at first boot, from the
|
|
# free space after /usr, and grows it when the disk grows. It holds all state:
|
|
# /etc (mkosi.finalize) and /var, which is its own btrfs subvolume. It is
|
|
# encrypted with a key in the TPM, so a TPM is required. The key is sealed to
|
|
# the signed PCR 11 policy of our UKIs (SignExpectedPcr= in mkosi.conf), and
|
|
# the initrd unlocks it at every boot.
|
|
#
|
|
# FactoryReset makes a factory reset wipe it: root runs systemctl start
|
|
# factory-reset.target, and at the next boot it is made anew, as at first boot.
|
|
[Partition]
|
|
Type=root
|
|
Format=btrfs
|
|
Subvolumes=/var
|
|
MakeDirectories=/var
|
|
Encrypt=tpm2
|
|
FactoryReset=yes
|