WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Exclude *.orig from mkpatches target

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Exclude *.orig from mkpatches target
From: "S.Çağlar Onur" <caglar@xxxxxxxxxxxxx>
Date: Mon, 29 Jan 2007 16:59:57 +0200
Delivery-date: Mon, 29 Jan 2007 07:01:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: TÜBİTAK / UEKAE
Reply-to: caglar@xxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
Hi;

Attached trivial patch (against current xen-3.0.4-testing.hg) excludes *.orig 
from mkpatches targets which saves some space;

with *.orig;
-rw-r--r--  1 caglar users 4465828 Oca 29 16:50 linux-2.6-xen.patch

without *.orig
-rw-r--r--  1 caglar users 4150086 Oca 29 16:53 linux-2.6-xen.patch

Signed-off-by: S.Çağlar Onur <caglar@xxxxxxxxxxxxx>

diff -r 0be1a43e8ec6 buildconfigs/Rules.mk
--- a/buildconfigs/Rules.mk     Mon Jan 29 11:43:52 2007 +0000
+++ b/buildconfigs/Rules.mk     Mon Jan 29 16:52:24 2007 +0200
@@ -105,14 +105,14 @@ linux-2.6-xen.patch: ref-linux-$(LINUX_V
        rm -rf tmp-$@
        cp -al $(<D) tmp-$@
        ( cd linux-2.6-xen-sparse && bash ./mkbuildtree ../tmp-$@ )     
-       diff -Nurp $(patsubst ref%,pristine%,$(<D)) tmp-$@ > $@ || true
+       diff --exclude=*.orig -Nurp $(patsubst ref%,pristine%,$(<D)) tmp-$@ > 
$@ || 
true
        rm -rf tmp-$@
 
 %-xen.patch: ref-%/.valid-ref
        rm -rf tmp-$@
        cp -al $(<D) tmp-$@
        ( cd $*-xen-sparse && bash ./mkbuildtree ../tmp-$@ )    
-       diff -Nurp $(patsubst ref%,pristine%,$(<D)) tmp-$@ > $@ || true
+       diff --exclude=*.orig -Nurp $(patsubst ref%,pristine%,$(<D)) tmp-$@ > 
$@ || 
true
        rm -rf tmp-$@
 
 %-mrproper:

Cheers
-- 
S.Çağlar Onur <caglar@xxxxxxxxxxxxx>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!

Attachment: pgplyb19Z9df5.pgp
Description: PGP signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Exclude *.orig from mkpatches target, S.Çağlar Onur <=