From patchwork Mon Oct 7 11:21:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Agathe Porte X-Patchwork-Id: 1993564 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=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (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 4XMcmc52NYz1xtV for ; Mon, 7 Oct 2024 22:46:07 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sxmBU-0002UF-5D; Mon, 07 Oct 2024 11:45:52 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sxmBR-0002Tv-W0 for kernel-team@lists.ubuntu.com; Mon, 07 Oct 2024 11:45:50 +0000 Received: from localhost (2.general.gagath.uk.vpn [10.172.197.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 8C17640214 for ; Mon, 7 Oct 2024 11:45:49 +0000 (UTC) From: Agathe Porte To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/1][unstable] UBUNTU: [Packaging] use DEB_ prefix for some variables Date: Mon, 7 Oct 2024 13:21:33 +0200 Message-ID: <20241007114549.618267-1-agathe.porte@canonical.com> X-Mailer: git-send-email 2.45.2 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" This is an attempt at refactoring some of the kernel packaging to use well-known Debian packaging variables. If this kind of efforts are appreciated, then I will publish more refactoring efforts to the unstable kernel. The ultimate goal of these is to carve out linux-main-modules to be able to respin out-of-tree DKMS modules (zfs, etc.) without having to respin the whole kernel. [ Test ] Compiled the amd64 kernel with this packaging change on cbd. No build failure. Agathe Porte (1): UBUNTU: [Packaging] use DEB_ prefix for some variables debian/rules | 18 ++++---- debian/rules.d/0-common-vars.mk | 39 ++++++++-------- debian/rules.d/1-maintainer.mk | 12 ++--- debian/rules.d/2-binary-arch.mk | 76 ++++++++++++++++---------------- debian/rules.d/3-binary-indep.mk | 2 +- 5 files changed, 75 insertions(+), 72 deletions(-)