|
@@ -1,4 +1,4 @@
|
|
-From 43a7e8759162fa25aea203ce732f177bc6f15cdb Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From e4eb5bb44e5ac84958c641f62fcfec5114d03073 Mon Sep 17 00:00:00 2001
|
|
From: Dorian Stoll <dorian.stoll@tmsp.io>
|
|
From: Dorian Stoll <dorian.stoll@tmsp.io>
|
|
Date: Sun, 22 Sep 2019 22:44:16 +0200
|
|
Date: Sun, 22 Sep 2019 22:44:16 +0200
|
|
Subject: [PATCH] Add secureboot pre-signing to the kernel
|
|
Subject: [PATCH] Add secureboot pre-signing to the kernel
|
|
@@ -21,10 +21,10 @@ Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
|
|
create mode 100755 scripts/sign_kernel.sh
|
|
create mode 100755 scripts/sign_kernel.sh
|
|
|
|
|
|
diff --git a/.gitignore b/.gitignore
|
|
diff --git a/.gitignore b/.gitignore
|
|
-index 7f86e0837909..04aaae490610 100644
|
|
|
|
|
|
+index c59dc60ba62e..d60f75150ebf 100644
|
|
--- a/.gitignore
|
|
--- a/.gitignore
|
|
+++ b/.gitignore
|
|
+++ b/.gitignore
|
|
-@@ -152,6 +152,9 @@ signing_key.priv
|
|
|
|
|
|
+@@ -149,6 +149,9 @@ signing_key.priv
|
|
signing_key.x509
|
|
signing_key.x509
|
|
x509.genkey
|
|
x509.genkey
|
|
|
|
|
|
@@ -35,10 +35,10 @@ index 7f86e0837909..04aaae490610 100644
|
|
/all.config
|
|
/all.config
|
|
/alldef.config
|
|
/alldef.config
|
|
diff --git a/arch/x86/Makefile b/arch/x86/Makefile
|
|
diff --git a/arch/x86/Makefile b/arch/x86/Makefile
|
|
-index fdc2e3abd615..c7a374c7ceaf 100644
|
|
|
|
|
|
+index 801fd85c3ef6..1b1a72179a74 100644
|
|
--- a/arch/x86/Makefile
|
|
--- a/arch/x86/Makefile
|
|
+++ b/arch/x86/Makefile
|
|
+++ b/arch/x86/Makefile
|
|
-@@ -283,6 +283,7 @@ endif
|
|
|
|
|
|
+@@ -302,6 +302,7 @@ endif
|
|
$(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE)
|
|
$(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE)
|
|
$(Q)mkdir -p $(objtree)/arch/$(UTS_MACHINE)/boot
|
|
$(Q)mkdir -p $(objtree)/arch/$(UTS_MACHINE)/boot
|
|
$(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/$(UTS_MACHINE)/boot/$@
|
|
$(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/$(UTS_MACHINE)/boot/$@
|
|
@@ -83,5 +83,5 @@ index 000000000000..d2526a279254
|
|
+sbsign --key $BUILDDIR/keys/MOK.key --cert $BUILDDIR/keys/MOK.crt \
|
|
+sbsign --key $BUILDDIR/keys/MOK.key --cert $BUILDDIR/keys/MOK.crt \
|
|
+ --output $VMLINUX $VMLINUX
|
|
+ --output $VMLINUX $VMLINUX
|
|
--
|
|
--
|
|
-2.41.0
|
|
|
|
|
|
+2.45.2
|
|
|
|
|