WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] XM-Test takes a really long time to build the initrd it

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] 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.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Feb 2006 18:50:07 +0000
Delivery-date: Wed, 22 Feb 2006 18:50:13 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User pl@xxxxxxxxxx
# Node ID b41e196442712ce92ed482c1310db33354ea7fc8
# Parent  13e9fdaeed277e8563d261174550130a5f20e88f
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@xxxxxxxxxx>

diff -r 13e9fdaeed27 -r b41e19644271 tools/xm-test/README
--- a/tools/xm-test/README      Wed Feb 22 08:54:20 2006
+++ b/tools/xm-test/README      Wed Feb 22 15:02:54 2006
@@ -48,6 +48,15 @@
 Simply copy the initrd-X.Y.img file into ramdisk/ and then run:
 
    # make existing
+
+Or, you can run:
+   # INITRD="http://url.of.initrd.repo/"; make existing
+
+You do not need to include the name of the image itself in the url, 
+however, an initrd with the right name (initrd.X.Y.img) and version 
+number must exist at that location.  The script will determine which 
+version of the initrd it needs and try to download the right file from 
+that location.
 
 This will set up the link so that xm-test will use the existing
 ramdisk.  Next, just run "runtest.sh" normally.  Note that in general,
diff -r 13e9fdaeed27 -r b41e19644271 tools/xm-test/ramdisk/Makefile.am
--- a/tools/xm-test/ramdisk/Makefile.am Wed Feb 22 08:54:20 2006
+++ b/tools/xm-test/ramdisk/Makefile.am Wed Feb 22 15:02:54 2006
@@ -57,6 +57,9 @@
        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 \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] 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., Xen patchbot -unstable <=