diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-07-28 12:29:22 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-30 08:45:12 +0100 |
commit | 402b4cffbb4c58cfee93db18192f2b218ee0ae35 (patch) | |
tree | 0b7e4800c4e781bbbdd1fbf808d9a50b8995fbdb /README.LSB | |
parent | 98fba18e93abe8efce0a5b40d51e178c9de4d1e5 (diff) | |
download | openembedded-core-contrib-402b4cffbb4c58cfee93db18192f2b218ee0ae35.tar.gz |
image_types.bbclass: ignore tar exit code 1
tar exists with 1 and produces warning "file changed as we read it"
if content is changed while tar archives it. Even hardlinking content
causes tar to fail this way as it changes file ctime.
Other tasks running in parallel with do_image_tar may need to hardlink
rootfs content in order to change it, e.g. do_image_wic does this to
update etc/fstab.
Ignored tar exit code 1 to be able to hardlink rootfs content while
do_rootfs_tar is tarring it.
[RP: Removed bashism]
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README.LSB')
0 files changed, 0 insertions, 0 deletions