Subject: [alpine-devel] [PATCH 1/2] xen: fix xendomains init script

From: Roger Pau Monne <[email-masked]>
Date: Mon, 3 Dec 2012 17:43:48 +0100

---
 main/xen/APKBUILD         |    2 +-
 main/xen/xendomains.initd |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/main/xen/APKBUILD b/main/xen/APKBUILD
index 17bfdd0..8f59ea5 100644
--- a/main/xen/APKBUILD
+++ b/main/xen/APKBUILD
@@ -149,7 +149,7 @@ ed262f15fb880badb53575539468646c  xenconsoled.initd
 ec2252c72050d7d5870a3a629b873ba6  xenconsoled.confd
 1803ddf6877bdf254082365389a4efa9  xend.initd
 9261ad0f285836c1b0ea07f306e4586e  xend.confd
-35448ff063f8123ec4bba2e001f39c6c  xendomains.initd
+c99e24fe50ac40436040e3b012f23cdc  xendomains.initd
 9b20e056d475b50586cf9e1fc94e13c4  xendomains.confd
 9df68ac65dc3f372f5d61183abdc83ff  xen-consoles.logrotate
 6a2f777c16678d84039acf670d86fff6  xenqemu.confd
diff --git a/main/xen/xendomains.initd b/main/xen/xendomains.initd
index ce3c0c3..ff6fcdb 100644
--- a/main/xen/xendomains.initd
+++ b/main/xen/xendomains.initd
@@ -6,8 +6,8 @@
 extra_commands="status"
 
 depend() {
-	need xenstored
-	after dhcp xend xenconsoled
+	need xenstored xenconsoled
+	after dhcp
 }
 
 get_domname() {
@@ -30,7 +30,7 @@ using_screen() {
 
 set_screen_cmd() {
 	export SCREENDIR=${SCREENDIR:-/tmp/screens/S-root}
-	checkpath --directory --mode 700 "$SCREENDIR"
+	checkpath -d -m 700 "$SCREENDIR"
 	screen_cmd="screen -c ${SCREENRC:-/dev/null} -q -r ${SCREEN_NAME:=xen} -X"
 }
 
-- 
1.7.7.5 (Apple Git-26)

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Roger Pau Monne <[email-masked]>
Date: Mon, 3 Dec 2012 17:43:49 +0100

screen is needed by xendomains init script. Also bump pkgrel.
---
 main/xen/APKBUILD |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/xen/APKBUILD b/main/xen/APKBUILD
index 8f59ea5..fcb9306 100644
--- a/main/xen/APKBUILD
+++ b/main/xen/APKBUILD
@@ -3,12 +3,12 @@
 # Maintainer: William Pitcock <[email-masked]>
 pkgname=xen
 pkgver=4.2.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Xen hypervisor"
 url="http://www.xen.org/"
 arch="x86 x86_64"
 license="GPL"
-depends="syslinux bash"
+depends="syslinux bash screen"
 depends_dev="openssl-dev python-dev e2fsprogs-dev gettext zlib-dev ncurses-dev
 	libiconv-dev dev86 texinfo perl iasl pciutils-dev glib-dev yajl-dev"
 makedepends="$depends_dev"
-- 
1.7.7.5 (Apple Git-26)

---

---

From: Natanael Copa <[email-masked]>
Date: Tue, 4 Dec 2012 08:07:32 +0100

On Mon, 3 Dec 2012 17:43:48 +0100

>  2 files changed, 4 insertions(+), 4 deletions(-)

Applied.

If you add 'ref #1478' to the commit message, redmine will link the
commit to the issue in bug tracker. If you add 'fixes #1478' to commit
message it will set status to resolved.

Please note also that packages are not rebuilt unless pkgrel is bumped.

I have added you as a developer and aports maintainer to alpine linux
project in redmine so I can assign xen related issues to you.

Thank you very much!

-nc

---