mkosi-based Gitea runner OS and job image
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
33 files changed
+529
No files matched your search
@@ -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
|
||||
@@ -0,0 +1,11 @@
|
||||
# /usr, slot A: read-only erofs, protected by dm-verity (usrhash= in the UKI).
|
||||
[Partition]
|
||||
Type=usr
|
||||
Label=%M_%A
|
||||
Format=erofs
|
||||
Compression=zstd
|
||||
CopyFiles=/usr:/
|
||||
Verity=data
|
||||
VerityMatchKey=usr
|
||||
SizeMinBytes=1G
|
||||
SizeMaxBytes=1G
|
||||
@@ -0,0 +1,8 @@
|
||||
# dm-verity hashes of /usr, slot A.
|
||||
[Partition]
|
||||
Type=usr-verity
|
||||
Label=%M_%A_verity
|
||||
Verity=hash
|
||||
VerityMatchKey=usr
|
||||
SizeMinBytes=64M
|
||||
SizeMaxBytes=64M
|
||||
@@ -0,0 +1,7 @@
|
||||
# /usr, slot B: empty until systemd-sysupdate writes the next version.
|
||||
[Partition]
|
||||
Type=usr
|
||||
Label=_empty
|
||||
SizeMinBytes=1G
|
||||
SizeMaxBytes=1G
|
||||
SplitName=-
|
||||
@@ -0,0 +1,7 @@
|
||||
# dm-verity hashes of /usr, slot B.
|
||||
[Partition]
|
||||
Type=usr-verity
|
||||
Label=_empty
|
||||
SizeMinBytes=64M
|
||||
SizeMaxBytes=64M
|
||||
SplitName=-
|
||||
@@ -0,0 +1,8 @@
|
||||
# The root filesystem: /etc and /var, kept across updates. Grows to fill the disk at boot.
|
||||
[Partition]
|
||||
Type=root
|
||||
Format=ext4
|
||||
CopyFiles=/
|
||||
ExcludeFilesTarget=/usr/
|
||||
Minimize=guess
|
||||
GrowFileSystem=yes
|
||||
Reference in new issue
Block a user