]> git.ipfire.org Git - thirdparty/systemd.git/commit
repart: Apply verity-sig max size based on partition type
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 1 Jun 2025 18:24:47 +0000 (20:24 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 1 Jun 2025 19:19:53 +0000 (21:19 +0200)
commit92d888235edd4d1294561845ecb4c35cc6c0f0c9
tree825ab7e47e092bdfced9d1b9a02ff0810076adc7
parentc9e614eb256ec2591170c1b840558103dfa3d2b0
repart: Apply verity-sig max size based on partition type

We already do this for partition_min_size(), let's do it for
partition_max_size() as well. This makes sure repart doesn't accidentally
try to grow verity sig partitions to larger sizes than the hardcoded
max size in systemd.
src/repart/repart.c
src/shared/gpt.h