commit:     d4405fd40c4316d41b111fc8c5497eeb4063a5d2
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 11 17:32:03 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sun Oct 11 17:32:03 2015 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=d4405fd4

stagebase: seed initial make.conf w/LC_MESSAGES=C

This sets up the messages from packages in english to ease bug reporting.

Bugzilla: https://bugs.gentoo.org/78382

 catalyst/base/stagebase.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index e7514e2..4a0b482 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1131,6 +1131,13 @@ class StageBase(TargetBase, ClearBase, GenBase):
                        if "portage_overlay" in self.settings:
                                
myf.write('PORTDIR_OVERLAY="/usr/local/portage"\n')
 
+                       # Set default locale for system responses. #478382
+                       myf.write(
+                               '\n'
+                               '# This sets the language of build output to 
English.\n'
+                               '# Please keep this setting intact when 
reporting bugs.\n'
+                               'LC_MESSAGES=C\n')
+
                        myf.close()
                        self.resume.enable("chroot_setup")
 

Reply via email to