[OE-core] [wic][PATCH] wic: use native parted
Otavio Salvador
otavio at ossystems.com.br
Mon Apr 6 18:20:37 UTC 2015
On Mon, Apr 6, 2015 at 2:43 PM, Ed Bartosh <ed.bartosh at linux.intel.com> wrote:
> Used exec_native_cmd instead of find_binary_path to run parted.
> Got rid of find_binary_path as it's not used anywhere else.
>
> There are several tools wic is trying to find not only in sysroot,
> but also in host root. Parted is a special as on some distros it's
> installed in /usr/sbin, which is not in the user's PATH. This makes
> wic to fail with error "External command 'parted' not found, exiting."
>
> [YOCTO #7122]
>
> Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
Awesome!
Acked-by: Otavio Salvador <otavio at ossystems.com.br>
Please open a doc update bug as well. This has Doc impact.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the Openembedded-core
mailing list