]> code.ossystems Code Review - openembedded-core.git/commit
wic: use native parted
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 6 Apr 2015 17:43:35 +0000 (20:43 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Apr 2015 11:38:10 +0000 (12:38 +0100)
commit76adf38c0d8e0faf04a5ecb3fcfbe831c85bb81f
treee49cde7f0a58ed4b58420d4ab16724f24c05da7a
parent8d207e55031c0b93387e728f4312b8cb34ad5b12
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>
scripts/lib/wic/imager/direct.py
scripts/lib/wic/utils/fs_related.py
scripts/lib/wic/utils/partitionedfs.py