Bug #267103 - In action_build(), check for config file updates in
authorZac Medico <zmedico@gentoo.org>
Fri, 10 Sep 2010 05:47:56 +0000 (22:47 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 10 Sep 2010 05:47:56 +0000 (22:47 -0700)
/etc/portage and warn if necessary.

pym/_emerge/actions.py

index b76195cb9a45c3fe3a9bf4fcf4e3986c6613f33c..6eca451ded91a03da8b0466133901fa63a370751 100644 (file)
@@ -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"):