]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
kernel-yocto.bbclass: Reset to exiting on non-zero return code at end of task
authorStefan Wiehler <stefan.wiehler@nokia.com>
Thu, 2 Jun 2022 09:45:14 +0000 (11:45 +0200)
committerSteve Sakoman <steve@sakoman.com>
Wed, 15 Jun 2022 16:40:10 +0000 (06:40 -1000)
commit7777cc853db7200b819095be6f6a3561738ac94d
tree93af4996a702dc3d6f777a5f43070c0c82adf576
parent2bba60d687fb45a8367cb683a8e9d385384ad51a
kernel-yocto.bbclass: Reset to exiting on non-zero return code at end of task

Several tasks deactivate exiting on non-zero return codes via set +e because
they run subcommands that have legitimate non-zero return codes. However when
appending to those tasks, this behavior is not expected and can lead to builds
silently proceeding in case of an error. Therefore reset the default behavior
at the end of the respective tasks via set -e.

Signed-off-by: Stefan Wiehler <stefan.wiehler@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 83a6f28d2e464f00202090e998a63045adba9e4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/kernel-yocto.bbclass