From patchwork Mon Sep 9 19:37:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thadeu Lima de Souza Cascardo X-Patchwork-Id: 1159916 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 46Rz2x1j8tz9sN1; Tue, 10 Sep 2019 05:37:45 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1i7PTf-0006aF-VD; Mon, 09 Sep 2019 19:37:31 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1i7PTe-0006a7-0n for kernel-team@lists.ubuntu.com; Mon, 09 Sep 2019 19:37:30 +0000 Received: from 1.general.cascardo.us.vpn ([10.172.70.58] helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1i7PTd-0002YP-9K for kernel-team@lists.ubuntu.com; Mon, 09 Sep 2019 19:37:29 +0000 From: Thadeu Lima de Souza Cascardo To: kernel-team@lists.ubuntu.com Subject: [SRU B/D linux-signed] UBUNTU: fix vmlinuz-* permissions for opal signed kernels Date: Mon, 9 Sep 2019 16:37:19 -0300 Message-Id: <20190909193719.28893-1-cascardo@canonical.com> X-Mailer: git-send-email 2.20.1 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: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Seth Forshee BugLink: https://bugs.launchpad.net/bugs/1843327 We're currently changing the permissions on the signature file instead of the concatenated kernel+signature file which will be installed. Fix this. Signed-off-by: Seth Forshee Signed-off-by: Thadeu Lima de Souza Cascardo Acked-by: Kleber Sacilotto de Souza Acked-by: Sultan Alsawaf --- debian/rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index 62c132c83ba4..f11e4455f907 100755 --- a/debian/rules +++ b/debian/rules @@ -49,10 +49,10 @@ override_dh_auto_build: done; \ for s in *.opal.sig; do \ [ ! -f "$$s" ] && continue; \ - chmod 600 "$$s"; \ base=$$(echo "$$s" | sed -e 's/.opal.sig//'); \ - cat "$$base.opal" "$$s" >"../SIGNED/$$base";\ - done \ + cat "$$base.opal" "$$s" >"../SIGNED/$$base"; \ + chmod 600 "../SIGNED/$$base"; \ + done; \ ) override_dh_auto_install: