From be64d42f9f59bc071e161772417a6185426fdaa3 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sat, 5 Oct 2024 12:14:14 +0200 Subject: [PATCH] ukify: Fix off by one error We weren't measuring the profile section itself. --- src/ukify/ukify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py index 93ad78b01d1..a94e6eefd6a 100755 --- a/src/ukify/ukify.py +++ b/src/ukify/ukify.py @@ -1052,7 +1052,7 @@ def make_uki(opts: argparse.Namespace) -> None: Section.create(n, section.get_data(length=section.Misc_VirtualSize), measure=True) ) - call_systemd_measure(uki, opts=opts, profile_start=prev_len + 1) + call_systemd_measure(uki, opts=opts, profile_start=prev_len) # UKI creation -- 2.47.3