From: Otavio Salvador Date: Mon, 20 Jun 2016 18:23:53 +0000 (-0300) Subject: initramfs-framework: base: Ensures /run/lock is available X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2f9b8e9134bebc631e77a7436e4a23fe05f13129;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- 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