[OE-core] [wic][PATCH] wic: extended list of paths in find_binary_path

Otavio Salvador otavio at ossystems.com.br
Sat Apr 4 18:34:59 UTC 2015


Em 04/04/2015 14:21, "Ed Bartosh" <ed.bartosh at linux.intel.com> escreveu:
>
> wic requires tools that are not always possible to find in $PATH.
> This causes wic to fail with confusing errors like this:
>  External command 'parted' not found, exiting.
>    (Please install 'parted' on your host system)
>
> Adding ~/bin/, /usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin,
> /sbin and /bin to the list of paths makes find_binary_path to
> produce more reliable results.
>
> [YOCTO #7122]
>
> Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>

I think we shouldn't do that. If user wants something to be found the PATH
environment variable should have them included.

This also brings one serious error off wic which is it relying on host
utilities. It should use parted from native sysroot instead otherwise we
cannot be sure if witch version we will be using.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150404/c9ed8b87/attachment-0002.html>


More information about the Openembedded-core mailing list