[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] raisin: disable stubdoms and etherboot in xen



Raisin is about cloning (or downloading) components explicitly and
independently, rather than having the Xen build system clone and build
stuff as part of the build process.

Unfortunately it is not possible to build stubdoms outside the Xen tree
today, so just disable stubdoms for the moment.

Similarly etherboot support requires downloading ipxe, so remove it for
now.

With this patch, building Xen via Raisin doesn't fetch anything from the
web, aside from what is configure in the config file.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

---

diff --git a/components/xen b/components/xen
index 090cceb..894d119 100644
--- a/components/xen
+++ b/components/xen
@@ -42,10 +42,13 @@ function xen_build() {
     then
         ovmf_opt="--enable-ovmf 
--with-system-ovmf="$BASEDIR"/ovmf-dir/ovmf.bin"
     fi
+    export ETHERBOOT_NICS=""
     ./configure --prefix=$PREFIX 
--with-system-qemu=$PREFIX/lib/xen/bin/qemu-system-i386 \
-        --disable-qemu-traditional --enable-rombios $seabios_opt $ovmf_opt
+        --disable-stubdom --disable-qemu-traditional \
+        --enable-rombios $seabios_opt $ovmf_opt
     $RAISIN_MAKE
     $RAISIN_MAKE install DESTDIR="$INST_DIR"
+    unset ETHERBOOT_NICS
     cd "$BASEDIR"
 }

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.