diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-04-06 20:43:35 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-14 12:38:10 +0100 |
commit | 76adf38c0d8e0faf04a5ecb3fcfbe831c85bb81f (patch) | |
tree | e49cde7f0a58ed4b58420d4ab16724f24c05da7a /scripts/lib/wic/utils/misc.py | |
parent | 8d207e55031c0b93387e728f4312b8cb34ad5b12 (diff) | |
download | openembedded-core-76adf38c0d8e0faf04a5ecb3fcfbe831c85bb81f.tar.gz openembedded-core-76adf38c0d8e0faf04a5ecb3fcfbe831c85bb81f.tar.bz2 openembedded-core-76adf38c0d8e0faf04a5ecb3fcfbe831c85bb81f.zip |
wic: use native parted
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@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/utils/misc.py')
0 files changed, 0 insertions, 0 deletions