[oe-commits] [openembedded-core] 87/94: initramfs-framework: base: Ensures /run/lock is available

git at git.openembedded.org git at git.openembedded.org
Wed Jun 29 18:37:51 UTC 2016


rpurdie pushed a commit to branch krogoth
in repository openembedded-core.

commit ac26089702a634654530114bbbf151bc0fde5711
Author: Otavio Salvador <otavio at ossystems.com.br>
AuthorDate: Mon Jun 20 15:23:53 2016 -0300

    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 at ossystems.com.br>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster at mvista.com>
---
 meta/recipes-core/initrdscripts/initramfs-framework/init | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/init b/meta/recipes-core/initrdscripts/initramfs-framework/init
index 204f237..37527a8 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
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list