From acd321b053a60ba6f5f26e122edff127947aa021 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 14 Jul 2008 06:48:10 +0000 Subject: [PATCH] Call prepare_build_dirs() prior to pkg_preinst so that logging works properly. svn path=/main/trunk/; revision=11046 --- pym/portage/dbapi/vartree.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 1dfa8946a..c189dce21 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1577,6 +1577,8 @@ class dblink(object): finally: catdir_lock = None + prepare_build_dirs(self.myroot, self.settings, 1) + if scheduler is None: retval = doebuild(myebuildpath, ebuild_phase, self.myroot, self.settings, cleanup=cleanup, use_cache=0, -- 2.26.2