diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2012-11-25 17:27:27 -0200 |
|---|---|---|
| committer | Ross Burton <ross.burton@intel.com> | 2012-12-05 12:51:54 +0000 |
| commit | 49434f789a772620a8eae7220812296523616956 (patch) | |
| tree | 8d63a3225154080388c81f7a5e0f086c6e9b21a1 | |
| parent | 0acd5a16a874b438eb288292833080bac9f9ea8b (diff) | |
| download | openembedded-core-49434f789a772620a8eae7220812296523616956.tar.gz openembedded-core-49434f789a772620a8eae7220812296523616956.tar.bz2 openembedded-core-49434f789a772620a8eae7220812296523616956.zip | |
initramfs-framework: init: Stop mount warnings during boot
For a completely quiet boot using recent versions of utilities, the
/etc/fstab and /var/lock need to be available.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rwxr-xr-x | meta/recipes-core/initrdscripts/initramfs-framework/init | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/init b/meta/recipes-core/initrdscripts/initramfs-framework/init index fc4b0db4b4..0be8f4dafd 100755 --- a/meta/recipes-core/initrdscripts/initramfs-framework/init +++ b/meta/recipes-core/initrdscripts/initramfs-framework/init @@ -68,8 +68,11 @@ MODULE_PRE_HOOKS="" # functions to call before running each module MODULE_POST_HOOKS="" # functions to call after running each module MODULES_DIR=/init.d # place to look for modules -# initialize /proc and /sys -mkdir -p /proc /sys +# make mount stop complaining about missing /etc/fstab +touch /etc/fstab + +# initialize /proc, /sys and /var/lock +mkdir -p /proc /sys /var/lock mount -t proc proc /proc mount -t sysfs sysfs /sys |
