summaryrefslogtreecommitdiff
path: root/recipes/initrdscripts/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/initrdscripts/files')
-rw-r--r--recipes/initrdscripts/files/init.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/initrdscripts/files/init.sh b/recipes/initrdscripts/files/init.sh
index 221b8f56b9..26fd57fce4 100644
--- a/recipes/initrdscripts/files/init.sh
+++ b/recipes/initrdscripts/files/init.sh
@@ -5,9 +5,11 @@ BOOT_ROOT=
ROOT_DEVICE=
early_setup() {
- mkdir /proc
+ mkdir -p /proc /sys /mnt /tmp
+
mount -t proc proc /proc
- mkdir /mnt
+ mount -t sysfs sysfs /sys
+
modprobe -q mtdblock
}