aboutsummaryrefslogtreecommitdiffstats
path: root/main/xen
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-03 08:40:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-03 08:40:22 +0000
commit175114b82d9be0f8c0250f369f31cb5b873baf83 (patch)
treea71ba1e361563c3565109d0f832edcfb8216e18e /main/xen
parent39c9b937b053061d9f86957de5ea84411a7aef9e (diff)
downloadaports-175114b82d9be0f8c0250f369f31cb5b873baf83.tar.bz2
aports-175114b82d9be0f8c0250f369f31cb5b873baf83.tar.xz
main/xen: write domain 0's domid to xenstore
Since xen 4.4 we need set domid for dom0. see http://xenbits.xen.org/gitweb/?p=xen.git;a=patch;h=02ebea7768fe723deaa56c2cfcb860874544b47d
Diffstat (limited to 'main/xen')
-rw-r--r--main/xen/APKBUILD8
-rw-r--r--main/xen/xenstored.initd7
2 files changed, 8 insertions, 7 deletions
diff --git a/main/xen/APKBUILD b/main/xen/APKBUILD
index 484b645f65..bb21130ad4 100644
--- a/main/xen/APKBUILD
+++ b/main/xen/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=xen
pkgver=4.4.1
-pkgrel=3
+pkgrel=4
pkgdesc="Xen hypervisor"
url="http://www.xen.org/"
arch="x86_64"
@@ -226,7 +226,7 @@ c9313a790faa727205627a1657b9bf06 stdint_local.h
c13f954d041a6fa78d0d241ad1780c0b elf_local.h
750138c31ec96d1a11fe0c665ac07e9e xen-hotplug-lockfd.patch
649f77b90978cd2b6d506ac44ec6c393 xen-fd-is-file.c
-bd6d294c47d4285e770aefa6e63eeea2 xenstored.initd
+821ebcac530998cc3c93925aaf9451c4 xenstored.initd
d86504e12f05deca6b3eeeb90157160e xenstored.confd
ed262f15fb880badb53575539468646c xenconsoled.initd
ec2252c72050d7d5870a3a629b873ba6 xenconsoled.confd
@@ -249,7 +249,7 @@ dd1e784bc455eb62cb85b3fa24bfc34f575ceaab9597ef6a2f1ee7ff7b3cae0a hotplug-vif-vt
7f1ed2db24d8eba87a08eea0601a9ab339209906fdfa74c8c03564a1a6e6471e elf_local.h
b183ed028a8c42a64e6fd3fb4b2b6dad832f52ed838fceb69bf681de4e7d794f xen-hotplug-lockfd.patch
d0b3e5f282a07878341c38f40d01041ed37623757a99d6e0a420ca64d1f4ef2a xen-fd-is-file.c
-2f3fa767e57c18433d196bb2aecfb575224183193f4acece85971683a9a5411b xenstored.initd
+87d391c666a1facafaf33bdd69523ec877a687262e267ff032cbca7f714ccd15 xenstored.initd
991bb7c9da02941556e29714bd96b26e39e57e0a5b514eadd78d9bfa3fa5a9dc xenstored.confd
93bea2eb90ea1b4628854c8141dd351bbd1fbc5959b12795447ea933ad025f01 xenconsoled.initd
2a74be03eb74f6013242a4a5d721df6cb9b959b43c405de1e32813f52d749060 xenconsoled.confd
@@ -272,7 +272,7 @@ c3a1b270347a99c8ce21118010ad8d817b4462a31cc5c75352faa7086969ef0646f3f4d0922d85c2
853467a2d055c5bfbdc7bdca175a334241be44a7c5ac3c0a84a4bc5463b5c070b66d37e2a557429ef860727a6b7350683af758cc2494d85b6be4d883143a2c0d elf_local.h
79cb1b6b81b17cb87a064dfe3548949dfb80f64f203cac11ef327102b7a25794549ce2d9c019ebf05f752214da8e05065e9219d069e679c0ae5bee3d090c685e xen-hotplug-lockfd.patch
e76816c6ad0e91dc5f81947f266da3429b20e6d976c3e8c41202c6179532eec878a3f0913921ef3ac853c5dbad8082da3c9cd53b65081910516feb492577b7fc xen-fd-is-file.c
-7a21f7cc05d5593a96ca5254ffed55919de97d7a1fe0d5b360876a5c0811416c9f985682c5b70325d99166ebabd149d0d061ea58da4283b2b0d2aab0d75e5368 xenstored.initd
+84b62a02709e1fd760d766c2d72f69a5d18dfc54bcbc9db140e30131b5f5fe1b163911bd910012184229586f0ff9a48b6190cc3f7a604d2393df0220d016984e xenstored.initd
093f7fbd43faf0a16a226486a0776bade5dc1681d281c5946a3191c32d74f9699c6bf5d0ab8de9d1195a2461165d1660788e92a3156c9b3c7054d7b2d52d7ff0 xenstored.confd
12f981b2459c65d66e67ec0b32d0d19b95a029bc54c2a79138cfe488d3524a22e51860f755abfe25ddcdaf1b27f2ded59b6e350b9d5f8791193d00e2d3673137 xenconsoled.initd
30df69cc38d0bed26bc4d6e08a2b62cbdc654d5f663009a05cb3b83b3e3dc5e206362d3fd59abbb753ceb8d6d79eaa6e15d079bb8f4f35dc74667103faf4e85d xenconsoled.confd
diff --git a/main/xen/xenstored.initd b/main/xen/xenstored.initd
index cfb6957d4f..e92eb40b04 100644
--- a/main/xen/xenstored.initd
+++ b/main/xen/xenstored.initd
@@ -59,9 +59,10 @@ start() {
fi
eend $? || return 1
- ebegin "Setting domain0 name record"
- /usr/bin/xenstore-write "/local/domain/0/name" "Domain-0"
- eend $*
+ ebegin "Setting domain0 name and domid record"
+ /usr/bin/xenstore-write "/local/domain/0/name" "Domain-0" \
+ && /usr/bin/xenstore-write "/local/domain/0/domid" 0
+ eend $?
}
stop() {