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:56:36 +0100 |
commit | d591e696b2516ab605cc829786e56f45e76c2cee (patch) | |
tree | 14cd5c05b158586d399c0799ee99689a0a49d11b /scripts/runqemu | |
parent | c9ed41a3130549f3397b5325bf2e503c2186d1a7 (diff) | |
download | ast2050-yocto-poky-d591e696b2516ab605cc829786e56f45e76c2cee.zip ast2050-yocto-poky-d591e696b2516ab605cc829786e56f45e76c2cee.tar.gz |
scripts/runqemu: enable btrfs
(From OE-Core rev: 45689bbd46b0bb8e66b7c0ff7cc3321e5eef5b5f)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 aa44070..5aed25a 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" |