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 <email address hidden> Uploaders: Guido Trotter <email address hidden>, Bastian Blank <email address hidden> 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.
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 0.orig/ debian/ control 2015-02-24 18:14:03.000000000 +0000 0/debian/ control 2015-04-11 19:25:28.360151702 +0100 Maintainer: Debian Xen Team <email address hidden>
--- xen-4.5.
+++ xen-4.5.
@@ -5,7 +5,7 @@
XSBC-Original-
Uploaders: Guido Trotter <email address hidden>, Bastian Blank <email address hidden>
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 0.orig/ debian/ rules.real xen-4.5. 0/debian/ rules.real 0.orig/ debian/ rules.real 2015-01-22 10:44:54.000000000 +0000 0/debian/ rules.real 2015-04-11 19:00:20.676151702 +0100 destination /usr/share/ misc/config. guess /usr/share/ misc/config. sub $(DIR) ocamltools \ qemu-traditiona l --disable-rombios \ system- qemu=/usr/ bin/qemu- system- i386 \ system- seabios= /usr/share/ seabios/ bios-256k. bin system- seabios= /usr/share/ seabios/ bios-256k. bin \ system- ovmf=/usr/ share/ovmf/ OVMF.fd --enable-ovmf
diff -ur xen-4.5.
--- xen-4.5.
+++ xen-4.5.
@@ -57,6 +57,7 @@
cp -al $(SOURCE_FILES) $(DIR)
cp --remove-
cd $(DIR); \
+ GIT=/bin/false \
WGET=/bin/false \
./configure \
--disable-docs --disable-stubdom --disable-xen \
@@ -72,7 +73,8 @@
--disable-
--disable-
--with-
- --with-
+ --with-
+ --with-
@$(stamp)
$(STAMPS_ DIR)/build- docs: DIR=$(BUILD_ DIR)/build- docs
This introduces a new dependency on the ovmf package.