problem with linaro-media-create
Guilherme Salgado
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
> sleeping
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...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linaro.org/pipermail/linaro-dev/attachments/20110309/b63fc1aa/attachment.pgp>
More information about the linaro-dev
mailing list