From patchwork Fri Jan 22 16:23:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Whitcroft X-Patchwork-Id: 1430431 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=) 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 4DMl1c3x6mz9sVm; Sat, 23 Jan 2021 03:23:32 +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 1l2zDc-0004Hl-2j; Fri, 22 Jan 2021 16:23:28 +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 1l2zDa-0004Fz-65 for kernel-team@lists.ubuntu.com; Fri, 22 Jan 2021 16:23:26 +0000 Received: from mail-ed1-f72.google.com ([209.85.208.72]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1l2zDZ-0006YQ-V0 for kernel-team@lists.ubuntu.com; Fri, 22 Jan 2021 16:23:25 +0000 Received: by mail-ed1-f72.google.com with SMTP id g14so3185980edt.12 for ; Fri, 22 Jan 2021 08:23:25 -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=6/3vrNCgbbdHi5LINVXZ6BgdxdiC+opd5K2NEPvQnUI=; b=bgqo0on31U/caHAVzwO+NO74PxmwJsI8MO3imJ3X7UJcNREXvcqIYc5xrHPG2zzAp1 p3UDrJinVn7rmK2N2DAua6esSyFf066rXStOmkow1DTwh2WlArgu9cddBh87x+b2cppD 6hgaqn/vX68lT9UMSXRJkHhbxncVIT590yXz18Qtu5qTB/A4peLcVXTs/GE3dy1R4LKU LxT37hCQYI0jRDeIV4K/mt6t1RvDbRWB44hTtsTSnGNyMHnQxMtz6wH4R+NsavTm2LFA FowPfdBzEWrNqFEWyv584LB/lgrhkeqkmVSOhbgbbucU6GFdY38EGlW4ZFczteRBKlUB GUlg== X-Gm-Message-State: AOAM532N/JeTG2+bGT8xup9a2OVmOGWA16CViRJflMmHxeJmGmoT21oy LhHtOldq0ocbmD7Parf8NLGWfpqlyLjXsRiSYV/pCfOkuqbWrCOo+EsDdAWc4Bxb32bdL1j3LEi 7RiY1WGp0S4guvT63Lt7A0m+dIMenIXUJTozRCcnyhw== X-Received: by 2002:a17:906:11d6:: with SMTP id o22mr3610985eja.106.1611332605284; Fri, 22 Jan 2021 08:23:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvPnH6RxoDPM0UVQIdLxRaIP+dZ9+KtV6+X1QII0Ri55nqG25vbXvz15fBzv3b5L+g8X6N+g== X-Received: by 2002:a17:906:11d6:: with SMTP id o22mr3610979eja.106.1611332605058; Fri, 22 Jan 2021 08:23:25 -0800 (PST) Received: from localhost ([2001:470:6973:2:cb60:1396:20d7:1932]) by smtp.gmail.com with ESMTPSA id u9sm4726568ejc.57.2021.01.22.08.23.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 08:23:24 -0800 (PST) From: Andy Whitcroft To: kernel-team@lists.ubuntu.com Subject: [PATCH 5/9] UBUNTU: [Packaging] generate nvidia version mappings at clean time -- add signonly Date: Fri, 22 Jan 2021 16:23:07 +0000 Message-Id: <20210122162312.459010-7-apw@canonical.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210122162312.459010-1-apw@canonical.com> References: <20210122162312.459010-1-apw@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: Andy Whitcroft Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" Signed-off-by: Andy Whitcroft --- debian/scripts/gen-rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/scripts/gen-rules b/debian/scripts/gen-rules index f52697d..4ea032c 100755 --- a/debian/scripts/gen-rules +++ b/debian/scripts/gen-rules @@ -29,6 +29,10 @@ EOL *) continue ;; esac + case " $extra " in + *\ signonly\ *) continue ;; + esac + suffix_minus=$(echo "$package" | sed -e 's/nvidia-graphics-drivers-//') suffix_under=$(echo "$suffix_minus" | sed -e 's/-/_/g') suffix_short=$(echo "$suffix_minus" | sed -e 's/-server/srv/g')