summaryrefslogtreecommitdiff
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2013-05-10 19:06:24 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-12 08:28:12 +0100
commit702deed71de41ef2e93bc5435e136bf219537d3a (patch)
tree680c6e034a1ecd08ff4690fecbe81fdcba5117b0 /scripts/runqemu
parent2ab642056829aef675f75c05b9ac5bbc43c87cd1 (diff)
downloadopenembedded-core-702deed71de41ef2e93bc5435e136bf219537d3a.tar.gz
openembedded-core-702deed71de41ef2e93bc5435e136bf219537d3a.tar.bz2
openembedded-core-702deed71de41ef2e93bc5435e136bf219537d3a.zip
scripts/runqemu: add ext4 to the list of extracted extensions
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 8ed1226c06..9bd35de6ab 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"