mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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>
This commit is contained in:
1 parent
5be19e898d
commit
394bbf04f5
1 file changed
+2
-1
@@ -1,3 +1,4 @@
|
||||
INITRD ?= http://xm-test.xensource.com/ramdisks
|
||||
|
||||
EXTRA_DIST = skel configs patches
|
||||
|
||||
@@ -60,7 +61,7 @@ disk.img: existing
|
||||
fi
|
||||
|
||||
existing:
|
||||
@if test -n "$(INITRD)"; then \
|
||||
@if [ -n "$(INITRD)" ] && [ ! -f $(XMTEST_VER_IMG) ] ; then \
|
||||
wget $(INITRD)/$(XMTEST_VER_IMG); \
|
||||
fi
|
||||
@if [ -f $(XMTEST_VER_IMG) ] ; then \
|
||||
|
||||