]> code.ossystems Code Review - openembedded-core.git/commit
scripts/oe-debuginfod: correct several issues
authorAlexander Kanavin <alex.kanavin@gmail.com>
Mon, 19 Apr 2021 09:00:41 +0000 (11:00 +0200)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 23 Apr 2021 08:14:22 +0000 (16:14 +0800)
commit77deac8501990ac8071eb11d4bec6aec4be948b7
tree1181d8e6616ceadd8ed6ea48da956974be612870
parent84afcdcb9d7ee24596bd3f8d808d30c9d558d918
scripts/oe-debuginfod: correct several issues

Particularly:
- nesting subprocess.run() inside subprocess.check_output() does not work at all.
How was this tested?
- -R and -U options can be combined; no need to separate the invocations based
on packaging format
- both exception handlers are unnecessary; we can simply print the hint if
invocation did not succeed
- to run debuginfod from its own sysroot, '-c addto_recipe_sysroot' for elfutils-native
must be executed

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9e57bf636ec63e74d56f1ac48b5a27c5b80f1877)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
scripts/oe-debuginfod