summaryrefslogtreecommitdiffstats
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-29 19:36:02 +0100
commit74f34dc4d2d023ca581b7b706ef61819c40921a5 (patch)
tree32c502a3bbf802f38984758f59c932c090f3e986
parente91e5324d0795ab6afd450b079c5fbe920bf0d7b (diff)
downloadpoky-74f34dc4d2d023ca581b7b706ef61819c40921a5.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. (From OE-Core rev: 1cf288a0514ae9365fe55a0ff90b5abe35042cef) (From OE-Core rev: ac26089702a634654530114bbbf151bc0fde5711) 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> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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
76# make mount stop complaining about missing /etc/fstab 76# make mount stop complaining about missing /etc/fstab
77touch /etc/fstab 77touch /etc/fstab
78 78
79# initialize /proc, /sys and /var/lock 79# initialize /proc, /sys, /run/lock and /var/lock
80mkdir -p /proc /sys /var/lock 80mkdir -p /proc /sys /run/lock /var/lock
81mount -t proc proc /proc 81mount -t proc proc /proc
82mount -t sysfs sysfs /sys 82mount -t sysfs sysfs /sys
83 83