From patchwork Tue Sep 15 13:26:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 7184851 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DA66F9F380 for ; Tue, 15 Sep 2015 13:26:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F0D57206A3 for ; Tue, 15 Sep 2015 13:26:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 23FC520515 for ; Tue, 15 Sep 2015 13:26:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752423AbbION0c (ORCPT ); Tue, 15 Sep 2015 09:26:32 -0400 Received: from mail-lb0-f177.google.com ([209.85.217.177]:36845 "EHLO mail-lb0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752409AbbION0c (ORCPT ); Tue, 15 Sep 2015 09:26:32 -0400 Received: by lbcao8 with SMTP id ao8so84893683lbc.3 for ; Tue, 15 Sep 2015 06:26:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=slhTlb6jXbZPMDgwC1Kh6QF2q5z0hH3z1GJgeCzBhTA=; b=IbGqtAy5pk3AblmdNnDtHiuK+qCMIQZLbL7WszzcvRUaKC0yrCRb6i9SyClVPZYiLl YGh2ve2RHIsWAetl4RxMwumAC7pbDwkGIpqPUvE01XIoZygSdUw/u15aKqtsS+OSVflU 8Len5JG+NUECq2jfh6XG21TbD9Clcb46Lo9li0EpBTIjqXAG1O7uVZdldq5lpehTYxz6 tlz/gQsZ14jRIXdxikR64uJdDEKFUrKdU/wvfQIpP+p+/mU2Tx2B+EshO/WX47WhWuwm wcUeEIJnnLNMRSSaDK6QOxzAJxNWyr1nVzoBbsZ5AYJECU1D40YALtipAQnI++qBfHly tuFQ== X-Gm-Message-State: ALoCoQnx70oW22myl3EuA22/jdUEvDkVRbaJmDHsh9FsercDn5WOMdc14gAiRVR5Wj72VGddGxuz X-Received: by 10.152.37.135 with SMTP id y7mr19141141laj.106.1442323590521; Tue, 15 Sep 2015 06:26:30 -0700 (PDT) Received: from beaming.home (91-157-196-38.elisa-laajakaista.fi. [91.157.196.38]) by smtp.gmail.com with ESMTPSA id b1sm3299951lah.11.2015.09.15.06.26.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 Sep 2015 06:26:29 -0700 (PDT) From: riku.voipio@linaro.org To: linux-kbuild@vger.kernel.org, mmarek@suse.cz Cc: ben@decadent.org.uk, dsmythies@telus.net, Riku Voipio Subject: [PATCH] builddeb: remove debian/files before build Date: Tue, 15 Sep 2015 16:26:27 +0300 Message-Id: <1442323587-21086-1-git-send-email-riku.voipio@linaro.org> X-Mailer: git-send-email 2.1.4 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Riku Voipio As debian/files keeps accumulating entries, the changelog will end up growing indefinelty. Remove the file in clean rule and before build starts. Signed-off-by: Riku Voipio Reported-by: Doug Smythies --- scripts/package/builddeb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/package/builddeb b/scripts/package/builddeb index 0cd46e1..c9357df 100755 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -115,7 +115,7 @@ esac BUILD_DEBUG="$(grep -s '^CONFIG_DEBUG_INFO=y' $KCONFIG_CONFIG || true)" # Setup the directory structure -rm -rf "$tmpdir" "$fwdir" "$kernel_headers_dir" "$libc_headers_dir" "$dbg_dir" +rm -rf "$tmpdir" "$fwdir" "$kernel_headers_dir" "$libc_headers_dir" "$dbg_dir" $objtree/debian/files mkdir -m 755 -p "$tmpdir/DEBIAN" mkdir -p "$tmpdir/lib" "$tmpdir/boot" mkdir -p "$fwdir/lib/firmware/$version/" @@ -408,7 +408,7 @@ binary-arch: \$(MAKE) KDEB_SOURCENAME=${sourcename} KDEB_PKGVERSION=${packageversion} bindeb-pkg clean: - rm -rf debian/*tmp + rm -rf debian/*tmp files mv debian/ debian.backup # debian/ might be cleaned away \$(MAKE) clean mv debian.backup debian