]> xenbits.xensource.com Git - raisin.git/commitdiff
raisin: disable stubdoms and etherboot in xen
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 20 Nov 2015 10:56:43 +0000 (10:56 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 20 Nov 2015 10:56:43 +0000 (10:56 +0000)
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@eu.citrix.com>
components/xen

index 090cceb56f3591f80db4c3deab3675b0dcd8fca4..894d119f9cbde9528d6d9ae165935c44208d44ad 100644 (file)
@@ -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"
 }