]> spindle.queued.net Git - xodist/blobdiff - functions.sh
mkjffs2: add (redboot) partition support
[xodist] / functions.sh
index 29d4ae99eaf954c1cce6bc394ba7bbb719375ec0..5829dd03d935be24e8640dfaa5b676752fbd227a 100644 (file)
@@ -36,7 +36,7 @@ create_fstab()
        fstype="$2"
 
        if [ "${fstype}" = "jffs2" ]; then
-               r=mtd0
+               r=mtd:root
        else
                r="LABEL=${IMG_LABEL}"
        fi
@@ -60,7 +60,7 @@ create_ofwboot()
        fstype="$2"
 
        if [ "${fstype}" = "jffs2" ]; then
-               r=mtd0
+               r="mtd:root"
                rfs="rootfstype=jffs2"
        else
                r="LABEL=${IMG_LABEL}"