Fix portage to create directories atomically in fast build.
authorDavid James <davidjames@google.com>
Wed, 14 Jul 2010 00:03:21 +0000 (17:03 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 1 Sep 2010 01:14:25 +0000 (18:14 -0700)
commita2bc929364a83bd4c7fb6f3f6c136394e974b6a3
treecf78e9030ddf3d925d8e0df739193d7d65246e3a
parentcb27c41a2d03209f07bc12f85c991537270dbb0e
Fix portage to create directories atomically in fast build.

If multiple ebuild processes create the same directory, portage should not
exit with an error message. Instead we should just be okay with the fact
that another process created the directory.

This is only necessary for fast build because we eliminate the giant lock that
surrounds package merges.

TEST=Create fresh chroot and do full build from source start to finish
BUG=none

Review URL: http://codereview.chromium.org/2998002
pym/portage/dbapi/vartree.py