diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-10-05 12:14:14 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-10-09 19:51:08 +0200 |
commit | be64d42f9f59bc071e161772417a6185426fdaa3 (patch) | |
tree | 33c308ff20e50247e0abb2ce74801a891d042c70 /src/ukify/ukify.py | |
parent | Merge pull request #34641 from behrmann/ukifystyle (diff) | |
download | systemd-be64d42f9f59bc071e161772417a6185426fdaa3.tar.xz systemd-be64d42f9f59bc071e161772417a6185426fdaa3.zip |
ukify: Fix off by one error
We weren't measuring the profile section itself.
Diffstat (limited to 'src/ukify/ukify.py')
-rwxr-xr-x | src/ukify/ukify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py index 93ad78b01d..a94e6eefd6 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 |