From patchwork Thu Sep 29 16:33:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kleber Sacilotto de Souza X-Patchwork-Id: 1684559 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=) Authentication-Results: legolas.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=gvvef7iv; dkim-atps=neutral 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 4Mdf7n01j3z1yqS for ; Fri, 30 Sep 2022 02:33:56 +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 1odwTp-0006c3-T9; Thu, 29 Sep 2022 16:33:45 +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 1odwTo-0006bU-2i for kernel-team@lists.ubuntu.com; Thu, 29 Sep 2022 16:33:44 +0000 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (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 6C65441470 for ; Thu, 29 Sep 2022 16:33:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1664469222; bh=7wwRF3hOGu8tKYiDccTZ5fRI2K4x3kdJqtOYy3F9Pzs=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gvvef7ivyoAjj+2zeLqDwcYlxp4PrEC/OWFh+OOVCam7aR9UGuEoYi+mTmTW+hfJe InHwkCQ29fPvit7DUa91MaPcud2MT6Mr+QZtlPUvHr+hwQZNFrqXNYuZAvAT4OkNIe XyoopigE9gh2UmHW6YjpTc9hCr2bx5ZYnEY6Lr/bxxq7Y+2O8fzOKe53Kb/2YZiHgG Tc16wumsIbpjvVgnHUDdFn6Hdod5ek2OjpFiwi2a74K+c08QmQd84u3VJzpF00FXT+ aJUgFGBdwT5jzRnPe+Vwh/IF2x3OIEd1o+ofyDk6cVSVCB3zTuhQROLOnZC0BYM8Ed Tb9n8jzrwv+uQ== Received: by mail-ed1-f69.google.com with SMTP id r11-20020a05640251cb00b004516feb8c09so1658738edd.10 for ; Thu, 29 Sep 2022 09:33:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=7wwRF3hOGu8tKYiDccTZ5fRI2K4x3kdJqtOYy3F9Pzs=; b=UgNxVAPnIqEfee+D87ogG707L1gLjSVicVImXXdx7+AgwtPzjnL/pVMGvuWgE0LJWu vWxnSDDcQZQ1wS+g8gP+UmOiTfJ7Y6Y2ygvXovfWUX6fCJ60Rv4SUvdtdVMwVJ1dWpgV +wIkWSWqazzF6W6e7q/FVV8nGELNxN+u54WgQK2ncERY2r+tg1+gNObv9wbTJ395AWsx 8+j3N729Ul1MFWU5gLNPk0ruO+WVglW1RmdT7MLqzQMOGhVBl9mzMN/W1o8G+Fu3JxAr aRmVv3ljqG+WEN6E2+gU8aGYbsfqf8/Ta/p+tlXFeWOgJhAtwYj7pIfXjkwZ8819jIdO Bgww== X-Gm-Message-State: ACrzQf2GnB06kBnchEJadK+fTBaj8B+vWDh6fLPGSCHrkRvQaahNKt3W DOVu8z/h18QzsWrrnU9/0XWR7LrygsUbLo97UOUokwzxEqph0s/tLFKIkmF55/7vqg9FU86Ml87 aLe479VyfNAAADXpe91U1vhvapEFNMCb9pOnq7X0jnQ== X-Received: by 2002:aa7:c549:0:b0:457:421d:449c with SMTP id s9-20020aa7c549000000b00457421d449cmr4203574edr.260.1664469222154; Thu, 29 Sep 2022 09:33:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4u6dPzYmi68oCgA9tK4eMEwV05wo+mTzTxDruL9Cz76EgLKCiOeRYK2TAse/PhwpQHefopMA== X-Received: by 2002:aa7:c549:0:b0:457:421d:449c with SMTP id s9-20020aa7c549000000b00457421d449cmr4203555edr.260.1664469221902; Thu, 29 Sep 2022 09:33:41 -0700 (PDT) Received: from localhost.localdomain (p5087fd3d.dip0.t-ipconnect.de. [80.135.253.61]) by smtp.gmail.com with ESMTPSA id r15-20020a170906c28f00b0073d87068042sm4215574ejz.110.2022.09.29.09.33.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 09:33:41 -0700 (PDT) From: Kleber Sacilotto de Souza To: kernel-team@lists.ubuntu.com Subject: [SRU][f:linux-restricted-modules-hwe-5.15][PATCH 1/1] UBUNTU: [Packaging] add a new migrate autogenerate option Date: Thu, 29 Sep 2022 18:33:28 +0200 Message-Id: <20220929163328.229460-2-kleber.souza@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220929163328.229460-1-kleber.souza@canonical.com> References: <20220929163328.229460-1-kleber.souza@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" 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. Signed-off-by: Kleber Sacilotto de Souza Acked-by: Stefan Bader --- debian/scripts/gen-rules.lrm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/debian/scripts/gen-rules.lrm b/debian/scripts/gen-rules.lrm index 574a00ec..ebd17f1f 100755 --- a/debian/scripts/gen-rules.lrm +++ b/debian/scripts/gen-rules.lrm @@ -25,6 +25,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" <