build: Pass the correct paths to sbsign

Signed-off-by: Chris Coulson <chris.coulson@canonical.com>
This commit is contained in:
Chris Coulson 2021-02-19 17:37:00 +00:00 committed by Peter Jones
parent 9bef30f529
commit aaa7b427a5

View File

@ -231,8 +231,8 @@ endif
ifneq ($(origin ENABLE_SBSIGN),undefined)
%.efi.signed: %.efi shim.key shim.crt
@$(SBSIGN) \
--key certdb/shim.key \
--cert certdb/shim.crt \
--key shim.key \
--cert shim.crt \
--output $@ $<
else
%.efi.signed: %.efi certdb/secmod.db