[oe] Multiple bitbake and a shared DL_DIR location - race conditions?

Koen Kooi koen at dominion.kabel.utwente.nl
Sun Mar 2 18:37:40 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leon Woestenberg schreef:
| Hello,
|
| in setting up a few automated builds, I have shared the DL_DIR amongst
| the builds.
|
| I would like to allow the builds to overlap in time, at least make
| sure the builds are robust to this, but I doubt this is possible at
| all.
|
| Are there any race conditions with the current approach?
|
| I.e. what if two fetch tasks from concurrent instances of bitbake
| decide to download a package?

Isn't that what the .lock files are supposed to do? If you have multiple
bitbake threads (in one bitbake instance) it has to solve the same problem.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHyvP0MkyGM64RGpERAj7vAJ9KmIc0oFcjHPAnjgTz7r6ZUTreoQCeOPQe
DTwR/YsH45qrnBCL9tOme7A=
=E8Ty
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list