diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-12 20:38:29 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-12 20:39:35 +0000 |
commit | e63d0a0f87bf97d1fc7f69ae80f7b534ebbd5588 (patch) | |
tree | 14ef8a2e7ecacec0fd7a836b49e4abf351c82d72 /testing | |
parent | 49beded59a8d56b930765c9af2bbf3e0983e892c (diff) | |
download | aports-e63d0a0f87bf97d1fc7f69ae80f7b534ebbd5588.tar.bz2 aports-e63d0a0f87bf97d1fc7f69ae80f7b534ebbd5588.tar.xz |
testing/xen: build fix
we need librt.
also add pciutils-dev for pci passthough support and only build
stubdom non-parallell.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/xen/APKBUILD | 9 | ||||
-rw-r--r-- | testing/xen/librt.patch | 11 |
2 files changed, 17 insertions, 3 deletions
diff --git a/testing/xen/APKBUILD b/testing/xen/APKBUILD index fdeec5236a..5a8a1974d3 100644 --- a/testing/xen/APKBUILD +++ b/testing/xen/APKBUILD @@ -8,7 +8,8 @@ url="http://www.xen.org" arch="x86 x86_64" license="GPL" depends="udev syslinux bash" -depends_dev="openssl-dev python-dev e2fsprogs-dev gettext zlib-dev ncurses-dev libiconv-dev dev86 texinfo perl iasl sed" +depends_dev="openssl-dev python-dev e2fsprogs-dev gettext zlib-dev ncurses-dev + libiconv-dev dev86 texinfo perl iasl sed pciutils-dev" makedepends="$depends_dev" install="" subpackages="$pkgname-doc" @@ -20,6 +21,7 @@ source="http://bits.xensource.com/oss-xen/release/$pkgver/$pkgname-$pkgver.tar.g fix_ipxe_no_pie_default.patch define_fsimage_dir.patch pygrub_alpine.patch + librt.patch xencommons.initd xend.initd xendomains.initd" @@ -54,10 +56,10 @@ build() { (cd tools/check; ./chk build) || return 1 msg "Building hypervisor..." - make -j1 xen || return 1 + make xen || return 1 msg "Building tools..." - make -j1 tools || return 1 + make tools || return 1 msg "Building stub domains..." make -j1 stubdom || return 1 @@ -85,6 +87,7 @@ b973dc1ffcc6872e222b36f3b7b4836b fix_bswap_blktap2.patch 10dcf0b6a05691e9f88afc01bd414480 fix_ipxe_no_pie_default.patch 0bb8a435020a5a49b38b1a447fb69977 define_fsimage_dir.patch f64405982218db306c2b5cf3167ff944 pygrub_alpine.patch +fa06495a175571f4aa3b6cb88937953e librt.patch 4cf88b53f8ca8d99ad52bae419b620a7 xencommons.initd b5bfc08b82bc0d21193714719a719798 xend.initd 86e7923383a906404da321d1814657e9 xendomains.initd" diff --git a/testing/xen/librt.patch b/testing/xen/librt.patch new file mode 100644 index 0000000000..cbb52071a5 --- /dev/null +++ b/testing/xen/librt.patch @@ -0,0 +1,11 @@ +--- ./tools/ioemu-qemu-xen/Makefile.target.orig ++++ ./tools/ioemu-qemu-xen/Makefile.target +@@ -520,7 +520,7 @@ + OBJS+=block-raw-posix.o + endif + +-LIBS+=-lz ++LIBS+=-lz -lrt + ifdef CONFIG_ALSA + LIBS += -lasound + endif |