ukify: Fix off by one error
We weren't measuring the profile section itself.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user