You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2014/06/10 16:29:19 UTC

[5/5] git commit: updated refs/heads/4.4 to 99aa7a0

xenstore-utils on debian wheezy does not have /usr/sbin/xenstore so these commands file. It does have xenstore-write and xenstore-rm so by adding a - this is fixed easily.

Signed-off-by: Daan Hoogland <da...@onecht.net>
(cherry picked from commit 2e83baaca2c998cfdda281301dffb09a1a20aa5c)
(cherry picked from commit ed330d4dcdfbab70230e87654b5f7fb43db6c3ac)


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/99aa7a09
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/99aa7a09
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/99aa7a09

Branch: refs/heads/4.4
Commit: 99aa7a096ac53394fb55c9b26763fc1869409172
Parents: 8ff5ca0
Author: Joris van Lieshout <jv...@schubergphilis.com>
Authored: Thu May 22 15:25:45 2014 +0200
Committer: Daan Hoogland <da...@onecht.net>
Committed: Tue Jun 10 16:29:01 2014 +0200

----------------------------------------------------------------------
 systemvm/patches/debian/xe/xe-update-guest-attrs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/99aa7a09/systemvm/patches/debian/xe/xe-update-guest-attrs
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/xe/xe-update-guest-attrs b/systemvm/patches/debian/xe/xe-update-guest-attrs
index 30a4498..6c605be 100644
--- a/systemvm/patches/debian/xe/xe-update-guest-attrs
+++ b/systemvm/patches/debian/xe/xe-update-guest-attrs
@@ -74,7 +74,7 @@ xenstore_write_cached() {
     fi
     
     # try to write and update cache if successfull
-    if $XENSTORE write "$key" "$newval" ; then
+    if $XENSTORE-write "$key" "$newval" ; then
 	mkdir -p $(dirname "$cache")
 	echo -n "$newval" > "$cache"
 	XENSTORE_UPDATED=1
@@ -104,7 +104,7 @@ xenstore_rm_cached() {
 	return 1
     fi
     # try to write and update cache if successfull
-    if $XENSTORE rm "$key" ; then
+    if $XENSTORE-rm "$key" ; then
 	rm -rf "$cache"
 	XENSTORE_UPDATED=1
 	return 0