Blame 0007-base-init.sh-also-mkdir-run-lock.patch

Harald Hoyer 932373
From ab2676d29144097239c189b1a6d938e0420eb580 Mon Sep 17 00:00:00 2001
Harald Hoyer 932373
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 932373
Date: Wed, 9 Oct 2013 08:20:39 +0200
Harald Hoyer 932373
Subject: [PATCH] base/init.sh: also mkdir /run/lock
Harald Hoyer 932373
Harald Hoyer 932373
---
Harald Hoyer 932373
 modules.d/99base/init.sh | 1 +
Harald Hoyer 932373
 1 file changed, 1 insertion(+)
Harald Hoyer 932373
Harald Hoyer 932373
diff --git a/modules.d/99base/init.sh b/modules.d/99base/init.sh
Harald Hoyer 932373
index ae73fd2..3ba440a 100755
Harald Hoyer 932373
--- a/modules.d/99base/init.sh
Harald Hoyer 932373
+++ b/modules.d/99base/init.sh
Harald Hoyer 932373
@@ -90,6 +90,7 @@ trap "action_on_fail Signal caught!" 0
Harald Hoyer 932373
 
Harald Hoyer 932373
 [ -d /run/initramfs ] || mkdir -p -m 0755 /run/initramfs
Harald Hoyer 932373
 [ -d /run/log ] || mkdir -p -m 0755 /run/log
Harald Hoyer 932373
+[ -d /run/lock ] || mkdir -p -m 0755 /run/lock
Harald Hoyer 932373
 
Harald Hoyer 932373
 export UDEVVERSION=$(udevadm --version)
Harald Hoyer 932373
 if [ $UDEVVERSION -gt 166 ]; then