From fb673991af3d827e655da51e207cb6bd97716701 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Sun, 11 Nov 2007 21:55:27 +0000 Subject: [PATCH] add an extra warning into the generated make.conf about changing the CHOST git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1254 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 4 ++++ modules/generic_stage_target.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 29bf84b4..c3401080 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 11 Nov 2007; Andrew Gaffney + modules/generic_stage_target.py: + add an extra warning into the generated make.conf about changing the CHOST + 01 Nov 2007; Andrew Gaffney targets/support/livecdfs-update.sh: we don't need to copy files from /usr/lib/hotplug/firmware anymore diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 4e814fbf..32315840 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -894,7 +894,7 @@ class generic_stage_target(generic_target): myf.write("# This should not be changed unless you know exactly what you are doing. You\n# should probably be using a different stage, instead.\n") if self.settings.has_key("CBUILD"): myf.write('CBUILD="'+self.settings["CBUILD"]+'"\n') - myf.write('CHOST="'+self.settings["CHOST"]+'"\n') + myf.write('# WARNING: Changing your CHOST is not something that should be done lightly.\n# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing it.\nCHOST="'+self.settings["CHOST"]+'"\n') # Figure out what our USE vars are for building myusevars=[] -- 2.26.2