diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2016-04-04 15:41:42 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-05 14:33:58 +0100 |
commit | 21e31c277175539a5062e4202a1d500c10e4a512 (patch) | |
tree | 55852b9ea2f8212563b3b997191a18f9b7e79d71 /meta/site/common-darwin | |
parent | f2d5e20153e001cde257544e5e43998315656bbf (diff) | |
download | poky-21e31c277175539a5062e4202a1d500c10e4a512.tar.gz |
package_manager.py: better error handling in opkg's package listing
opkg does not return a non-zero exit code even if it found
errors. When that happens, parsing the output leads to strange
follow-up errors.
To avoid this we need to check explicitly for non-empty
stderr. Reporting only that on a failure also leads to shorter error
messages (stdout may be very large).
(From OE-Core rev: 7d9e915224a9bc451fddfbbfad533d9b06e9987d)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site/common-darwin')
0 files changed, 0 insertions, 0 deletions