From 45689bbd46b0bb8e66b7c0ff7cc3321e5eef5b5f Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Thu, 16 Jun 2011 17:58:39 -0700 Subject: scripts/runqemu: enable btrfs Signed-off-by: Nitin A Kamble --- scripts/runqemu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/runqemu') diff --git a/scripts/runqemu b/scripts/runqemu index aa44070dbe..5aed25a7e5 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -71,7 +71,7 @@ process_filename() { usage fi elif [[ "x$EXT" == "xext2" || "x$EXT" == "xext3" || - "x$EXT" == "xjffs2" ]]; then + "x$EXT" == "xjffs2" || "x$EXT" == "xbtrfs" ]]; then # A file ending in a supportted fs type is a rootfs image if [[ -z "$FSTYPE" || "$FSTYPE" == "$EXT" ]]; then FSTYPE=$EXT @@ -101,7 +101,7 @@ while [ $i -le $# ]; do usage fi ;; - "ext2" | "ext3" | "jffs2" | "nfs") + "ext2" | "ext3" | "jffs2" | "nfs" | "btrfs") if [[ -z "$FSTYPE" || "$FSTYPE" == "$arg" ]]; then FSTYPE=$arg else @@ -317,7 +317,7 @@ if [[ -e "$ROOTFS" && -z "$FSTYPE" ]]; then # Extract the filename extension EXT=`echo $ROOTFS | awk -F . '{ print \$NF }'` if [[ "x$EXT" == "xext2" || "x$EXT" == "xext3" || - "x$EXT" == "xjffs2" ]]; then + "x$EXT" == "xjffs2" || "x$EXT" == "xbtrfs" ]]; then FSTYPE=$EXT else echo "Note: Unable to determine filesystem extension for $ROOTFS" -- cgit 1.2.3-korg