All of lore.kernel.org
 help / color / mirror / Atom feed
* The coreutils-native race...
@ 2010-04-25 17:48 Tom Rini
  2010-04-25 18:51 ` Phil Blundell
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Tom Rini @ 2010-04-25 17:48 UTC (permalink / raw)
  To: oe-devel

Hey all.  I thought I would try and explain what Chris has been up to
with at least some of the base.bbclass changes (the ones related to
md5sum and cp).

Right now, with a big enough BB_NUM_THREADS we can get into a race where
coreutils-native is installing programs and elsewhere we are in a
do_fetch and either trying to use 'cp' or 'md5sum', and blam, we try and
invoke the program while it's being installed (and see things like
sh: /path/to/staging/i686-linux/usr/bin/cp: Textfile is busy).

There's a few ways out of this:
1) Don't rely on 'cp' and 'md5sum' anymore but use python for it.
2) Make an oe_cp and oe_md5sum to go with oe_sha256sum
3) IIRC, the big part of coreutils-native was a fully functional,
always, 'install'.  We could just copy the install we build or provide
an install wrapper (oe_install) or so
4) ???

Thoughts? Comments?

-- 
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation



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

end of thread, other threads:[~2010-04-26 15:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-25 17:48 The coreutils-native race Tom Rini
2010-04-25 18:51 ` Phil Blundell
2010-04-25 19:28 ` Koen Kooi
2010-04-25 19:57   ` Tom Rini
2010-04-26  6:30     ` Koen Kooi
2010-04-26 14:59       ` Chris Larson
2010-04-25 20:42 ` Roman I Khimov
2010-04-25 21:12   ` Tom Rini
2010-04-25 21:16   ` Yuri Bushmelev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.