diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-03-12 18:49:41 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-12 15:28:04 -0700 |
commit | a0aa12e1d0ea9064b8dd816d4e82238df765506b (patch) | |
tree | 1f3bc14b1baa1777987bf45839d866f23115a00e /scripts/lib/devtool/build_image.py | |
parent | e37c4f1ff2b440b0a232b0482c136cc9f7b24e0f (diff) | |
download | openembedded-core-a0aa12e1d0ea9064b8dd816d4e82238df765506b.tar.gz openembedded-core-a0aa12e1d0ea9064b8dd816d4e82238df765506b.tar.bz2 openembedded-core-a0aa12e1d0ea9064b8dd816d4e82238df765506b.zip |
package.bbclass: run pre/post installation/removal scriptlets using sh -e
This allows catching errors in the scriptlets which would otherwise
go unnoticed, e.g. this sequence:
====
bogus_command
proper_command
====
would work just fine without any visible warnings or errors.
This was previously done only for rpm packages; this patch replaces
the rpm-specific tweak with one that works for all package types.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build_image.py')
0 files changed, 0 insertions, 0 deletions