dracut/0007-base-init.sh-also-mkdir-run-lock.patch
Harald Hoyer 9323733aa3 dracut-034-18.git20131018
- Fixed LVM with thin provisioning
Resolves: rhbz#1013767
- fixed swap detection in host only mode
2013-10-18 15:02:35 +02:00

22 lines
715 B
Diff

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