]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Apr 2021 12:56:31 +0000 (13:56 +0100)
commit9e57bf636ec63e74d56f1ac48b5a27c5b80f1877
tree3e4b5908f235a2f243196b63d4ce22f9420f8cfb
parent92b29a09b4c442597d212337b785afb76129ac7c
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>
scripts/oe-debuginfod