diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-06-16 17:58:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-30 20:46:04 +0100 |
commit | 45689bbd46b0bb8e66b7c0ff7cc3321e5eef5b5f (patch) | |
tree | 761b4b9a76b98238052aabd7cb38fb514c3e0082 /scripts/runqemu | |
parent | 715aca9d73c5c351d2230d46892e435d43f19556 (diff) | |
download | openembedded-core-45689bbd46b0bb8e66b7c0ff7cc3321e5eef5b5f.tar.gz openembedded-core-45689bbd46b0bb8e66b7c0ff7cc3321e5eef5b5f.tar.bz2 openembedded-core-45689bbd46b0bb8e66b7c0ff7cc3321e5eef5b5f.tar.xz openembedded-core-45689bbd46b0bb8e66b7c0ff7cc3321e5eef5b5f.zip |
scripts/runqemu: enable btrfs
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index aa44070db..5aed25a7e 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" |