diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-01-29 14:01:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-29 23:08:12 +0000 |
commit | 3cd8a55d5298ce9cc176e402fdb727abb26a1a4c (patch) | |
tree | 09e7728c71831534521e4e4f375837285917e530 /scripts/lib | |
parent | d12cf56e9ff2a4f13dfbef9290ea5647b52b3f6d (diff) | |
download | openembedded-core-3cd8a55d5298ce9cc176e402fdb727abb26a1a4c.tar.gz openembedded-core-3cd8a55d5298ce9cc176e402fdb727abb26a1a4c.tar.bz2 openembedded-core-3cd8a55d5298ce9cc176e402fdb727abb26a1a4c.zip |
package_rpm.bbclass: run pre/post installation 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. Note that this patch needs all of the preceding
patches, as otherwise running failing scriptlets with -e would defer
them to first boot, instead of properly reporting failure and aborting
the package installation.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions