diff options
author | pl@us.ibm.com <pl@us.ibm.com> | 2006-02-22 16:02:54 +0100 |
---|---|---|
committer | pl@us.ibm.com <pl@us.ibm.com> | 2006-02-22 16:02:54 +0100 |
commit | c9eb2aae5d5d22fd4bb34bd8b5d253cfab3f9d4b (patch) | |
tree | c201da6f2a0c78d0612fc1c2a59d5bee55fa3e60 /tools/xm-test/ramdisk | |
parent | acd1abe9f93c8148f6c53a9e6a0a939843a1dbd3 (diff) | |
download | xen-c9eb2aae5d5d22fd4bb34bd8b5d253cfab3f9d4b.tar.gz xen-c9eb2aae5d5d22fd4bb34bd8b5d253cfab3f9d4b.tar.bz2 xen-c9eb2aae5d5d22fd4bb34bd8b5d253cfab3f9d4b.zip |
XM-Test takes a really long time to build the initrd it uses for testing. This patch to the Makefile allows you to specify INITRD="url" when running make existing to make it download a prebuilt copy of the initrd from a repository.
Signed-off-by: Paul Larson <pl@us.ibm.com>
Diffstat (limited to 'tools/xm-test/ramdisk')
-rw-r--r-- | tools/xm-test/ramdisk/Makefile.am | 3 |
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 \ |