problem with linaro-media-create
guilherme.salgado at linaro.org
Wed Mar 9 19:22:38 UTC 2011
On Wed, 2011-03-09 at 20:14 +0100, Loïc Minier wrote:
> On Wed, Mar 09, 2011, Guilherme Salgado wrote:
> > Do we know why this happens in some cases? It'd be better if we could
> > only sleep when we know there's a chance that the partitions may be
> > available after that.
> I'm not sure what you're asking; are you asking for a test on whether
> we need to sleep? That's sfdisk -l, as I do in the script before
My concern is that sfdisk -l returning non-zero may not be a very good
indication that we should sleep. It will return non-zero on any error
and I expect most errors to not go away after a 30 seconds sleep, in
which case we'd be delaying l-m-c's exit unnecessarily. That may not be
a big deal, though.
Guilherme Salgado <https://launchpad.net/~salgado>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the linaro-dev