repart: Add Minimize= support for verity hash partitions

Fixes #27414
This commit is contained in:
Daan De Meyer
2023-04-26 14:15:16 +02:00
parent cf18d96f62
commit 5eef704734
2 changed files with 93 additions and 9 deletions
+2
View File
@@ -765,6 +765,7 @@ Type=root-${architecture}
CopyFiles=${defs}
Verity=data
VerityMatchKey=root
Minimize=guess
EOF
runas testuser tee "$defs/verity-hash.conf" <<EOF
@@ -772,6 +773,7 @@ EOF
Type=root-${architecture}-verity
Verity=hash
VerityMatchKey=root
Minimize=yes
EOF
runas testuser tee "$defs/verity-sig.conf" <<EOF