Em 04/04/2015 14:21, "Ed Bartosh" <ed.bart...@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.bart...@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.
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to