# /usr, slot A # # The OS as read-only erofs, protected by dm-verity (usrhash= in the UKI). # Updates replace it whole. The image holds nothing else but the ESP: the # initrd makes the root filesystem, with /etc and /var, at first boot # (mkosi.extra/usr/lib/repart.d/50-root.conf). [Partition] Type=usr Label=%M_%A Format=erofs Compression=lz4hc CopyFiles=/usr:/ Verity=data VerityMatchKey=usr SizeMinBytes=1G SizeMaxBytes=1G # SplitName holds the partition UUID (%U): usrhash= finds /usr by it, and # updates keep it (@u in mkosi.extra/usr/lib/sysupdate.d). SplitName=%t.%U