From patchwork Tue Nov 3 17:31:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alberto Milone X-Patchwork-Id: 1393250 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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=) 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 4CQcLC5dh8z9sVD; Wed, 4 Nov 2020 04:32:35 +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 1ka0Ab-0008LH-04; Tue, 03 Nov 2020 17:32:32 +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 1ka0AY-0008JD-BY for kernel-team@lists.ubuntu.com; Tue, 03 Nov 2020 17:32:30 +0000 Received: from mail-wm1-f69.google.com ([209.85.128.69]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ka0AY-0006h8-2m for kernel-team@lists.ubuntu.com; Tue, 03 Nov 2020 17:32:30 +0000 Received: by mail-wm1-f69.google.com with SMTP id t21so26497wmt.8 for ; Tue, 03 Nov 2020 09:32:30 -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=lCq6cgmDXfYk1tLMd+6uIkNFhz2oFEyJVV0lCD/yiKI=; b=ooLJqV5j2iRvc1cBMpqzueXqUdOVd393SwRVsdLQqNa4U4YpOmgDRLGfrvGW9eIxYw Hr8mMCS/vXDPiTPrmFmOz8NJsw//89xZtN0hvZ8iEey3wsXX+cgtyGxOryM2RaZhNYSh 7/CSs4eWGAgpbFju/iTvYE0DTYEn8strMJFKj2Up7XXRAihpc8qp6bd+39SKC7e5nWYQ q2pZc9c7SuMO4+vs97t751YSqpnsvFfd/nD/8Dfm8uogM30+uwk+yJL4uKIaA36C/FXc 8ipzbDdxdj50k12HTSvpB5JUqWSpUEcZ2CSeru2naCzHxd9bypQXcDMeEAvFePDOoIkp Xxzw== X-Gm-Message-State: AOAM5311bFB7Pl7n5R8Hk529m2YVemk9YgILq7wyZYcd/JxuxUxeOVrf dnDfV3QMNDbAgZsq8TdYjiunN4aSxUaHQLVHR6H/wDTKFBhmqO0sRZo5Z/yKBLXLEFdrAsCiWqH xv9aue90LIb0MlCyGxCxfMBP47k/Hp7x3V8377hzJkQ== X-Received: by 2002:a5d:60cc:: with SMTP id x12mr27485927wrt.314.1604424749411; Tue, 03 Nov 2020 09:32:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHUQvQ+zxvqCIUfZ9EiWOuYSol++CgPZ8DyoJ0kys0u6utR0JeAvtZbBnQfRlJ17KGBCz6yA== X-Received: by 2002:a5d:60cc:: with SMTP id x12mr27485914wrt.314.1604424749188; Tue, 03 Nov 2020 09:32:29 -0800 (PST) Received: from thinkpad.lan (dynamic-adsl-94-34-39-30.clienti.tiscali.it. [94.34.39.30]) by smtp.gmail.com with ESMTPSA id w1sm16482582wro.44.2020.11.03.09.32.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 09:32:28 -0800 (PST) From: Alberto Milone To: kernel-team@lists.ubuntu.com Subject: [PATCH 8/10 G/H][SRU][gcp][L-R-M] UBUNTU: [Packaging] NVIDIA -- provide the nvidia-prebuilt-kernel virtual package Date: Tue, 3 Nov 2020 18:31:27 +0100 Message-Id: <20201103173129.544371-9-alberto.milone@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201103173129.544371-1-alberto.milone@canonical.com> References: <20201103173129.544371-1-alberto.milone@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: cascardo@canonical.com Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" Make all the NVIDIA drivers, except for 390, provide the nvidia-prebuilt-kernel virtual package. This allows adding a generic dependency on the signed modules. BugLink: https://bugs.launchpad.net/bugs/1902093 Signed-off-by: Alberto Milone --- debian/control.d/meta-nvidia | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/control.d/meta-nvidia b/debian/control.d/meta-nvidia index b57e2ad..9ae7138 100644 --- a/debian/control.d/meta-nvidia +++ b/debian/control.d/meta-nvidia @@ -15,7 +15,7 @@ Package: linux-modules-nvidia-450-gcp${variant:suffix} Build-Profiles: Architecture: amd64 Section: kernel -Provides: ${dkms:nvidia-450-modules} +Provides: ${dkms:nvidia-450-modules}, nvidia-prebuilt-kernel Depends: ${misc:Depends}, linux-modules-nvidia-450-@ABI@-gcp (= ${binary:Version}), @@ -28,7 +28,7 @@ Package: linux-modules-nvidia-455-gcp${variant:suffix} Build-Profiles: Architecture: amd64 Section: kernel -Provides: ${dkms:nvidia-455-modules} +Provides: ${dkms:nvidia-455-modules}, nvidia-prebuilt-kernel Depends: ${misc:Depends}, linux-modules-nvidia-455-@ABI@-gcp (= ${binary:Version}), @@ -41,7 +41,7 @@ Package: linux-modules-nvidia-418-server-gcp${variant:suffix} Build-Profiles: Architecture: amd64 Section: kernel -Provides: ${dkms:nvidia-418-server-modules} +Provides: ${dkms:nvidia-418-server-modules}, nvidia-prebuilt-kernel Depends: ${misc:Depends}, linux-modules-nvidia-418-server-@ABI@-gcp (= ${binary:Version}), @@ -54,7 +54,7 @@ Package: linux-modules-nvidia-440-server-gcp${variant:suffix} Build-Profiles: Architecture: amd64 Section: kernel -Provides: ${dkms:nvidia-440-server-modules} +Provides: ${dkms:nvidia-440-server-modules}, nvidia-prebuilt-kernel Depends: ${misc:Depends}, linux-modules-nvidia-440-server-@ABI@-gcp (= ${binary:Version}), @@ -67,7 +67,7 @@ Package: linux-modules-nvidia-450-server-gcp${variant:suffix} Build-Profiles: Architecture: amd64 Section: kernel -Provides: ${dkms:nvidia-450-server-modules} +Provides: ${dkms:nvidia-450-server-modules}, nvidia-prebuilt-kernel Depends: ${misc:Depends}, linux-modules-nvidia-450-server-@ABI@-gcp (= ${binary:Version}),