aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/archive-configured-source.bbclass
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-09-05 13:58:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-10 15:25:26 +0100
commitd5a4f031b460437e9501e4e65194ce94d3641130 (patch)
tree5945faaf637b9e22c4960e0e9181bf03996eed86 /meta/classes/archive-configured-source.bbclass
parentb0f8c47b1e808421f03308527beb8bde15644acd (diff)
downloadopenembedded-core-d5a4f031b460437e9501e4e65194ce94d3641130.tar.gz
ptest.bbclass: fix error on ubuntu host
The do_install_ptest_base function uses 'type -t' command to check whether do_install_ptest is a function and acts correspondingly. However, the 'type' command is a shell builtin and its behavior is not all the same across Linux distros. On ubuntu, if we use #!/bin/sh as the interpreter for the scripts, as in the case of our intermediate scripts, the '-t' option for the 'type' command is not supported. So the check always fails and the do_install_ptest function, even if defined, is not run. The same problem also applies to the do_configure_ptest_base and the do_compile_ptest_base functions. This patch fixes this problem by avoiding using the 'type' builtin command. [YOCTO #5128] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/archive-configured-source.bbclass')
0 files changed, 0 insertions, 0 deletions