[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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: pgphfw5q6k87N.pgp
Description: PGP signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.