debian/patches/sbsigntool-no-pesign: refreshed.

This commit is contained in:
Mathieu Trudel-Lapierre 2017-08-07 17:42:12 -04:00
parent 94190a1cd8
commit ea54c7675f
2 changed files with 4 additions and 4 deletions

2
debian/changelog vendored
View File

@ -7,7 +7,7 @@ shim (12+1501864225.b586175-0) UNRELEASED; urgency=medium
MAKELEVEL.
- Set DEFAULT_LOADER; this makes second-stage-path unnecessary.
* debian/patches/second-stage-path: dropped.
* debian/patches/sbsigntool-no-pesign: refreshed.
-- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Fri, 04 Aug 2017 12:33:22 -0400

View File

@ -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