summaryrefslogtreecommitdiff
path: root/recipes/initrdscripts
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/initrdscripts')
-rw-r--r--recipes/initrdscripts/files/init.sh6
-rw-r--r--recipes/initrdscripts/initramfs-uniboot_1.0.bb2
2 files changed, 5 insertions, 3 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
}
diff --git a/recipes/initrdscripts/initramfs-uniboot_1.0.bb b/recipes/initrdscripts/initramfs-uniboot_1.0.bb
index 07e94f1dfc..fcbbdbd2cc 100644
--- a/recipes/initrdscripts/initramfs-uniboot_1.0.bb
+++ b/recipes/initrdscripts/initramfs-uniboot_1.0.bb
@@ -1,5 +1,5 @@
SRC_URI = "file://init.sh"
-PR = "r10"
+PR = "r11"
DESCRIPTON = "A modular initramfs init script system."
RRECOMMENDS = "kernel-module-mtdblock"