aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-10-11 13:32:03 -0400
committerMike Frysinger <vapier@gentoo.org>2015-10-11 13:32:03 -0400
commitd4405fd40c4316d41b111fc8c5497eeb4063a5d2 (patch)
treee71ec2e2b366a88a9948ca08c35ead6fec1a2f15
parentresume: convert to log module (diff)
downloadcatalyst-d4405fd40c4316d41b111fc8c5497eeb4063a5d2.tar.gz
catalyst-d4405fd40c4316d41b111fc8c5497eeb4063a5d2.tar.bz2
catalyst-d4405fd40c4316d41b111fc8c5497eeb4063a5d2.zip
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
-rw-r--r--catalyst/base/stagebase.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index e7514e29..4a0b482d 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")