aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2016-06-20 15:23:53 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-23 14:23:37 +0100
commit1cf288a0514ae9365fe55a0ff90b5abe35042cef (patch)
treea2a68dbbd5d498684a7f485f6a235e9fbca60ecb
parent48dbdc0317db6836cfeba083844910c15d5beb77 (diff)
downloadopenembedded-core-contrib-1cf288a0514ae9365fe55a0ff90b5abe35042cef.tar.gz
initramfs-framework: base: Ensures /run/lock is available
Depending on the module we use, the /run/lock may be required. This creates it as part of initial setup and thus makes it available for every sub module. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rwxr-xr-xmeta/recipes-core/initrdscripts/initramfs-framework/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/init b/meta/recipes-core/initrdscripts/initramfs-framework/init
index 204f2379a5a..37527a840af 100755
--- a/meta/recipes-core/initrdscripts/initramfs-framework/init
+++ b/meta/recipes-core/initrdscripts/initramfs-framework/init
@@ -76,8 +76,8 @@ MODULES_DIR=/init.d # place to look for modules
# make mount stop complaining about missing /etc/fstab
touch /etc/fstab
-# initialize /proc, /sys and /var/lock
-mkdir -p /proc /sys /var/lock
+# initialize /proc, /sys, /run/lock and /var/lock
+mkdir -p /proc /sys /run/lock /var/lock
mount -t proc proc /proc
mount -t sysfs sysfs /sys