live-helpers: add jffs2 as a valid image
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 21 Feb 2008 14:36:59 +0000 (11:36 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 21 Feb 2008 14:36:59 +0000 (11:36 -0300)
scripts/live-helpers

index 5e1730b..504a3f4 100644 (file)
@@ -268,7 +268,7 @@ find_files ()
                        devname=$(sys2dev "${dev}")
                        devfstype="$(get_fstype ${devname})"
 
-                       if [ "${devfstype}" = "vfat" ] ||  [ "${devfstype}" = "ext2" ] || [ "${devfstype}" = "ext3" ]
+                       if [ "${devfstype}" = "vfat" ] ||  [ "${devfstype}" = "ext2" ] || [ "${devfstype}" = "ext3" ] || [ "${devfstype}" = "jffs2" ]
                        then
                                # FIXME: all supported block devices should be scanned
                                mkdir -p "${snap_backing}"