]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
repart: say when we are calculating Verity data
authorLennart Poettering <lennart@amutable.com>
Tue, 14 Jul 2026 08:56:19 +0000 (10:56 +0200)
committerLennart Poettering <lennart@amutable.com>
Thu, 16 Jul 2026 05:05:39 +0000 (07:05 +0200)
We say when we encrypt a partition, let's also say when we calculate
verity protection data.

src/repart/repart.c

index 645d22ea6469d23d252960c153990dbe9679332f..bd8df61263354e11dc9b879918101b264100219e 100644 (file)
@@ -6006,6 +6006,9 @@ static int partition_format_verity_hash(
         if (r < 0)
                 return r;
 
+        if (p->partno != UINT64_MAX)
+                log_info("Calculating Verity protection data for future partition %" PRIu64 "...", p->partno);
+
         if (!node) {
                 r = partition_target_prepare(context, p, p->new_size, /* need_path= */ true, &t);
                 if (r < 0)