From patchwork Fri Jan 13 08:40:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 1725824 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=ZWWvazwC; 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 4NtZd95pCwz23fd for ; Fri, 13 Jan 2023 19:41:01 +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 1pGFcF-0001lJ-AD; Fri, 13 Jan 2023 08:40:47 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-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 1pGFc8-0001kL-En for kernel-team@lists.ubuntu.com; Fri, 13 Jan 2023 08:40:40 +0000 Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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-1.canonical.com (Postfix) with ESMTPS id C3B204166E for ; Fri, 13 Jan 2023 08:40:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1673599239; bh=mK0moe8/lneu+iulDYlsheApH+UEwxEdU7CVT25gRE8=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZWWvazwCOA2cfkpsWUDApICzr+SvupuEwgBbJqffQRTDo/pJ/shxI48S/PrY+eFdD 1zCfX5zhdAz+ySqD5rEtccTD8mGgIWiG9LRD6oHanjmjgf+xoUHP1H0NRII8GQKXlr M4trY60zlukyENYS5Nxe8n7V5/PwqIoiE2w/wdzUKNlUJ5t/CpW0zr+Ch0W1q/Hs6k TvRcCV860CFHUMdEVdQEQoXXu4fBphIp16j644nHUIJUw7J61Tb6BKgknnIIfe4LcG Pl2gBTI+yjEUN7VLXij2GBY72xRDgZwaIdTDRLGrffrfvEcGPI5GgYlumGoqog/ZBK HNDRPXGLpPEWQ== Received: by mail-ed1-f70.google.com with SMTP id y20-20020a056402271400b0046c9a6ec30fso14092589edd.14 for ; Fri, 13 Jan 2023 00:40:39 -0800 (PST) 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:message-id:reply-to; bh=mK0moe8/lneu+iulDYlsheApH+UEwxEdU7CVT25gRE8=; b=AAb1RM5dsMaDWoAILmABKxINTOTdqdHURHW/e4+q39yzgHjs5USjdk0BJp7TWjYZ5z LmcuYd1lp4141kg5EKWkVLZceTO/EP2W0sKp8RtuhqQekDDyGq4KdSWnge6rpJFERW+1 edVYnlHTkFqRfpPlvezFk2ARbDaGO5g91kS/6xkGIiTJ+RtDnh1H4QQXklESsF5DTIJF Gxowivn8ypiJIVSSfb6gfs4x7w4qGl7l9XhJDwUssPuYijERix0USjeSwougFNQZ44LA IQy3ptV6z2m3/4LQlSm6Lkrn4VzSlDz2c1tqGA2MuENZQzmFh1/CGrGLt9HdUIFJgIaa KuLg== X-Gm-Message-State: AFqh2kpI9eQgxfXVV/Y7lBxNtQrukEOjOiSmi2LiSB2Gq/qWUkRI7zPM TJ3ANwUxM0rLXUxIEucfCA4ngRPhCnYMXiR9HmsUtqKFEk97J8/h0FO195yangcqnDGT4pReuj6 smPDL+BnRsbBFd6NM5zr/DIwqw0LAPXRjfZkOVpR0ow== X-Received: by 2002:a05:6402:c4c:b0:48f:acd1:8da2 with SMTP id cs12-20020a0564020c4c00b0048facd18da2mr30894018edb.27.1673599239391; Fri, 13 Jan 2023 00:40:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXse12VMbE4vSCtgRkYV+2tpsSrDzeuYN8tbvjFs4J57LWnqvFMIXj+ngt3fxsr/3+ypy78c3Q== X-Received: by 2002:a05:6402:c4c:b0:48f:acd1:8da2 with SMTP id cs12-20020a0564020c4c00b0048facd18da2mr30894012edb.27.1673599239166; Fri, 13 Jan 2023 00:40:39 -0800 (PST) Received: from localhost.localdomain ([194.191.244.86]) by smtp.gmail.com with ESMTPSA id b20-20020aa7c6d4000000b004610899742asm7967542eds.13.2023.01.13.00.40.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 00:40:38 -0800 (PST) From: Juerg Haefliger To: kernel-team@lists.ubuntu.com Subject: [Unstable/Lunar][PATCH 2/3] UBUNTU: [Packaging] debian/rules: Remove debug package install directory earlier Date: Fri, 13 Jan 2023 09:40:32 +0100 Message-Id: <20230113084033.256973-3-juerg.haefliger@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230113084033.256973-1-juerg.haefliger@canonical.com> References: <20230113084033.256973-1-juerg.haefliger@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" Remove the debug package install directory immediately after the package has been built. Note: We do this just to prevent potential out-of-disk-space problems on the builders. Signed-off-by: Juerg Haefliger --- debian/rules.d/2-binary-arch.mk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk index 6f9e808eb2e7..b42f4d989770 100644 --- a/debian/rules.d/2-binary-arch.mk +++ b/debian/rules.d/2-binary-arch.mk @@ -669,6 +669,9 @@ ifeq ($(do_dbgsym_package),true) $(lockme) sed -i '/^$(dbgpkg)_/s/\.deb /.ddeb /' debian/files # Now, the package wont get into the archive, but it will get put # into the debug system. + + # Clean out the debugging package source directory. + rm -rf $(dbgpkgdir) endif ifeq ($(do_linux_tools),true) @@ -678,11 +681,6 @@ ifeq ($(do_cloud_tools),true) $(call dh_all,$(pkgcloud)) endif -ifneq ($(do_full_build),false) - # Clean out the debugging package source directory. - rm -rf $(dbgpkgdir) -endif - # # per-architecture packages #