]> code.ossystems Code Review - openembedded-core.git/commit
wic: improve error message
authorChen Qi <Qi.Chen@windriver.com>
Thu, 30 Mar 2017 08:37:36 +0000 (16:37 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Apr 2017 11:36:45 +0000 (12:36 +0100)
commitf0425c0a0f1c98f65bf61fd9aa7e023ed41a35fa
tree8f1e4dd4aa7b0bb7d8bc46023b3a1ab03e69cf47
parente75bd6a7dd5c1b4bad039c35cf4a2ffc2f77c60a
wic: improve error message

When using `wic create mkefidisk -e core-image-minimal', the following
error message appeared.

  Please bake it with 'bitbake parted-native' and try again.

However, following this command doesn't do any help. The same problem
still appeared.

The problem is that when we 'bitbake parted-native', it doesn't have
anything to do with core-image-minimal. And the required tool 'parted'
is not under core-image-minimal's recipe-sysroot-native directory.

Improve the error message so that following it could get things done.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/utils/misc.py