diff mbox series

[1/3,disco,linux] UBUNTU: [Packaging] remove handoff check for uefi signing

Message ID 20181218155718.20930-2-seth.forshee@canonical.com
State New
Headers show
Series Add support for UEFI signed kernels on arm64 | expand

Commit Message

Seth Forshee Dec. 18, 2018, 3:57 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1804481

This check doesn't work for arm64 and is no longer necessary for
x86, so remove it.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
---
 debian/rules.d/2-binary-arch.mk | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 08c2813f9657..61805f69e3fc 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -120,13 +120,8 @@  endif
 
 ifeq ($(uefi_signed),true)
 	install -d $(signingv)
-	# Check to see if this supports handoff, if not do not sign it.
-	# Check the identification area magic and version >= 0x020b
-	handoff=`dd if="$(pkgdir_bin)/boot/$(instfile)-$(abi_release)-$*" bs=1 skip=514 count=6 2>/dev/null | od -s | gawk '($$1 == 0 && $$2 == 25672 && $$3 == 21362 && $$4 >= 523) { print "GOOD" }'`; \
-	if [ "$$handoff" = "GOOD" ]; then \
-		cp -p $(pkgdir_bin)/boot/$(instfile)-$(abi_release)-$* \
-			$(signingv)/$(instfile)-$(abi_release)-$*.efi; \
-	fi
+	cp -p $(pkgdir_bin)/boot/$(instfile)-$(abi_release)-$* \
+		$(signingv)/$(instfile)-$(abi_release)-$*.efi;
 endif
 ifeq ($(opal_signed),true)
 	install -d $(signingv)