[oe] [PATCH 1/3] Make package_update_index_ipk proper task with locking

Richard Purdie rpurdie at rpsys.net
Thu Jun 18 13:05:35 UTC 2009


On Wed, 2009-06-17 at 23:41 +0400, Roman I Khimov wrote:
> Parallel image builds race in package_update_index_ipk, so locking is
> needed and for a proper lock package_update_index_ipk needs to be a
> proper task.

Can I suggest we actually add the ability to lock from shell scripts? A
couple of python scripts (bitbake-lock/bitbake-unlock) which just call
the python locking functions should be trivial to write and then mean we
can add sane locking to specialist functions much more easily. It should
allow us to solve the opkg.conf file issue you were seeing easily too.

Adding those shell scripts is slightly trickt - I'm happy to have them
in bitbake but we'll need another release before OE.dev can depend on
use them. We're overdue a bitbake release so perhaps we can get this
done quite quickly though...

Cheers,

Richard





More information about the Openembedded-devel mailing list