ia64/xen-unstable

changeset 9467:b427e44d0d6c

Download the initrd from xm-test.xensource.com, unless otherwise specified.
Don't download it again if it's already present.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Tue Mar 28 11:47:20 2006 +0100 (2006-03-28)
parents af1ff22a5633
children 26725ee13b23
files tools/xm-test/ramdisk/Makefile.am
line diff
     1.1 --- a/tools/xm-test/ramdisk/Makefile.am	Tue Mar 28 11:26:29 2006 +0100
     1.2 +++ b/tools/xm-test/ramdisk/Makefile.am	Tue Mar 28 11:47:20 2006 +0100
     1.3 @@ -1,3 +1,4 @@
     1.4 +INITRD ?= http://xm-test.xensource.com/ramdisks
     1.5  
     1.6  EXTRA_DIST = skel configs patches
     1.7  
     1.8 @@ -60,7 +61,7 @@ disk.img: existing
     1.9  	fi
    1.10  
    1.11  existing:
    1.12 -	@if test -n "$(INITRD)"; then \
    1.13 +	@if [ -n "$(INITRD)" ] && [ ! -f $(XMTEST_VER_IMG) ] ; then \
    1.14  		wget $(INITRD)/$(XMTEST_VER_IMG); \
    1.15  	fi
    1.16  	@if [ -f $(XMTEST_VER_IMG) ] ; then \