From 5fe3855a6cf69c4aaed89c47b7e7937b9c66d07e Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Fri, 20 Nov 2015 10:56:43 +0000 Subject: [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 --- components/xen | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" } -- 2.39.5