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) ifneq ($(origin ENABLE_SBSIGN),undefined)
%.efi.signed: %.efi shim.key shim.crt %.efi.signed: %.efi shim.key shim.crt
@$(SBSIGN) \ @$(SBSIGN) \
--key certdb/shim.key \ --key shim.key \
--cert certdb/shim.crt \ --cert shim.crt \
--output $@ $< --output $@ $<
else else
%.efi.signed: %.efi certdb/secmod.db %.efi.signed: %.efi certdb/secmod.db