[PATCH v2 1/3][disco linux] UBUNTU: [Packaging] remove handoff check for uefi signing
dann frazier
dann.frazier at canonical.com
Fri Jan 25 17:57:21 UTC 2019
From: Seth Forshee <seth.forshee at 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 at canonical.com>
Signed-off-by: dann frazier <dann.frazier at canonical.com>
---
debian/rules.d/2-binary-arch.mk | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
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)
--
2.20.1
More information about the kernel-team
mailing list