From: Andres Salomon Date: Fri, 17 Oct 2008 22:23:31 +0000 (-0400) Subject: mkjffs2: mount /boot in linux X-Git-Tag: v0.2~12 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?p=xodist;a=commitdiff_plain;h=a2c5fdd7523fa6a5e4c12811d7ee341857c776d1 mkjffs2: mount /boot in linux oops, forgot this in fstab. Signed-off-by: Andres Salomon --- 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<