From 02abfcd4be97ac302289b9a72198124e9e523e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ch=C3=AD-Thanh=20Christopher=20Nguy=E1=BB=85n?= Date: Sat, 27 Jul 2013 20:59:58 +0200 Subject: [PATCH] Add LC_MESSAGES=C to make.conf Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=478382 --- modules/generic_stage_target.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 8f3c05a..ea01ebe 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -1068,6 +1068,10 @@ class generic_stage_target(generic_target): if "portage_overlay" in self.settings: myf.write('PORTDIR_OVERLAY="/usr/local/portage"\n') + """ Set default locale for system responses """ + myf.write("# This sets the language of build output to English. Please keep this setting intact when reporting bugs.\n") + myf.write("LC_MESSAGES=C\n") + myf.close() cmd("cp "+self.settings["chroot_path"]+"/etc/portage/make.conf "+\ self.settings["chroot_path"]+"/etc/portage/make.conf.catalyst",\ -- 1.8.1.5