Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] Fix "tar: .: file changed as we read it" with cpio+tar builds enabled
@ 2014-03-24 15:56 Jonas Eriksson
  2014-03-24 15:56 ` [PATCH] cpio rootfs build: Avoid modifying rootfs dir Jonas Eriksson
  0 siblings, 1 reply; 4+ messages in thread
From: Jonas Eriksson @ 2014-03-24 15:56 UTC (permalink / raw)
  To: openembedded-core; +Cc: Josep Puigdemont

Hi,

This patch solves a problem we have been seeing when building both a .tar(.gz)
and .cpio(.gz) image, where the cpio job creates a file in the rootfs
directory. This event may happen while tar is running, which makes tar exit
indicating an error and thus aborting the build.

The only potential problem with the patch that I can think of is whether or not
cpio in the build host support -A and -F. I've checked the GNU cpio git repo,
and the arguments have been there since they started using git in 2004, which
means that this should not be a problem.

Regards,
/Jonas

Jonas Eriksson (1):
  cpio rootfs build: Avoid modifying rootfs dir

 meta/classes/image_types.bbclass | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

-- 
1.9.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-26  7:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-24 15:56 [PATCH] Fix "tar: .: file changed as we read it" with cpio+tar builds enabled Jonas Eriksson
2014-03-24 15:56 ` [PATCH] cpio rootfs build: Avoid modifying rootfs dir Jonas Eriksson
2014-03-25 23:04   ` Andrea Adami
2014-03-26  7:29     ` Jonas Eriksson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox