ukify: Fix off by one error

We weren't measuring the profile section itself.
This commit is contained in:
Daan De Meyer
2024-10-09 19:51:08 +02:00
parent e318675398
commit be64d42f9f
+1 -1
View File
@@ -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