diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2012-03-30 13:06:52 +0400 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2012-03-30 13:06:52 +0400 |
commit | 60503bd0d8239357a75fb04cb48edb9ff71f22d7 (patch) | |
tree | 3eb457e04e478cf0b2acb3909bbcc77128ed2798 /app-emulation/xen-tools/xen-tools-9999.ebuild | |
parent | Adding xen-tools-4.1.2-r3.ebuild, fix static-libs (diff) | |
download | virtualization-60503bd0d8239357a75fb04cb48edb9ff71f22d7.tar.gz virtualization-60503bd0d8239357a75fb04cb48edb9ff71f22d7.tar.bz2 virtualization-60503bd0d8239357a75fb04cb48edb9ff71f22d7.zip |
[app-emulation/xen-tools] Fixes for live version from Daniel Heemann
(Portage version: 2.2.0_alpha94/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-emulation/xen-tools/xen-tools-9999.ebuild')
-rw-r--r-- | app-emulation/xen-tools/xen-tools-9999.ebuild | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/app-emulation/xen-tools/xen-tools-9999.ebuild b/app-emulation/xen-tools/xen-tools-9999.ebuild index 452628a..8c70104 100644 --- a/app-emulation/xen-tools/xen-tools-9999.ebuild +++ b/app-emulation/xen-tools/xen-tools-9999.ebuild @@ -93,7 +93,7 @@ RESTRICT="test" pkg_setup() { python_set_active_version 2 python_pkg_setup - export "CONFIG_LOMOUNT=y" + export "CONFIG_TESTS=n" if use qemu; then export "CONFIG_IOEMU=y" @@ -182,6 +182,16 @@ src_prepare() { -e 's:^\tfi:#\tfi:' -i \ -e 's:^\tmv _$T $T:#\tmv _$T $T:' \ -i tools/firmware/etherboot/Makefile || die + + # Patch tools/Makefile to build/install qemu & qemu-upstream correctly + epatch "${FILESDIR}/${PN}-9999-qemu.patch" +} + +src_configure() { + econf \ + --enable-lomount \ + BISON=/usr/bin/bison \ + FLEX=/usr/bin/flex } src_compile() { @@ -241,8 +251,8 @@ src_install() { newconfd "${FILESDIR}"/xenstored.confd xenstored newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains - newinitd "${FILESDIR}"/xenstored.initd xenstored \ - "${FILESDIR}"/xenconsoled.initd xenconsoled + newinitd "${FILESDIR}"/xenstored.initd xenstored + newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled if use screen; then cat "${FILESDIR}"/xendomains-screen.confd >> "${ED}"/etc/conf.d/xendomains || die |