chore: init

This commit is contained in:
Job79 committed 2026-11-15 15:52:10 +01:00
commit 9245b26500
42 files changed
+601

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
# EFI system partition: systemd-boot and the UKIs (two versions at most).
[Partition]
Type=esp
Format=vfat
CopyFiles=/efi:/
CopyFiles=/boot:/
SizeMinBytes=256M
SizeMaxBytes=256M
+15
View File
@@ -0,0 +1,15 @@
# The root filesystem, slot A: /etc and /usr, read-only erofs protected by dm-verity (roothash= in
# the UKI). Updates replace it whole. /var, the state, is its own partition (30-var.conf).
[Partition]
Type=root
Label=%M_%A
Format=erofs
Compression=zstd
CopyFiles=/
ExcludeFilesTarget=/var/
Verity=data
VerityMatchKey=root
SizeMinBytes=1G
SizeMaxBytes=1G
# The file name holds the partition UUID, which roothash= finds the root by; updates keep it (@u in sysupdate.d).
SplitName=%t.%U
+9
View File
@@ -0,0 +1,9 @@
# dm-verity hashes of the root filesystem, slot A.
[Partition]
Type=root-verity
Label=%M_%A_verity
Verity=hash
VerityMatchKey=root
SizeMinBytes=64M
SizeMaxBytes=64M
SplitName=%t.%U
+7
View File
@@ -0,0 +1,7 @@
# The root filesystem, slot B: empty until systemd-sysupdate writes the next version.
[Partition]
Type=root
Label=_empty
SizeMinBytes=1G
SizeMaxBytes=1G
SplitName=-
+7
View File
@@ -0,0 +1,7 @@
# dm-verity hashes of the root filesystem, slot B.
[Partition]
Type=root-verity
Label=_empty
SizeMinBytes=64M
SizeMaxBytes=64M
SplitName=-
+10
View File
@@ -0,0 +1,10 @@
# /var: Claude's home and the state that reboots and updates keep (/var/lib/agent: the setup answers
# and Claude's login, the root password). Mounted by /etc/fstab, which also grows it to fill the
# disk at boot. Claude's home, with its containers, is wiped at every boot (tmpfiles.d/agent.conf).
[Partition]
Type=var
Label=var
Format=ext4
CopyFiles=/var:/
Minimize=guess
SplitName=-