summaryrefslogtreecommitdiffstats
path: root/src/ukify/ukify.py
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2023-07-04 16:55:20 +0200
committerLuca Boccassi <bluca@debian.org>2023-07-05 22:31:08 +0200
commit635c6ea6226530b4176f022ee2f4b68e4b0d0e21 (patch)
treec57cda43a3f3203e4bc9015b5ab9976efd812b60 /src/ukify/ukify.py
parentukify: enable --sbat for UKIs too (diff)
downloadsystemd-635c6ea6226530b4176f022ee2f4b68e4b0d0e21.tar.xz
systemd-635c6ea6226530b4176f022ee2f4b68e4b0d0e21.zip
ukify: measure sbat section too
Diffstat (limited to '')
-rwxr-xr-xsrc/ukify/ukify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py
index e9d53c5527..9ee591d593 100755
--- a/src/ukify/ukify.py
+++ b/src/ukify/ukify.py
@@ -765,7 +765,7 @@ def make_uki(opts):
if linux is not None:
# Merge the .sbat sections from stub, kernel and parameter, so that revocation can be done on either.
- uki.add_section(Section.create('.sbat', merge_sbat([opts.stub, linux], opts.sbat), measure=False))
+ uki.add_section(Section.create('.sbat', merge_sbat([opts.stub, linux], opts.sbat), measure=True))
uki.add_section(Section.create('.linux', linux, measure=True))
else:
if not opts.sbat: