From patchwork Tue Feb 8 15:50:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitri John Ledkov X-Patchwork-Id: 1589964 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=N8e3zvZo; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4JtSD26Rj4z9s0r for ; Wed, 9 Feb 2022 02:51:14 +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 1nHSlk-0004hR-Cw; Tue, 08 Feb 2022 15:51:04 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nHSlh-0004cF-NP for kernel-team@lists.ubuntu.com; Tue, 08 Feb 2022 15:51:01 +0000 Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 24CDA3F324 for ; Tue, 8 Feb 2022 15:50:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644335460; bh=A5ELJtWbGmBzdtymvDZyPwj6KW7K8nvOIRGdmwMUaxI=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=N8e3zvZoJZoffIpN8VrqkPSx3P63ZjqaacQJWnxrDk7ipNVKBfjSfFvEsT62dy54E LRCWYOfmtpn48oDfqmWUF6vsgyX/E7kRH06UR9xklLaTeRsmSCbFc+ZfNhFGokejW0 w1+/LAEtpOVwsaq7L8fgYYjTIzCC+7OEM+NhAWNk5R3dNjk2aWbEsUdb8qG3cnzDu4 AQl18uHxkDgh+Rb3SLUE1MZwTXNwx6FLJj69GATooTKk1RCOxJTit/QzJXTSg9Bptf eO8NZnq6ivHsiE97qaFj3jB+jHe8+I/DaLBO/NMFoEuXuqJJXUMAVXWXYMRqgl/13Z EVlCqu4MPIQJw== Received: by mail-ej1-f71.google.com with SMTP id ka12-20020a170907990c00b006c41c582397so4423847ejc.11 for ; Tue, 08 Feb 2022 07:50:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=A5ELJtWbGmBzdtymvDZyPwj6KW7K8nvOIRGdmwMUaxI=; b=ouPCdkfRRveZOvEJCURnazLW85YHLtAiz9ytKyO59n4R41ERpNY2Mi5kSi4X+RCyzL 1tSwm0gA7GHKtDmll5OZG31ayvuq3Nr0MgskIki6VLfZgXIsNL4fpt3HmhPOZ9FrL6+J rV47s/EbHtKYZQ6AgVpdueLitDk17/arC7pdnff2VtdhoT138es3TVfV99KuUZblne4D WvpMv0TwQFeozL+1rfmwjirqgEW3csQM0698U51ULk4XYxVIH7Z3/Gy/mhc8IAmju/PR 6vSrYyh860urUcOxW/Bq1ZJbLFNNSCmAHtN5EBY2R5BQyHCOq3rKtaJXisYYNyauw6Fo HShQ== X-Gm-Message-State: AOAM531wKYc35FD+mmdM/VIDHW1RlMDyjA+awrn4MN0VMRS71BINLvn4 LP+1/bJod7N3hBQaFqhhOFktpU/tK8zTM6TL/noaJSzJDdyFLvzDtMtIfln8SEpMpFbY8t0xxdo 6bgr491dbYnAp6uXoHk6i1aHtrrw1MHvMNikzr6u3GQ== X-Received: by 2002:a17:907:86a8:: with SMTP id qa40mr4161496ejc.453.1644335457842; Tue, 08 Feb 2022 07:50:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwide+fvIqpXFegWhx+AHzwjgEwj3kkjL9qyMuaeSyKP3f7rwgLUhisSU4r3FN89ULlcHZ01g== X-Received: by 2002:a17:907:86a8:: with SMTP id qa40mr4161479ejc.453.1644335457570; Tue, 08 Feb 2022 07:50:57 -0800 (PST) Received: from localhost ([2001:67c:1560:8007::aac:c15c]) by smtp.gmail.com with ESMTPSA id gq1sm4025621ejb.58.2022.02.08.07.50.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 07:50:57 -0800 (PST) From: Dimitri John Ledkov To: kernel-team@lists.ubuntu.com Subject: [J][linux-signed-uc22][PATCH 4/5] debian: provide stampfile of UC22 kernel image type Date: Tue, 8 Feb 2022 15:50:41 +0000 Message-Id: <20220208155042.273128-5-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220208155042.273128-1-dimitri.ledkov@canonical.com> References: <20220208155042.273128-1-dimitri.ledkov@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: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" Provide stamp files in /usr/share/doc/$(package) that indicate whether this UC22 kernel is expected to be snapped as kernel.efi or vmlinuz. It is usually non-obvious which way a given architecture should be snapped, current architectures support both types on many arches, and some will be switched during UC22 cycle from vmlinuz to kernel.efi. Providing these stamp files will allow snapcraft.yaml to correctly build kernel snaps when kernel image type is changed. Signed-off-by: Dimitri John Ledkov --- debian/kernelefi.stamp | 2 ++ debian/linux-image-uc22-generic.docs.amd64 | 1 + debian/linux-image-uc22-generic.docs.arm64 | 1 + debian/linux-image-uc22-generic.docs.armhf | 1 + debian/linux-image-uc22-lowlatency.docs.amd64 | 1 + debian/linux-image-uc22-lowlatency.docs.arm64 | 1 + debian/vmlinuz.stamp | 2 ++ 7 files changed, 9 insertions(+) create mode 100644 debian/kernelefi.stamp create mode 100644 debian/linux-image-uc22-generic.docs.amd64 create mode 100644 debian/linux-image-uc22-generic.docs.arm64 create mode 100644 debian/linux-image-uc22-generic.docs.armhf create mode 120000 debian/linux-image-uc22-lowlatency.docs.amd64 create mode 120000 debian/linux-image-uc22-lowlatency.docs.arm64 create mode 100644 debian/vmlinuz.stamp diff --git a/debian/kernelefi.stamp b/debian/kernelefi.stamp new file mode 100644 index 0000000000..1c3ac9f3fc --- /dev/null +++ b/debian/kernelefi.stamp @@ -0,0 +1,2 @@ +# This file indicates that this architecture of UC22 kernel uses +# kernel.efi to boot. diff --git a/debian/linux-image-uc22-generic.docs.amd64 b/debian/linux-image-uc22-generic.docs.amd64 new file mode 100644 index 0000000000..59e9ea2858 --- /dev/null +++ b/debian/linux-image-uc22-generic.docs.amd64 @@ -0,0 +1 @@ +debian/kernelefi.stamp diff --git a/debian/linux-image-uc22-generic.docs.arm64 b/debian/linux-image-uc22-generic.docs.arm64 new file mode 100644 index 0000000000..3526faaa4d --- /dev/null +++ b/debian/linux-image-uc22-generic.docs.arm64 @@ -0,0 +1 @@ +debian/vmlinuz.stamp diff --git a/debian/linux-image-uc22-generic.docs.armhf b/debian/linux-image-uc22-generic.docs.armhf new file mode 100644 index 0000000000..3526faaa4d --- /dev/null +++ b/debian/linux-image-uc22-generic.docs.armhf @@ -0,0 +1 @@ +debian/vmlinuz.stamp diff --git a/debian/linux-image-uc22-lowlatency.docs.amd64 b/debian/linux-image-uc22-lowlatency.docs.amd64 new file mode 120000 index 0000000000..39896b1b12 --- /dev/null +++ b/debian/linux-image-uc22-lowlatency.docs.amd64 @@ -0,0 +1 @@ +linux-image-uc22-generic.docs.amd64 \ No newline at end of file diff --git a/debian/linux-image-uc22-lowlatency.docs.arm64 b/debian/linux-image-uc22-lowlatency.docs.arm64 new file mode 120000 index 0000000000..4387357538 --- /dev/null +++ b/debian/linux-image-uc22-lowlatency.docs.arm64 @@ -0,0 +1 @@ +linux-image-uc22-generic.docs.arm64 \ No newline at end of file diff --git a/debian/vmlinuz.stamp b/debian/vmlinuz.stamp new file mode 100644 index 0000000000..d2ada6ddf9 --- /dev/null +++ b/debian/vmlinuz.stamp @@ -0,0 +1,2 @@ +# This file indicates that this architecture of UC22 kernel uses +# vmlinuz to boot.