diff options
Diffstat (limited to 'initscripts')
-rw-r--r-- | initscripts/initscripts-1.0/ramdisk | 6 | ||||
-rw-r--r-- | initscripts/initscripts_1.0.oe | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/initscripts/initscripts-1.0/ramdisk b/initscripts/initscripts-1.0/ramdisk index b1bc8d6992..fc04e33852 100644 --- a/initscripts/initscripts-1.0/ramdisk +++ b/initscripts/initscripts-1.0/ramdisk @@ -2,6 +2,8 @@ . /etc/default/rcS +FSTYPE=ext2 + if test ! -e /proc/mtd then test "$VERBOSE" != "no" && echo >&2 "/proc not mounted, or mtd support not enabled in kernel." @@ -33,12 +35,12 @@ if (test ! -e /etc/.configured) || test "$OLD_MTD_SIZE" != "$RAM_MTD_SIZE"; then dd if=/dev/zero bs=1024 count=$RAM_MTD_SIZE of=$RAM_MTD 2>/dev/null >&2 || exit 1 test "$VERBOSE" != "no" && echo "$RAM_MTD"; test "$VERBOSE" != "no" && echo -n "Creating filesystem on ramdisk: " - mkfs.ext2 $RAM_MTDBLK 2>/dev/null >&2 || exit 1 + mkfs -t $FSTYPE $RAM_MTDBLK 2>/dev/null >&2 || exit 1 test "$VERBOSE" != "no" && echo "$RAM_MTDBLK"; fi test "$VERBOSE" != "no" && echo -n "Mounting ramdisk: " -mount $RAM_MTDBLK $RAM_MNTPT 2>/dev/null >&2 || exit 1 +mount -t $FSTYPE $RAM_MTDBLK $RAM_MNTPT 2>/dev/null >&2 || exit 1 test "$VERBOSE" != "no" && echo "$RAM_MTDBLK"; exit 0 diff --git a/initscripts/initscripts_1.0.oe b/initscripts/initscripts_1.0.oe index 7e4814e909..91934666a6 100644 --- a/initscripts/initscripts_1.0.oe +++ b/initscripts/initscripts_1.0.oe @@ -4,7 +4,7 @@ SECTION = "base" PRIORITY = "required" DEPENDS = "makedevs" RDEPENDS = "makedevs" -PR = "r9" +PR = "r10" SRC_URI = "file://halt \ file://ramdisk \ |