Patchwork [1/3] scripts/runqemu: add ext4 to the list of extracted extensions

login
register
mail settings
Submitter Stanacar, StefanX
Date May 10, 2013, 4:06 p.m.
Message ID <711805f70e82288783817bc515e9310ad128c11e.1368201796.git.stefanx.stanacar@intel.com>
Download mbox | patch
Permalink /patch/49749/
State Accepted
Commit 702deed71de41ef2e93bc5435e136bf219537d3a
Headers show

Comments

Stanacar, StefanX - May 10, 2013, 4:06 p.m.
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
---
 scripts/runqemu | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/scripts/runqemu b/scripts/runqemu
index 8ed1226..9bd35de 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -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"