summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace
diff options
context:
space:
mode:
authorTomasz Dziendzielski <tomasz.dziendzielski@gmail.com>2021-01-26 17:35:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-27 10:16:14 +0000
commit70d8ced3d7f53f988c02ff03d8dfa448f088fdf1 (patch)
tree63225dd94b5f353facbf771a12b945b966a615b1 /meta/recipes-devtools/strace
parent6ff15e05755bec9207099b326a3a78aa3bf2b3b1 (diff)
downloadopenembedded-core-contrib-70d8ced3d7f53f988c02ff03d8dfa448f088fdf1.tar.gz
lib/oe/package_manager: Do not pass stderr to package manager as an argument
The cmd redirected stderr to stdout that was then assigned to variable with pkgs to install. Then this variable was passed to package manager that then tried to install it and generated confusing warnings. For example this variable could contain: | ['(en_US.UTF-8)', 'LC_ALL:', 'bash:', 'cannot', 'change', 'locale', 'setlocale:', 'warning:'] and the warning was: | WARNING: addon-bci-1.0-r0 do_populate_sdk: Unable to install packages. | Command 'PATH/usr/bin/opkg ... install (en_US.UTF-8) LC_ALL: bash: | cannot change locale setlocale: warning:' returned 255: | Collected errors: | * opkg_prepare_url_for_install: Couldn't find anything to satisfy '(en_US.UTF-8)'. In this change I remove stderr redirection to stdout and pass it to bb.note instead. Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace')
0 files changed, 0 insertions, 0 deletions