]> code.ossystems Code Review - openembedded-core.git/commit
bitbake: compile tar-replacement firstly
authorRoy.Li <rongqing.li@windriver.com>
Wed, 8 Aug 2012 01:44:26 +0000 (09:44 +0800)
committerSaul Wold <sgw@linux.intel.com>
Tue, 28 Aug 2012 15:03:39 +0000 (08:03 -0700)
commit3c1c4719fc96f6f1fbb257413d6baf3d91fdf4e8
treee78aa11cb43ede2baf5d993f93dec814a3a4d094
parent1677b736bca5dc46db522da1874459d2de77209d
bitbake: compile tar-replacement firstly

Compiling tar-replacement or not is decided by version of host tar,
if the host tar version is lower than 1.23, Compiling tar-replacement
is needed.

When doing popoluate tar-replacement sysroot to write the tar to
sysroot, but writing is not finished. other packages probably
use the being written tar to unzip file, which will lead to failure
and report the below error:
"bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/tar: Text file busy"

Now we compile tar-replacement firstly to ensure that a being written
tar command will not be used.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/bitbake