]> code.ossystems Code Review - openembedded-core.git/commit
populate-volatile.sh: don't spawn background process at rootfs time
authorChen Qi <Qi.Chen@windriver.com>
Sat, 27 Jul 2013 14:21:57 +0000 (22:21 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Aug 2013 10:14:14 +0000 (11:14 +0100)
commit4bd419f95868d5b8707a45cee5f6c5c6a840a65b
tree4f27a992c85e5139aa3a548f5002130cdfa9abf3
parent7c2c36a97bab46c73a3a1fb743ad3ec67a4c072e
populate-volatile.sh: don't spawn background process at rootfs time

If we're building a read-only rootfs, we'll get the following error now
and then.

    tar: .: file changed as we read it

The root cause is that we spawn background process at rootfs time.
When the tar command is running, it's possible that files under rootfs
are changed by background processes, thus this error.

[YOCTO #4937]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh