* [gentoo-commits] portage r13580 - main/trunk/pym/portage
@ 2009-05-01 19:11 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-05-01 19:11 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-05-01 19:11:26 +0000 (Fri, 01 May 2009)
New Revision: 13580
Modified:
main/trunk/pym/portage/__init__.py
Log:
Only generate KV when setting up the environment for a real ebuild phase. This
should preven "Permission Denied: /usr/src/linux/.config" errors reported
by repoman users (repoman may trigger the error when it calls the fetch phase).
Modified: main/trunk/pym/portage/__init__.py
===================================================================
--- main/trunk/pym/portage/__init__.py 2009-05-01 18:35:59 UTC (rev 13579)
+++ main/trunk/pym/portage/__init__.py 2009-05-01 19:11:26 UTC (rev 13580)
@@ -5411,7 +5411,10 @@
mysettings["PORTAGE_BUILDDIR"], ".exit_status")
#set up KV variable -- DEP SPEEDUP :: Don't waste time. Keep var persistent.
- if mydo != "depend" and "KV" not in mysettings:
+ if mydo != 'depend' and 'KV' not in mysettings and \
+ mydo in ('compile', 'config', 'configure', 'info',
+ 'install', 'nofetch', 'postinst', 'postrm', 'preinst',
+ 'prepare', 'prerm', 'setup', 'test', 'unpack'):
mykv,err1=ExtractKernelVersion(os.path.join(myroot, "usr/src/linux"))
if mykv:
# Regular source tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-01 19:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-01 19:11 [gentoo-commits] portage r13580 - main/trunk/pym/portage Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox