mirror of
https://github.com/systemd/systemd.git
synced 2025-03-08 08:58:27 +03:00
ukify: fix handling signed kernel as file
The .linux section would contain the path to the signed kernel (instead of the signed kernel itself), since the python type of the variable is used to determine how it is handled when adding the pe sections. Co-authored-by: Otto Bittner <cobittner@posteo.net>
This commit is contained in:
parent
0de4bf409c
commit
8d89d66ce8
@ -635,7 +635,7 @@ def make_uki(opts):
|
||||
|
||||
if sign_kernel:
|
||||
linux_signed = tempfile.NamedTemporaryFile(prefix='linux-signed')
|
||||
linux = linux_signed.name
|
||||
linux = pathlib.Path(linux_signed.name)
|
||||
sign(sign_tool, opts.linux, linux, opts=opts)
|
||||
else:
|
||||
linux = opts.linux
|
||||
|
Loading…
x
Reference in New Issue
Block a user