]> code.ossystems Code Review - openembedded-core.git/commit
bitbake: compile tar-replacement firstly
authorRoy.Li <rongqing.li@windriver.com>
Tue, 6 Nov 2012 16:20:48 +0000 (10:20 -0600)
committerScott Garman <scott.a.garman@intel.com>
Fri, 30 Nov 2012 02:34:39 +0000 (18:34 -0800)
commit1a6f61d9493bdbade256dc6c19bbffe75a2684a4
treef03b17bcc6e67996d28c763d4643e7cb27a5c995
parent500c9c1e0047ba9f35e3591f4252fe2dd38bc4f1
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.

(From OE-Core rev: 3c1c4719fc96f6f1fbb257413d6baf3d91fdf4e8)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/bitbake