All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: xen-devel@lists.xensource.com
Cc: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: [PATCH] raisin: disable stubdoms and etherboot in xen
Date: Thu, 12 Nov 2015 16:12:27 +0000	[thread overview]
Message-ID: <alpine.DEB.2.02.1511121505530.526@kaball.uk.xensource.com> (raw)

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>

---

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"
 }

             reply	other threads:[~2015-11-12 16:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12 16:12 Stefano Stabellini [this message]
2015-11-12 16:23 ` [PATCH] raisin: disable stubdoms and etherboot in xen Ian Campbell
2015-11-12 17:04   ` Stefano Stabellini
2015-11-16  9:39 ` George Dunlap
2015-11-20 10:53   ` Stefano Stabellini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.02.1511121505530.526@kaball.uk.xensource.com \
    --to=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.