From patchwork Wed Jun 26 23:19:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel de Perthuis X-Patchwork-Id: 2789201 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 690A19F3A0 for ; Wed, 26 Jun 2013 23:20:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6FA6420243 for ; Wed, 26 Jun 2013 23:20:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 875A620200 for ; Wed, 26 Jun 2013 23:20:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753345Ab3FZXUE (ORCPT ); Wed, 26 Jun 2013 19:20:04 -0400 Received: from mail-wg0-f48.google.com ([74.125.82.48]:44732 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753102Ab3FZXUD (ORCPT ); Wed, 26 Jun 2013 19:20:03 -0400 Received: by mail-wg0-f48.google.com with SMTP id f11so44158wgh.27 for ; Wed, 26 Jun 2013 16:20:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=EdeAbpvo88bICHo4Fp+dXB/aIoF5eOLUudJErWWVn8U=; b=hzCxD67xC1f55bcTWQqmplC4PbBQ4LgzXa6XHtethkUwBdvn4CKEZgLGevMQA2a00K +csxZPgxXxF5kKodWWl+6UZ+LSQIxDqIoeYxAFq/AUHPTXRku4DVm+Zg4FdWUqXv9i0t Hx4PJgZciEkgLW53ceSvtXdZL7q3jmwibtxnEugFI2ll4msnaJILFlU06uiiFk7OUTrM I4ZHBSVxPyPJuIvdzuespBk9xiV8r3ubExXxB9XvvUoHv/KcHiUTu7gflyigqNpw1JXK btzyfKicpxFklRupfat2p+I/Gos8hxHl7PjMfL+Pl9FR5f49Z/wBmc88/FA0Sc/HzQdb pNfw== X-Received: by 10.195.12.18 with SMTP id em18mr4280842wjd.78.1372288801247; Wed, 26 Jun 2013 16:20:01 -0700 (PDT) Received: from ?IPv6:2a01:e35:8a2c:b230:252c:94df:b75a:adc4? ([2a01:e35:8a2c:b230:252c:94df:b75a:adc4]) by mx.google.com with ESMTPSA id b9sm2971182wik.5.2013.06.26.16.19.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Jun 2013 16:20:00 -0700 (PDT) Message-ID: <51CB771D.7070908@gmail.com> Date: Thu, 27 Jun 2013 01:19:57 +0200 From: Gabriel de Perthuis User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Michal Marek CC: linux-kbuild@vger.kernel.org Subject: [PATCH 2/2] scripts: Don't run find across mountpoints Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Signed-off-by: Gabriel de Perthuis --- Makefile | 2 +- scripts/tags.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9981504..9ac86d7 100644 --- a/Makefile +++ b/Makefile @@ -403,11 +403,11 @@ export KBUILD_ARFLAGS # even be read-only. export MODVERDIR := $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/).tmp_versions # Files to ignore in find ... statements -export RCS_FIND_IGNORE := ( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \ +export RCS_FIND_IGNORE := -xdev ( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \ -o -name .pc -o -name .hg -o -name .git ) -prune -o export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn \ --exclude CVS --exclude .pc --exclude .hg --exclude .git # =========================================================================== diff --git a/scripts/tags.sh b/scripts/tags.sh index 74f02e4..8d0ed62 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -10,11 +10,11 @@ if [ "$KBUILD_VERBOSE" = "1" ]; then set -x fi # This is a duplicate of RCS_FIND_IGNORE without escaped '()' -ignore="( -name SCCS -o -name BitKeeper -o -name .svn -o \ +ignore="-xdev ( -name SCCS -o -name BitKeeper -o -name .svn -o \ -name CVS -o -name .pc -o -name .hg -o \ -name .git ) \ -prune -o" # Do not use full path if we do not use O=.. builds