diff mbox series

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

Message ID 20190125175725.6696-2-dann.frazier@canonical.com
State New
Headers show
Series [v2,1/3,disco,linux] UBUNTU: [Packaging] remove handoff check for uefi signing | expand

Commit Message

dann frazier Jan. 25, 2019, 5:57 p.m. UTC
From: Seth Forshee <seth.forshee@canonical.com>

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>
Signed-off-by: dann frazier <dann.frazier@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 08c2813f96571..61805f69e3fcd 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)