[Bug 1297224] Re: Improve xen packages and hvm domUs support

James Dingwall james-launchpad at dingwall.me.uk
Wed Sep 2 07:59:05 UTC 2015


I have built the xen sources from wily with the following patch to
enable HVM guest UEFI support:

diff -ur xen-4.5.0.orig/debian/control xen-4.5.0/debian/control
--- xen-4.5.0.orig/debian/control	2015-02-24 18:14:03.000000000 +0000
+++ xen-4.5.0/debian/control	2015-04-11 19:25:28.360151702 +0100
@@ -5,7 +5,7 @@
 XSBC-Original-Maintainer: Debian Xen Team <pkg-xen-devel at lists.alioth.debian.org>
 Uploaders: Guido Trotter <ultrotter at debian.org>, Bastian Blank <waldi at debian.org>
 Standards-Version: 3.9.4
-Build-Depends: autotools-dev, debhelper (>> 9), dpkg-dev (>= 1.16.0~), lsb-release, python-dev, bcc [i386 amd64], gcc-multilib [i386 amd64], e2fslibs-dev, iasl [i386 amd64], seabios (>= 1.7.4-2~) [i386 amd64], libaio-dev, libfdt-dev [armhf arm64], libglib2.0-dev, liblzma-dev, libncurses5-dev, libyajl-dev, libssl-dev, pkg-config, uuid-dev, zlib1g-dev
+Build-Depends: autotools-dev, debhelper (>> 9), dpkg-dev (>= 1.16.0~), lsb-release, python-dev, bcc [i386 amd64], gcc-multilib [i386 amd64], e2fslibs-dev, iasl [i386 amd64], seabios (>= 1.7.4-2~) [i386 amd64], libaio-dev, libfdt-dev [armhf arm64], libglib2.0-dev, liblzma-dev, libncurses5-dev, libyajl-dev, libssl-dev, pkg-config, uuid-dev, zlib1g-dev, ovmf
 XS-Python-Version: current
 
 Package: libxen-4.5
diff -ur xen-4.5.0.orig/debian/rules.real xen-4.5.0/debian/rules.real
--- xen-4.5.0.orig/debian/rules.real	2015-01-22 10:44:54.000000000 +0000
+++ xen-4.5.0/debian/rules.real	2015-04-11 19:00:20.676151702 +0100
@@ -57,6 +57,7 @@
 	cp -al $(SOURCE_FILES) $(DIR)
 	cp --remove-destination /usr/share/misc/config.guess /usr/share/misc/config.sub $(DIR)
 	cd $(DIR); \
+		GIT=/bin/false \
 		WGET=/bin/false \
 		./configure \
 			--disable-docs --disable-stubdom --disable-xen \
@@ -72,7 +73,8 @@
 			--disable-ocamltools \
 			--disable-qemu-traditional --disable-rombios \
 			--with-system-qemu=/usr/bin/qemu-system-i386 \
-			--with-system-seabios=/usr/share/seabios/bios-256k.bin
+			--with-system-seabios=/usr/share/seabios/bios-256k.bin \
+			--with-system-ovmf=/usr/share/ovmf/OVMF.fd --enable-ovmf
 	@$(stamp)
 
 $(STAMPS_DIR)/build-docs: DIR=$(BUILD_DIR)/build-docs

This introduces a  new dependency on the ovmf package.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xen in Ubuntu.
https://bugs.launchpad.net/bugs/1297224

Title:
  Improve xen packages and hvm domUs support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xen/+bug/1297224/+subscriptions



More information about the Ubuntu-server-bugs mailing list