From patchwork Sat Feb 10 07:55:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 127903 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1355279ljc; Sat, 10 Feb 2018 00:16:16 -0800 (PST) X-Google-Smtp-Source: AH8x226Yx9BTH2Mtk31BhK6GLIcbjnHDqOz4Gl+GUFNQVODM/yaKz4qMnfr+tANTopQhCAv9c2zH X-Received: by 10.13.225.17 with SMTP id k17mr3784429ywe.61.1518250576347; Sat, 10 Feb 2018 00:16:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518250576; cv=none; d=google.com; s=arc-20160816; b=j14JSaNT8jZGL+EUQCkrlDPe6Uw+KnwQ0yQ4E0bdDuD/WCi2rJ7Q6lEIcXspftHHJY Ubyu4uyvRnes2CkAvOT8I1Q9rEok2yLCZ/LmQUQhGs/ZBUo2FfWndlGX5ycap7RyPCgw kOKidHdDa91uwdbSfVpl54yN6I+AW964z8YBFhozzFFKf8zfBstDL1qXHLFXieNeRhNH HrxxFcatv6vI06YvV5hYnzw2wF8nrikPtauIZ4x6NkbEqOVF9bEjBjqnR858wTxcEGc4 FLjhA7m8GsI5d5Sgr7ACNzr+gLtU3vsJUrttiWkseoL3Z1a+iMzH7rX+7Tydo0LaHyKQ ldsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :references:in-reply-to:message-id:date:to:from :arc-authentication-results; bh=1WvnTw6A2MX7rtlYfjCJjrqJRm7Rv4a5rBz0i9hyQhY=; b=ZBjg6zoZfUCUWspmEsbqgQTV82USrLWFqHOP2uF0949KuUv1CRdkjmbQSaVVPSbK/X g4f9WKXm3+6vfy5wKjG8zKZOBYYPi/5HO/2IjICtohTRKRlqjLBzbh0QCZ0aqPH+JKyE 9g8Fu8bzXN81VW48+yM1jbzaf3eJM9J0lG9i2ZMLXoo7keKqZM07Qm63z93Fin9gdPqv 5UEShzrusoSk0V4R4VrPadddg5KWfa0lrdhFp+hPSQSJSuiD17gcgLCReXczzq3d9j83 sRT2RpFeVVZHV6GtG4YvVTnPWq4jG1C9mJmrvVtYPPSwUvemuonvK5aMELmnzOXs8n5T 3MgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 205si161192yws.342.2018.02.10.00.16.16 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 10 Feb 2018 00:16:16 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org Received: from localhost ([::1]:38465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQKV-0001Tj-LT for patch@linaro.org; Sat, 10 Feb 2018 03:16:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHT-0007JV-La for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQHQ-0003Gj-6y for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:07 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:38739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHP-0003Fs-Se; Sat, 10 Feb 2018 03:13:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id B7E9C40C57; Sat, 10 Feb 2018 11:13:02 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 833357AF; Sat, 10 Feb 2018 10:55:16 +0300 (MSK) Received: (nullmailer pid 22801 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:02 +0300 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 07/17] scripts/make-release: Don't archive .git files X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Michael Tokarev , Cole Robinson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Cole Robinson As was last done in 379e21c25, we don't want .git files for submodules here, which we aren't presently doing for capstone and keycodemapdb. Rather than delete the offending files before archiving, ask tar to --exclude=.git Signed-off-by: Cole Robinson Signed-off-by: Michael Tokarev Reviewed-by: Thomas Huth --- scripts/make-release | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -- 2.11.0 diff --git a/scripts/make-release b/scripts/make-release index 3917df7142..04fa9defdc 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -19,11 +19,10 @@ pushd ${destination} git checkout "v${version}" git submodule update --init (cd roms/seabios && git describe --tags --long --dirty > .version) -rm -rf .git roms/*/.git dtc/.git pixman/.git # FIXME: The following line is a workaround for avoiding filename collisions # when unpacking u-boot sources on case-insensitive filesystems. Once we # update to something with u-boot commit 610eec7f0 we can drop this line. -tar cfj roms/u-boot.tar.bz2 -C roms u-boot && rm -rf roms/u-boot +tar --exclude=.git -cjf roms/u-boot.tar.bz2 -C roms u-boot && rm -rf roms/u-boot popd -tar cfj ${destination}.tar.bz2 ${destination} +tar --exclude=.git -cjf ${destination}.tar.bz2 ${destination} rm -rf ${destination}