summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
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:26:16 +0100
commit2f9b8e9134bebc631e77a7436e4a23fe05f13129 (patch)
treeed04f743917e25f7877cb2827834b8e2e9a2f861 /meta/recipes-core
parent9623b237ce2d60723ead5b41fcdcd031af14e63d (diff)
downloadopenembedded-core-contrib-2f9b8e9134bebc631e77a7436e4a23fe05f13129.tar.gz
openembedded-core-contrib-2f9b8e9134bebc631e77a7436e4a23fe05f13129.tar.bz2
openembedded-core-contrib-2f9b8e9134bebc631e77a7436e4a23fe05f13129.zip
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. (From OE-Core rev: 1cf288a0514ae9365fe55a0ff90b5abe35042cef) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-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 204f2379a5..37527a840a 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