direct-io.hg

changeset 7764:41c8a2ea07c0

Fix application of OS patches to deal better with failure.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Nov 11 11:16:46 2005 +0100 (2005-11-11)
parents cc1c250e672d
children fcb7e5616102
files buildconfigs/Rules.mk
line diff
     1.1 --- a/buildconfigs/Rules.mk	Fri Nov 11 11:01:32 2005 +0100
     1.2 +++ b/buildconfigs/Rules.mk	Fri Nov 11 11:16:46 2005 +0100
     1.3 @@ -84,7 +84,7 @@ ref-%/.valid-ref: pristine-%/.valid-pris
     1.4  	rm -rf $(@D)
     1.5  	cp -al $(<D) $(@D)
     1.6  	if [ -d patches/$* ] ; then \
     1.7 -	    for i in patches/$*/*.patch ; do ( cd $(@D) ; patch -p1 <../$$i || exit 1 ) ; done ; \
     1.8 +	    for i in patches/$*/*.patch ; do patch -d $(@D) -p1 <$$i || exit 1 ; done ; \
     1.9  	fi
    1.10  	touch $@ # update timestamp to avoid rebuild
    1.11  endif