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:35 +0000 (11:14 +0100)
commit35a529804450dd690b038a44992f4953ee193a6e
tree4b000d74e28dfe2716fd5952f25c2cc96a4d1205
parent64da755d94e109fb62b59b2cea0f65fd19d5b228
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]

(From OE-Core rev: 4bd419f95868d5b8707a45cee5f6c5c6a840a65b)

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>
meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh