diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-06-25 23:23:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-26 09:28:19 +0100 |
commit | ecdfdd7286a2f406655577f2c4d6fcf3fe3de429 (patch) | |
tree | 7eb00f63b40cbdb9378f1b824b23a05288702f91 /scripts/wic | |
parent | db9d76a5560d3001abe76518f47da1dfba8c0c7f (diff) | |
download | openembedded-core-ecdfdd7286a2f406655577f2c4d6fcf3fe3de429.tar.gz openembedded-core-ecdfdd7286a2f406655577f2c4d6fcf3fe3de429.tar.bz2 openembedded-core-ecdfdd7286a2f406655577f2c4d6fcf3fe3de429.zip |
sanity.bbclass: check /bin/sh is dash or bash
The build would fail when /bin/sh links to ksh or csh, we only test dash
and bash AFAIK.
* When /bin/sh -> csh:
$ bitbake quilt-native
$ bitbake quilt-native -cfetch
Illegal variable name.
Illegal variable name.
[snip]
uname: extra operand `2'
Try `uname --help' for more information.
* When /bin/sh -> ksh:
If there are only a few tasks running, for example,
"bitbake quilt-native", the build would be OK, but it would fail if we
run "bitbake world" for a while, there would be a lot of "Broken pipe"
errors:
Exception: CalledProcessError: Command
'cd /path/to/xx; find . -type d -print | tar -cf - -C /path/to/sysroot-destdir -p --files-from - --no-recursion | tar -xf - -C /path/to/xxx'
returned non-zero exit status 2 with output tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
find: `standard output': Broken pipe
find: write error
[YOCTO #7917]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
0 files changed, 0 insertions, 0 deletions