1 |
commit: d4405fd40c4316d41b111fc8c5497eeb4063a5d2 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 11 17:32:03 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 11 17:32:03 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=d4405fd4 |
7 |
|
8 |
stagebase: seed initial make.conf w/LC_MESSAGES=C |
9 |
|
10 |
This sets up the messages from packages in english to ease bug reporting. |
11 |
|
12 |
Bugzilla: https://bugs.gentoo.org/78382 |
13 |
|
14 |
catalyst/base/stagebase.py | 7 +++++++ |
15 |
1 file changed, 7 insertions(+) |
16 |
|
17 |
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py |
18 |
index e7514e2..4a0b482 100644 |
19 |
--- a/catalyst/base/stagebase.py |
20 |
+++ b/catalyst/base/stagebase.py |
21 |
@@ -1131,6 +1131,13 @@ class StageBase(TargetBase, ClearBase, GenBase): |
22 |
if "portage_overlay" in self.settings: |
23 |
myf.write('PORTDIR_OVERLAY="/usr/local/portage"\n') |
24 |
|
25 |
+ # Set default locale for system responses. #478382 |
26 |
+ myf.write( |
27 |
+ '\n' |
28 |
+ '# This sets the language of build output to English.\n' |
29 |
+ '# Please keep this setting intact when reporting bugs.\n' |
30 |
+ 'LC_MESSAGES=C\n') |
31 |
+ |
32 |
myf.close() |
33 |
self.resume.enable("chroot_setup") |