aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/buildstats-summary.bbclass
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2015-05-21 15:36:35 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-22 13:36:03 +0100
commitf23f129dba66144abf8fe8450320e01fa4c02f5c (patch)
treebacc11e17b4050e5a5f4b61dadf630017df14fa6 /meta/classes/buildstats-summary.bbclass
parent7bbd34c0efd0f7d65edb7187abdde695e45f62e2 (diff)
downloadopenembedded-core-contrib-f23f129dba66144abf8fe8450320e01fa4c02f5c.tar.gz
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. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildstats-summary.bbclass')
0 files changed, 0 insertions, 0 deletions