From a2c5fdd7523fa6a5e4c12811d7ee341857c776d1 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Fri, 17 Oct 2008 18:23:31 -0400 Subject: [PATCH] mkjffs2: mount /boot in linux oops, forgot this in fstab. Signed-off-by: Andres Salomon --- functions.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/functions.sh b/functions.sh index 5829dd0..ab7dbe5 100644 --- a/functions.sh +++ b/functions.sh @@ -41,8 +41,12 @@ create_fstab() r="LABEL=${IMG_LABEL}" fi - cat >${mntpt}/etc/fstab<${mntpt}/etc/fstab + if [ "${fstype}" = "jffs2" ]; then + echo "mtd:boot /boot jffs2 defaults,noatime 1 1" >>${mntpt}/etc/fstab + fi + + cat >>${mntpt}/etc/fstab<