]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts/runqemu: add ext4 to the list of extracted extensions
authorStefan Stanacar <stefanx.stanacar@intel.com>
Fri, 10 May 2013 16:06:24 +0000 (19:06 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 May 2013 07:28:12 +0000 (08:28 +0100)
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu

index 8ed1226c061635fec29b82e6422b785e44759e91..9bd35de6aba2ec238087f68117281ea5db2d3947 100755 (executable)
@@ -384,7 +384,8 @@ if [ -e "$ROOTFS" -a -z "$FSTYPE" ]; then
     # Extract the filename extension
     EXT=`echo $ROOTFS | awk -F . '{ print \$NF }'`
     if [ "x$EXT" = "xext2" -o "x$EXT" = "xext3" -o \
-          "x$EXT" = "xjffs2" -o "x$EXT" = "xbtrfs" ]; then
+          "x$EXT" = "xjffs2" -o "x$EXT" = "xbtrfs" -o \
+          "x$EXT" = "xext4" ]; then
         FSTYPE=$EXT
     else
         echo "Note: Unable to determine filesystem extension for $ROOTFS"