aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test/ramdisk/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xm-test/ramdisk/Makefile.am')
-rw-r--r--tools/xm-test/ramdisk/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/xm-test/ramdisk/Makefile.am b/tools/xm-test/ramdisk/Makefile.am
index f578028129..0cdca83c80 100644
--- a/tools/xm-test/ramdisk/Makefile.am
+++ b/tools/xm-test/ramdisk/Makefile.am
@@ -57,6 +57,9 @@ disk.img: existing
fi
existing:
+ @if test -n "$(INITRD)"; then \
+ wget $(INITRD)/$(XMTEST_VER_IMG); \
+ fi
@if [ -f $(XMTEST_VER_IMG) ] ; then \
ln -sf $(XMTEST_VER_IMG) initrd.img; \
else \