summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Coulson <chris.coulson@canonical.com>2020-07-15 12:16:10 +0100
committerJavier Martinez Canillas <javier@dowhile0.org>2021-02-16 09:12:48 +0100
commit16f4f47f5c4662ff17bbd0149204522a4f94e1f5 (patch)
tree6bd88d26ba5409b3c54ffee732d981907bc29dcd
parent9c64b6278c160e8db8c3d6b3f66803f3d5906074 (diff)
downloadefi-boot-shim-16f4f47f5c4662ff17bbd0149204522a4f94e1f5.tar.gz
efi-boot-shim-16f4f47f5c4662ff17bbd0149204522a4f94e1f5.zip
Fix sbsign command usage
The previous make target was passing all of the target's prerequisites as boot images to sbsign, causing it to fail.
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b9a5ccf7..fe860e23 100644
--- a/Makefile
+++ b/Makefile
@@ -235,7 +235,10 @@ endif
ifneq ($(origin ENABLE_SBSIGN),undefined)
%.efi.signed: %.efi shim.key shim.crt
- $(SBSIGN) --key shim.key --cert shim.crt --output $@ $<
+ @$(SBSIGN) \
+ --key certdb/shim.key \
+ --cert certdb/shim.crt \
+ --output $@ $<
else
%.efi.signed: %.efi certdb/secmod.db
$(PESIGN) -n certdb -i $< -c "shim" -s -o $@ -f