xen: fix runit services; remove unnecessary rdeps.

This commit is contained in:
Juan RP 2014-10-15 18:44:38 +02:00
parent aee8f0789f
commit 8e357db3fd
4 changed files with 7 additions and 5 deletions

View file

@ -1,5 +1,5 @@
#!/bin/sh
sv check xenstored >/dev/null || exit 1
sv check xenconsoled >/dev/null || exit 1
xenstore-write "/local/domain/0/domid" 0 || exit 1
xenstore-write "/local/domain/0/name" "Domain-0" || exit 1
exec chpst -b xen pause

View file

@ -1,3 +1,4 @@
#!/bin/sh
sv check xenstored >/dev/null || exit 1
mkdir -p /var/log/xen/console
exec xenconsoled -i --log=all

View file

@ -1,6 +1,7 @@
#!/bin/sh
[ ! -d /run/xen ] && mkdir -p /run/xen
mount -t xenfs xenfs /proc/xen || exit 1
mount -t tmpfs xenstored /var/lib/xenstored || exit 1
modprobe -q xen-evtchn xen-gnttalloc || exit 1
mountpoint -q /proc/xen || mount -t xenfs xenfs /proc/xen
mountpoint -q /var/lib/xenstored || mount -t tmpfs xenstored /var/lib/xenstored
grep -q control_d /proc/xen/capabilities || exit 1
exec xenstored --verbose --no-fork

View file

@ -2,7 +2,7 @@
pkgname=xen
version=4.4.1
wrksrc=xen-${version}
revision=4
revision=5
short_desc="The Xen hypervisor utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xen.org"
@ -18,7 +18,7 @@ makedepends="
libbluetooth-devel pciutils-devel libX11-devel libXext-devel SDL-devel MesaLib-devel
ncurses-devel liblzma-devel python-devel yajl-devel libuuid-devel libglib-devel
dev86 acpica-utils pixman-devel gcc-multilib"
depends="iproute2 bridge-utils xen-hypervisor"
depends="xen-hypervisor"
replaces="runit-void<20141013_2"
build_options="systemd"