From patchwork Tue Dec 18 15:57:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seth Forshee X-Patchwork-Id: 1015443 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43K2j625Vzz9sDB; Wed, 19 Dec 2018 02:57:30 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1gZHkL-0001Pz-Ql; Tue, 18 Dec 2018 15:57:25 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1gZHkJ-0001PU-Ks for kernel-team@lists.ubuntu.com; Tue, 18 Dec 2018 15:57:23 +0000 Received: from mail-io1-f71.google.com ([209.85.166.71]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1gZHkJ-0007pC-Ac for kernel-team@lists.ubuntu.com; Tue, 18 Dec 2018 15:57:23 +0000 Received: by mail-io1-f71.google.com with SMTP id q23so15781230ior.6 for ; Tue, 18 Dec 2018 07:57:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qlwavwncPaMTpjEYWc0bSZ2FYfpnnay+R/I0iVc1wqg=; b=D7ZG7vGllqWfuTv3FJNSuGutZe4J44hbPzjQSbh4jOVU2C8lX5G/tIsAgU+M6fARsz 9q3QTLOOOuEbwKN34mguGzTqXrVtHNtfUucuElB9j0AxVIHEVbJFUlCqeprrOO6Bu/BP mFYfhTExdLiex8DWCnyaNRrIHULu3+HRBQ8e08CgHohE9FQnDog8jm8Pw+o3oQ1adAo2 7lTA+iRyv6X4pnRMxZUBSp38gc/GM4sFvpjUIe0jHiFkE+T0bWoBk0N6nAY+raVN5pTV FHWRFBcyx9Viqy+ieH9ZE6bVfGqqhSXOkBU9Wpehca4kp2uvGpPzsGTo3GyrQg4PgB68 R13A== X-Gm-Message-State: AA+aEWaYLZgXEqpgzDPKBq/CBUekKuRZdquGF9jdHPUoRWllMZrwpPn+ ZpI39xy6pqHjWrYYYRYpVYZiLDMt51qCoeV8GXPaDBDfQBwl+DBiYrK7irH9y66FTm1SLzhDw9j snUk6bZVDNEP8Atz4JJ/boYB9iCF6txiH8ur7PVbuNQ== X-Received: by 2002:a02:c498:: with SMTP id t24mr16353017jam.126.1545148642112; Tue, 18 Dec 2018 07:57:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/X1WE5UzsGifhHoKlimVM3jiJG6vU6DDqClFSg7pCxM5fQPaB6I6KaMQRbMFnvTtzonONIfvg== X-Received: by 2002:a02:c498:: with SMTP id t24mr16352997jam.126.1545148641779; Tue, 18 Dec 2018 07:57:21 -0800 (PST) Received: from localhost ([2605:a601:ac7:2a20:f9d0:f996:c42d:aa0c]) by smtp.gmail.com with ESMTPSA id p19sm1901999itp.13.2018.12.18.07.57.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 07:57:21 -0800 (PST) From: Seth Forshee To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/3][disco linux] UBUNTU: [Packaging] remove handoff check for uefi signing Date: Tue, 18 Dec 2018 09:57:14 -0600 Message-Id: <20181218155718.20930-2-seth.forshee@canonical.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181218155718.20930-1-seth.forshee@canonical.com> References: <20181218155718.20930-1-seth.forshee@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dann Frazier Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" 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 --- 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 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)