From: Olaf Hering Date: Mon, 22 Sep 2014 12:59:57 +0000 (+0200) Subject: tools/hotplug: create XEN_LOCK_DIR at runtime X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4370 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ffa86a864c693e728a3b17a0f4af352edb318b87;p=xen.git tools/hotplug: create XEN_LOCK_DIR at runtime Create XEN_LOCK_DIR because it is a compiletime setting. Also /var/lock might be empty on startup because it is a tmpfs mount point. Signed-off-by: Olaf Hering Acked-by: Ian Campbell --- diff --git a/tools/hotplug/Linux/init.d/xencommons.in.in b/tools/hotplug/Linux/init.d/xencommons.in.in index be21960236..a723eb4e92 100644 --- a/tools/hotplug/Linux/init.d/xencommons.in.in +++ b/tools/hotplug/Linux/init.d/xencommons.in.in @@ -61,6 +61,7 @@ do_start () { @LOAD_MODULES@ mkdir -p ${XEN_RUN_DIR} + mkdir -p ${XEN_LOCK_DIR} if ! `${BINDIR}/xenstore-read -s / >/dev/null 2>&1` then