[xen master] tools/hotplug: create XEN_LOG_DIR at runtime

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen master] tools/hotplug: create XEN_LOG_DIR at runtime

patchbot
commit b3b3de05a84d26509122b96f299db3f8196b3fbe
Author:     Andrii Anisov <[hidden email]>
AuthorDate: Fri Oct 27 19:52:37 2017 +0300
Commit:     Wei Liu <[hidden email]>
CommitDate: Thu Nov 2 16:27:57 2017 +0000

    tools/hotplug: create XEN_LOG_DIR at runtime
   
    /var/log could be a tmpfs mount point, so create xen subfolder at runtime.
   
    Signed-off-by: Andrii Anisov <[hidden email]>
    Reviewed-by: Volodymyr Babchuk <[hidden email]>
    Reviewed-by: Oleksandr Andrushchenko <[hidden email]>
    Acked-by: Wei Liu <[hidden email]>
    Acked-by: Ian Jackson <[hidden email]>
    Release-acked-by: Julien Grall <[hidden email]>
---
 tools/hotplug/Linux/init.d/xencommons.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/hotplug/Linux/init.d/xencommons.in b/tools/hotplug/Linux/init.d/xencommons.in
index a6a40d6..ec42b05 100644
--- a/tools/hotplug/Linux/init.d/xencommons.in
+++ b/tools/hotplug/Linux/init.d/xencommons.in
@@ -58,6 +58,7 @@ do_start () {
 
  mkdir -p ${XEN_RUN_DIR}
  mkdir -p ${XEN_LOCK_DIR}
+ mkdir -p ${XEN_LOG_DIR}
 
  @XEN_SCRIPT_DIR@/launch-xenstore || exit 1
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog