From patchwork Thu Mar 30 12:57:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timo Aaltonen X-Patchwork-Id: 1763235 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) 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-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PnNkZ2F1fz1yZ0 for ; Thu, 30 Mar 2023 23:57:57 +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 1phrqi-00074S-7t; Thu, 30 Mar 2023 12:57:52 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1phrqf-00073y-RD for kernel-team@lists.ubuntu.com; Thu, 30 Mar 2023 12:57:49 +0000 Received: from localhost.localdomain (1.general.tjaalton.uk.vpn [10.172.193.56]) (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-canonical-1.canonical.com (Postfix) with ESMTPSA id 9076D429C5 for ; Thu, 30 Mar 2023 12:57:48 +0000 (UTC) From: Timo Aaltonen To: kernel-team@lists.ubuntu.com Subject: [PATCH v2 1/1] UBUNTU: [Packaging] add a new migrate autogenerate option Date: Thu, 30 Mar 2023 15:57:39 +0300 Message-Id: <20230330125739.876314-2-tjaalton@ubuntu.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230330125739.876314-1-tjaalton@ubuntu.com> References: <20230330125739.876314-1-tjaalton@ubuntu.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" From: Kleber Sacilotto de Souza BugLink: https://bugs.launchpad.net/bugs/1991130 Add a new "migrate" command to be used by 'debian/package.config' which contrary to "transitional" doesn't have the autogenerated contents filtered out by 'debian/rules.in' depending on the source's variants. v2: rebased, and added Provides which is needed to replace the old driver Signed-off-by: Kleber Sacilotto de Souza Signed-off-by: Timo Aaltonen Acked-by: Andrei Gherzan Acked-by: Stefan Bader --- debian/scripts/generate-rules | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/debian/scripts/generate-rules b/debian/scripts/generate-rules index d9a2a10..90dc570 100755 --- a/debian/scripts/generate-rules +++ b/debian/scripts/generate-rules @@ -38,6 +38,7 @@ mkdir -p "debian/control.d" : >"debian/control.d/nvidia" : >"debian/control.d/migrate-nvidia" : >"debian/control.d/transitionals-local" +: >"debian/control.d/migrate-local" : >"debian/control.d/signatures" cat - "debian/rules.in" >"debian/rules.gen" < linux-modules-nvidia-$to" + cat - >>"debian/control.d/migrate-local" <