summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-09 22:47:56 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-09 22:47:56 -0700
commit0c128a031cb9589124e4c3628f3191d419c5518d (patch)
tree503d4fafc5ac1015e285a48fde32591070a5e850
parentf612dcd13d782c464fc913a63f0a7a833cb556b8 (diff)
downloadportage-0c128a031cb9589124e4c3628f3191d419c5518d.tar.gz
portage-0c128a031cb9589124e4c3628f3191d419c5518d.tar.bz2
portage-0c128a031cb9589124e4c3628f3191d419c5518d.zip
Bug #267103 - In action_build(), check for config file updates in
/etc/portage and warn if necessary.
-rw-r--r--pym/_emerge/actions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index b76195cb9..6eca451de 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -73,6 +73,10 @@ def action_build(settings, trees, mtimedb,
if '--usepkgonly' not in myopts:
old_tree_timestamp_warn(settings['PORTDIR'], settings)
+ # It's best for config updates in /etc/portage to be processed
+ # before we get here, so warn if they're not (bug #267103).
+ chk_updated_cfg_files(settings['EROOT'], ['/etc/portage'])
+
# validate the state of the resume data
# so that we can make assumptions later.
for k in ("resume", "resume_backup"):