[packages/xen] - SysVinit scripts fixes from http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2014-Decem

baggins baggins at pld-linux.org
Sat Dec 13 11:47:53 CET 2014


commit 1967bdde3b73092bc3e4b19e5be15d5e47cfc740
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Dec 13 11:44:26 2014 +0100

    - SysVinit scripts fixes from
      http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2014-December/024147.html
    - rel 3

 xen.spec        | 2 +-
 xendomains.init | 2 +-
 xenstored.init  | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/xen.spec b/xen.spec
index d5a0248..1f9989a 100644
--- a/xen.spec
+++ b/xen.spec
@@ -42,7 +42,7 @@ Summary:	Xen - a virtual machine monitor
 Summary(pl.UTF-8):	Xen - monitor maszyny wirtualnej
 Name:		xen
 Version:	4.4.1
-Release:	2
+Release:	3
 License:	GPL v2, interface parts on BSD-like
 Group:		Applications/System
 Source0:	http://bits.xensource.com/oss-xen/release/%{version}/%{name}-%{version}.tar.gz
diff --git a/xendomains.init b/xendomains.init
index 7981b2f..d4cdf40 100755
--- a/xendomains.init
+++ b/xendomains.init
@@ -31,7 +31,7 @@ shopt -s nullglob
 
 check_config_name()
 {
-	/usr/lib/xen/bin/xen-toolstack create --quiet --dryrun --defconfig "$1" | sed -n 's/^.*\("name":"\([^"]*\)",.*\)\|(name \(.*\))$/\2\3/p'
+	/usr/lib/xen/bin/xen-toolstack create --quiet --dryrun --defconfig "$1" | sed -n 's/^.*(name \(.*\))$/\1/p;s/^.*"name": "\(.*\)",$/\1/p'
 }
 
 check_running()
diff --git a/xenstored.init b/xenstored.init
index 2784da3..464272c 100644
--- a/xenstored.init
+++ b/xenstored.init
@@ -51,6 +51,7 @@ start () {
 	show "Setting domain 0 name"
 	busy
 	xenstore-write "/local/domain/0/name" "Domain-0"
+	xenstore-write "/local/domain/0/domid" "0"
 	ok
 	touch /var/lock/subsys/xenstored
 }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xen.git/commitdiff/1967bdde3b73092bc3e4b19e5be15d5e47cfc740



More information about the pld-cvs-commit mailing list