]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: only boot ramfs when specified
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 16 Mar 2017 10:13:26 +0000 (03:13 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Mar 2017 22:11:22 +0000 (22:11 +0000)
commit614bde6774f4dfd414066bbaf75ed422943e37ab
tree7f8006d3f435744e9eeeeaf754ec28e30af949f7
parent6b9dd7a589537b12da648be50298cf7d36461797
runqemu: only boot ramfs when specified

This can fix a problem:
IMAGE_FSTYPES += "iso"
$ bitbake core-image-minimal
$ runqemu qemux86

It may boot core-image-minimal-initramfs rather than core-image-minimal, this
is not what we want usually. This patch makes it avoid booting ramfs when there
are other choices, or when it is specified, for example, "runqemu qemux86 ramfs"

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu