From patchwork Thu Apr 14 21:21:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1617463 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: 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-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KfXTP1fBZz9sGG for ; Fri, 15 Apr 2022 07:21:43 +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 1nf6uB-000898-Sy; Thu, 14 Apr 2022 21:21:31 +0000 Received: from mail-pg1-f170.google.com ([209.85.215.170]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nf6u9-000882-UK for kernel-team@lists.ubuntu.com; Thu, 14 Apr 2022 21:21:30 +0000 Received: by mail-pg1-f170.google.com with SMTP id h5so5836472pgc.7 for ; Thu, 14 Apr 2022 14:21:29 -0700 (PDT) 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=a0iHdOezzQKKetkRMRRg5P5dH2EKMIYYNkguxKpBkdQ=; b=DTki5OG0lo+whlGGMA3wOqwssy+UNiox8DinZGIPX8O5tFqceS3wsbjXznsPlMwjo1 UjqDaQYnAQ3LV34Tfzsyg3wQ6UpSlRm20FO2njw1UDwjbZN6RXCtJkTmHiZwdmb7ekkE acWzfixhKsuFH3PLkCrh7Spnkf1Xrt3UhKVrn/icQoqmI4pZFOgqfhGQsrPVMnZJy+gg ifUbSvjkWYccDPciafoOZ0gUjUsr6M4er5apru9uBXHDTkih9hxak+6oq7PS7jBltlPH H12oOTs+F3Fp9gOWkcf0nLNkKB5Svpa/DDegUHGOmQffiKop9b04LNMynLZQZISJmqLx 9kvA== X-Gm-Message-State: AOAM531k6H7hFo0Apu9p6NWcAspsyZhZBPvUrpId3Oiu1m3sWs3ujDZa YfJbVOW7sOvZ8zQCfevBO/PEJTVhv7k= X-Google-Smtp-Source: ABdhPJz6pRLUvlu1kDRbX0db1Vvg2LDRrHMaUAx168eh3mfa9OJqKvaiHq9zkrpxDZGx3UFz4Y0vSQ== X-Received: by 2002:a63:f551:0:b0:39c:ce4a:8fa2 with SMTP id e17-20020a63f551000000b0039cce4a8fa2mr3873254pgk.580.1649971287881; Thu, 14 Apr 2022 14:21:27 -0700 (PDT) Received: from yewun.. (218-173-153-1.dynamic-ip.hinet.net. [218.173.153.1]) by smtp.gmail.com with ESMTPSA id b2-20020a056a000a8200b004f1111c66afsm783481pfl.148.2022.04.14.14.21.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Apr 2022 14:21:27 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/7][RFC][LRM][Unstable] debian: rename variable nvidia_ignore to suppress Date: Fri, 15 Apr 2022 05:21:17 +0800 Message-Id: <20220414212123.3616050-2-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220414212123.3616050-1-vicamo.yang@canonical.com> References: <20220414212123.3616050-1-vicamo.yang@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.215.170; envelope-from=vicamo@gmail.com; helo=mail-pg1-f170.google.com 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: "You-Sheng Yang (vicamo)" BugLink: https://bugs.launchpad.net/bugs/1962515 Signed-off-by: You-Sheng Yang (vicamo) --- debian/scripts/gen-rules.lrg | 6 +++--- debian/scripts/gen-rules.lrm | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/scripts/gen-rules.lrg b/debian/scripts/gen-rules.lrg index db61327..c739a38 100755 --- a/debian/scripts/gen-rules.lrg +++ b/debian/scripts/gen-rules.lrg @@ -46,12 +46,12 @@ EOL nvidia_desktop= nvidia_server= -nvidia_ignore= +suppress= while read command arg do case "$command" in option) ;; - suppress) nvidia_ignore="$nvidia_ignore $arg"; continue ;; + suppress) suppress="$suppress $arg"; continue ;; *) continue ;; esac @@ -89,7 +89,7 @@ do ;; *) continue ;; esac - case " $nvidia_ignore " in + case " $suppress " in *\ $package\ *) continue ;; esac diff --git a/debian/scripts/gen-rules.lrm b/debian/scripts/gen-rules.lrm index 223918f..d4c6593 100755 --- a/debian/scripts/gen-rules.lrm +++ b/debian/scripts/gen-rules.lrm @@ -59,12 +59,12 @@ fi nvidia_desktop= nvidia_server= -nvidia_ignore= +suppress= while read command arg do case "$command" in option) ;; - suppress) nvidia_ignore="$nvidia_ignore $arg"; continue ;; + suppress) suppress="$suppress $arg"; continue ;; *) continue ;; esac @@ -97,7 +97,7 @@ EOL ;; *) continue ;; esac - case " $nvidia_ignore " in + case " $suppress " in *\ $package\ *) continue ;; esac