add an extra warning into the generated make.conf about changing the CHOST
authorAndrew Gaffney <agaffney@gentoo.org>
Sun, 11 Nov 2007 21:55:27 +0000 (21:55 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Sun, 11 Nov 2007 21:55:27 +0000 (21:55 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1254 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/generic_stage_target.py

index 29bf84b4478e76c3d592d270cd9c4e5996f0b82f..c340108061196055b19016c2df7b2217668aee3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
 # $Id: $
 
+  11 Nov 2007; Andrew Gaffney <agaffney@gentoo.org>
+  modules/generic_stage_target.py:
+  add an extra warning into the generated make.conf about changing the CHOST
+
   01 Nov 2007; Andrew Gaffney <agaffney@gentoo.org>
   targets/support/livecdfs-update.sh:
   we don't need to copy files from /usr/lib/hotplug/firmware anymore
index 4e814fbfc948a74e3d0da99e99cd5b3d7b75f25e..32315840e3dd85ebe55b830fa0e4a37965349f1c 100644 (file)
@@ -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=[]