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

[Xen-changelog] 'make mkpatches' diffs against pristine tree rather than



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 4ed269ac7d84a1c8ea3c7006657fb3cd3a9cff74
# Parent  b765c96f8127581208840cb93ea1c35d92535e6d
'make mkpatches' diffs against pristine tree rather than
ref tree, so it includes extra patches under patches/ subdirectory.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r b765c96f8127 -r 4ed269ac7d84 buildconfigs/Rules.mk
--- a/buildconfigs/Rules.mk     Mon Apr 10 10:39:32 2006
+++ b/buildconfigs/Rules.mk     Mon Apr 10 12:24:58 2006
@@ -124,14 +124,14 @@
        rm -rf tmp-$@
        cp -al $(<D) tmp-$@
        ( cd linux-2.6-xen-sparse && ./mkbuildtree ../tmp-$@ )  
-       diff -Nurp $(<D) tmp-$@ > $@ || true
+       diff -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 && ./mkbuildtree ../tmp-$@ ) 
-       diff -Nurp $(<D) tmp-$@ > $@ || true
+       diff -Nurp $(patsubst ref%,pristine%,$(<D)) tmp-$@ > $@ || true
        rm -rf tmp-$@
 
 %-mrproper: %-mrproper-extra

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


 


Rackspace

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