From: Daan De Meyer Date: Sat, 5 Oct 2024 10:14:14 +0000 (+0200) Subject: ukify: Fix off by one error X-Git-Tag: v257-rc1~276^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be64d42f9f59bc071e161772417a6185426fdaa3;p=thirdparty%2Fsystemd.git ukify: Fix off by one error We weren't measuring the profile section itself. --- 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