]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
relocate_sdk.py: ensure interpreter size error causes relocation to fail
authorPaul Eggleton <paul.eggleton@microsoft.com>
Thu, 4 Aug 2022 23:30:59 +0000 (16:30 -0700)
committerSteve Sakoman <steve@sakoman.com>
Mon, 29 Aug 2022 15:02:16 +0000 (05:02 -1000)
commit345193f36d08cfe4899c65e8edf3f79db09c50d2
tree0c3d02a802a5aa58acf52a47404fc0e311934a64
parent653b03aa6fc8effd3b2215a7a0ba005979e78e9f
relocate_sdk.py: ensure interpreter size error causes relocation to fail

If there is insufficent space to change the interpreter, we were
printing an error here but the overall script did not return an error
code, and thus the SDK installation appeared to succeed - but some of
the binaries will not be in a working state. Allow the relocation to
proceed (so we still get a full list of the failures) but error out at
the end so that the installation is halted.

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5a9a448e462d3e5457e8403c5a1a54148ecd224)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/relocate_sdk.py