]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
toolchain-shar-extract.sh: exit when post-relocate-setup.sh fails
authorChen Qi <Qi.Chen@windriver.com>
Wed, 9 Oct 2024 08:56:47 +0000 (01:56 -0700)
committerSteve Sakoman <steve@sakoman.com>
Fri, 22 Nov 2024 13:46:04 +0000 (05:46 -0800)
commit0d75c64b6d4b57800c844993876840f281b877d9
tree30f7bd5afe3e311768c43b8591047a2555a4059e
parentf0ae7467e194c79778a0561b4cd1eda99f9cc5a8
toolchain-shar-extract.sh: exit when post-relocate-setup.sh fails

When LD_LIBRARY_PATH is set, post-relocate-setup.sh will fail and
exit properly. But such failure is ignored and the SDK installation
will continue and tell user that things succeed. This is misleading.
So exit immediately if post-relocate-setup.sh fails.

Fixes [Yocto #15586]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c8e2dcc1f71aa33cc6e56dfdebebbe7ef010c944)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/files/toolchain-shar-extract.sh