From patchwork Mon Dec 18 22:33:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 122323 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3403879qgn; Mon, 18 Dec 2017 14:36:05 -0800 (PST) X-Google-Smtp-Source: ACJfBoskriCy9N+DzWMVJ2rd8qQip+ZhQAgetXyXBfg75RufbhGA4r8eHAWnCEHUnM93h7j9W/qY X-Received: by 10.37.128.199 with SMTP id c7mr1161744ybm.80.1513636565187; Mon, 18 Dec 2017 14:36:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513636565; cv=none; d=google.com; s=arc-20160816; b=0XTwB5QiwcK7lA1JG+Sd06Ezut63BZUZ+jdPC/OeFOBU+hqpHXxKwde3gRAchfjx4m PYIBiUlZZkHvAFZZyZLZnp4i+mu3hXDcFzWWrNlj0mp2QpIRLRvp03see6YJj1r539pQ t/OpBnd7iTdEI2VGqbPIUsQWoYwQQj8TerkmgMgLZaecyxcswVU8Y4iOyJEoSoQV6sGn xgZj0QtPOSVsyJG0omQ6h291nIzEGoO+IA7cY9Drk4gDuSohLwJVutpx36aS9pRZXIVB MeQFGccPAM581IUmGhluUZmXM3rkyvqYVXwCU3XJkZZobX7IiwOoh11CTeeJexFONuil j5Ng== 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:message-id:date:to:from :arc-authentication-results; bh=nl/kzLXnenU0FSmiYkJMJBK9ZfIMmXmvlsnuBF3X9wE=; b=acabZeDty8K33yQ4UcnSBIzzls8SXGgrZlynbfIg9OJqYw5I5DQECQLqMXToUlep0N oleVlXEqWx0gt5CYzm4LsYxfbxkCEBSLmJQNcnL891Zm0Jow9dFac3NYUj98BU4nIOxm Ey+9Q98v9jC48Jpj2NTmd1QjGE8kR19IBSkbMesKzX0ieGrKAcposHrXVs2ZN83Ix6fM FxrhizPepsxE81uZMwgpBW5EBK74DXsUuwPDX4B7oJh6BaU7tRlNQi+xW7z6Gdk2wwWb JziCBVo20AnyBefNGprhlYkGb4ByXFoMR1+HawM3+WsGI0j4SHxCJWIN586ycIr9BFBz XDeQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id e190si1199187ybh.466.2017.12.18.14.36.05 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 18 Dec 2017 14:36:05 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:49465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eR40y-0004MT-OF for patch@linaro.org; Mon, 18 Dec 2017 17:36:04 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eR3z1-00035i-9X for qemu-devel@nongnu.org; Mon, 18 Dec 2017 17:34:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eR3yy-0006QZ-4T for qemu-devel@nongnu.org; Mon, 18 Dec 2017 17:34:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40502) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eR3yx-0006PU-VB for qemu-devel@nongnu.org; Mon, 18 Dec 2017 17:34:00 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3B49EC04AC5B; Mon, 18 Dec 2017 22:33:57 +0000 (UTC) Received: from colepc.redhat.com (ovpn-116-232.phx2.redhat.com [10.3.116.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id A979869287; Mon, 18 Dec 2017 22:33:56 +0000 (UTC) From: Cole Robinson To: qemu-devel@nongnu.org Date: Mon, 18 Dec 2017 17:33:54 -0500 Message-Id: <458bba0e0865443a3d4e0f8e0dbb5bc712e098b9.1513636434.git.crobinso@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 18 Dec 2017 22:33:57 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH] scripts/make-release: More .git removal 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: peter.maydell@linaro.org, mdroth@linux.vnet.ibm.com, Cole Robinson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" As was last done in 379e21c25, we want to remove .git files for submodules here, which we aren't presently doing for capstone and keycodemapdb. Rather than a whitelist use 'find' to future proof this Signed-off-by: Cole Robinson --- scripts/make-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.3 Reviewed-by: Thomas Huth Reviewed-by: Daniel P. Berrange diff --git a/scripts/make-release b/scripts/make-release index 3917df7142..7c7bec577f 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -19,7 +19,7 @@ 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 +find . -depth -name .git -exec rm -rf '{}' \; # 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.