Hob: Set one of deployable images or runnable images as the default toggled item
authorShane Wang <shane.wang@intel.com>
Mon, 26 Mar 2012 11:29:15 +0000 (19:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Mar 2012 20:12:55 +0000 (21:12 +0100)
commitef663343948f92c9574e58b53742f99a71f93189
tree6828fe4d68734afe679737b9502bf47ea3974b6c
parent88d9031ad529e67cd7ec1fe28a1023a2008c1977
Hob: Set one of deployable images or runnable images as the default toggled item

With this patch, even though there are a lot of images built out, a default image
which is either deployable or runnable is toggled by default. So, for users, one
more action to select an image before running qemu or deploying is not needed any more.

Note: If there are more than one runnable or deployable images (such as ext2, ext3,
jffs2 and btrfs), only the first image is toggled by default for run-qemu or
deployment. If the user wants to run or deploy others, he/she needs to toggle them
manually.

[Yocto #2155]

(Bitbake rev: 4568dfbd5e693cce0e6e947f323eaf08a3176744)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/crumbs/imagedetailspage.py