summaryrefslogtreecommitdiff
path: root/debian/patches/sbsigntool-not-pesign
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/sbsigntool-not-pesign')
-rw-r--r--debian/patches/sbsigntool-not-pesign6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches/sbsigntool-not-pesign b/debian/patches/sbsigntool-not-pesign
index 9629cb12..1220cabd 100644
--- a/debian/patches/sbsigntool-not-pesign
+++ b/debian/patches/sbsigntool-not-pesign
@@ -13,14 +13,14 @@ Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
-@@ -158,8 +158,8 @@ endif
+@@ -206,8 +206,8 @@ endif
-j .note.gnu.build-id \
$(FORMAT) $^ $@.debug
-%.efi.signed: %.efi certdb/secmod.db
-- pesign -n certdb -i $< -c "shim" -s -o $@ -f
+- $(PESIGN) -n certdb -i $< -c "shim" -s -o $@ -f
+%.efi.signed: %.efi shim.crt
+ sbsign --key shim.key --cert shim.crt $<
clean:
- $(MAKE) -C Cryptlib clean
+ $(MAKE) -C Cryptlib -f $(TOPDIR)/Cryptlib/Makefile clean