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

[Xen-changelog] Fix application of OS patches to deal better with failure.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 41c8a2ea07c0df8c4fd69f5d4a6343eae89569ec
# Parent  cc1c250e672d138b355444881c9c907824e1f336
Fix application of OS patches to deal better with failure.

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

diff -r cc1c250e672d -r 41c8a2ea07c0 buildconfigs/Rules.mk
--- a/buildconfigs/Rules.mk     Fri Nov 11 10:01:32 2005
+++ b/buildconfigs/Rules.mk     Fri Nov 11 10:16:46 2005
@@ -84,7 +84,7 @@
        rm -rf $(@D)
        cp -al $(<D) $(@D)
        if [ -d patches/$* ] ; then \
-           for i in patches/$*/*.patch ; do ( cd $(@D) ; patch -p1 <../$$i || 
exit 1 ) ; done ; \
+           for i in patches/$*/*.patch ; do patch -d $(@D) -p1 <$$i || exit 1 
; done ; \
        fi
        touch $@ # update timestamp to avoid rebuild
 endif

_______________________________________________
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®.