projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63dcc68
)
tools/hotplug: create XEN_RUN_DIR at runtime
author
Olaf Hering
<olaf@aepfle.de>
Mon, 22 Sep 2014 12:59:56 +0000
(14:59 +0200)
committer
Ian Campbell
<ian.campbell@citrix.com>
Tue, 23 Sep 2014 09:14:16 +0000
(10:14 +0100)
Create XEN_RUN_DIR instead of hardcoded path because it is a compiletime
setting. Also /var/run might be empty on startup because it is a tmpfs
mount point.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/hotplug/Linux/init.d/xencommons.in.in
patch
|
blob
|
history
diff --git
a/tools/hotplug/Linux/init.d/xencommons.in.in
b/tools/hotplug/Linux/init.d/xencommons.in.in
index 1d860d94e3b6ed6727101ed0b1ea0b0759e3a92d..be21960236384be885270824b44585931f8345ce 100644
(file)
--- a/
tools/hotplug/Linux/init.d/xencommons.in.in
+++ b/
tools/hotplug/Linux/init.d/xencommons.in.in
@@
-60,7
+60,7
@@
do_start () {
local timeout=30
@LOAD_MODULES@
- mkdir -p
/var/run/xen
+ mkdir -p
${XEN_RUN_DIR}
if ! `${BINDIR}/xenstore-read -s / >/dev/null 2>&1`
then