[OE-core] [PATCH] package_manager: don't search for binaries in $PATH explicitly
Richard Purdie
richard.purdie at linuxfoundation.org
Sat Dec 15 11:57:26 UTC 2018
On Fri, 2018-12-14 at 17:10 +0000, Ross Burton wrote:
> There's no point in looking for a command on $PATH using
> bb.utils.which() but
> then passing it to subprocess.check*() which will search $PATH.
>
> By just using the command directly, the code is visibly neater.
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
> meta/lib/oe/package_manager.py | 43 +++++++++++++++++++++-----------
> ----------
> 1 file changed, 21 insertions(+), 22 deletions(-)
This needs refreshing once the confusion with it and the runqemu path
is sorted!
Cheers,
Richard
More information about the Openembedded-core
mailing list