]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 4 Jun 2022 10:27:09 +0000 (11:27 +0100)
commit83a6f28d2e464f00202090e998a63045adba9e4e
tree98a9847491867b090cd9d529d9fe1c1ab3399e4e
parentc8effd12cae7c7024f8e6c8f6ef70ed602d380ed
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>
meta/classes/kernel-yocto.bbclass