Skip to content
Snippets Groups Projects
Commit 80462e5d authored by Daan De Meyer's avatar Daan De Meyer Committed by Zbigniew Jędrzejewski-Szmek
Browse files

Add proper dependencies to ukify target

Also remove the systemd-measure dependency from the mkosi target as
mkosi doesn't invoke systemd-measure itself.

(cherry picked from commit 1a077e05)
parent a2240d1c
No related branches found
No related tags found
No related merge requests found
......@@ -2636,6 +2636,14 @@ endif
#####################################################################
ukify_depends = []
foreach executable : ['systemd-measure', 'systemd-sbsign', 'systemd-keyutil']
if executable in executables_by_name
ukify_depends += [executables_by_name[executable]]
endif
endforeach
ukify = custom_target(
'ukify',
input : 'src/ukify/ukify.py',
......@@ -2643,6 +2651,7 @@ ukify = custom_target(
command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
install : want_ukify,
install_mode : 'rwxr-xr-x',
depends : ukify_depends,
install_dir : bindir)
if want_ukify
public_programs += ukify
......@@ -2662,7 +2671,7 @@ endif
mkosi_depends = public_programs
foreach executable : ['systemd-journal-remote', 'systemd-measure']
foreach executable : ['systemd-journal-remote']
if executable in executables_by_name
mkosi_depends += [executables_by_name[executable]]
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment