chore: clean up var-repart config

This commit is contained in:
Lars Sjöström 2025-03-04 15:31:03 +01:00
parent e5367bac84
commit 8e61f85f72
No known key found for this signature in database

View file

@ -61,16 +61,14 @@ EOF
cat <<EOF > $out/etc/repart.d/40-var.conf
[Partition]
Type=var
UUID=4d21b016-b534-45c2-a9fb-5c16e091fd2d
Format=btrfs
MountPoint=/var
Label=patos-state
Minimize=off
Encrypt=tpm2
EncryptedVolume=patos-state:none:tpm2-device=auto,luks,discard
MountPoint=/var
FactoryReset=yes
SizeMinBytes=1G
SplitName=-
Minimize=off
FactoryReset=yes
EOF
# as rootfs is read-only we need to configure the fstab and cryptsetup generators to look