From 2e83baaca2c998cfdda281301dffb09a1a20aa5c Mon Sep 17 00:00:00 2001 From: Joris van Lieshout Date: Thu, 22 May 2014 15:25:45 +0200 Subject: [PATCH] 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 --- systemvm/patches/debian/xe/xe-update-guest-attrs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemvm/patches/debian/xe/xe-update-guest-attrs b/systemvm/patches/debian/xe/xe-update-guest-attrs index 30a44980b92..6c605be420b 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