diff options
| author | Peter Seebach <peter.seebach@windriver.com> | 2015-05-21 15:36:35 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-28 09:41:56 +0100 |
| commit | a13185ba4a29fca319b4eb4a76fdbdfcfe767322 (patch) | |
| tree | 5b5f51cf424118a856ca4de909739e4d83014898 /meta/recipes-devtools/python/python-smartpm/smart-recommends.patch | |
| parent | f0bf36c669790f1bcb2f897e61c82b075cb0a83b (diff) | |
| download | openembedded-core-a13185ba4a29fca319b4eb4a76fdbdfcfe767322.tar.gz openembedded-core-a13185ba4a29fca319b4eb4a76fdbdfcfe767322.tar.bz2 openembedded-core-a13185ba4a29fca319b4eb4a76fdbdfcfe767322.zip | |
rootfs.py: Make set -x not break rootfs creation
The rootfs logfile check errors out if it finds an "exit 1" in
a log. But consider the shell idiom:
if ! $command; then exit 1; fi
and consider a postinstall script with a "set -x" for debugging
purposes (to get log output in /var/log/postinstall.log.)
Solution: Ignore lines prefixed with a +, because those show shell
code even if a specific fragment won't be executed.
(From OE-Core rev: f23f129dba66144abf8fe8450320e01fa4c02f5c)
Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-smartpm/smart-recommends.patch')
0 files changed, 0 insertions, 0 deletions
