ROOT_DEVICE="/dev/$dev"
# jffs2 is not recognized by mount automagically
if [ "$fstype" == "(jffs2)" ]; then
- FSTYPE="jffs2"
+ ROOT_FSTYPE="jffs2"
fi
CMDLINE="$CMDLINE root=$ROOT_DEVICE"
fi
if [ -e "$ROOT_DEVICE" ]; then
echo "booting from: $ROOT_DEVICE"
type=""
- if [ -n "$FSTYPE" ]; then
- type="-t $FSTYPE"
+ if [ -n "$ROOT_FSTYPE" ]; then
+ type="-t $ROOT_FSTYPE"
fi
mount $type "$ROOT_DEVICE" /mnt || fatal "Unable to mount rootfs device"
BOOT_ROOT=/mnt
case $arg in
root=*)
ROOT_DEVICE=$optarg ;;
+ rootfstype=*)
+ ROOT_FSTYPE=$optarg ;;
rootdelay=*)
rootdelay=$optarg ;;
esac
SRC_URI = "file://85-blockboot.sh"
-PR = "r2"
+PR = "r3"
RDEPENDS = "initramfs-uniboot"
DESCRIPTION = "An initramfs module for booting off normal block devices."
SRC_URI = "file://30-bootmenu.sh"
-PR = "r10"
+PR = "r11"
DESCRIPTION = "An initramfs module with UI for selection of boot device."
RDEPENDS = "klibc-utils-fstype initramfs-uniboot initramfs-module-block initramfs-module-loop initramfs-module-nfs"
# For VFAT mounting.
SRC_URI = "file://init.sh"
-PR = "r3"
+PR = "r4"
DESCRIPTON = "A modular initramfs init script system."
RRECOMMENDS = "kernel-module-mtdblock"