Add a default path to the environment in the chroot
authorEric Edgar <rocket@gentoo.org>
Thu, 8 Dec 2005 21:20:23 +0000 (21:20 +0000)
committerEric Edgar <rocket@gentoo.org>
Thu, 8 Dec 2005 21:20:23 +0000 (21:20 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@949 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/generic_target.py

index 5269ad785cc12b415898471735f099bbcc4cdd76..87461fccdc93eb977a0c2d8b0e4ffdfbf021cdbc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.436 2005/12/08 15:16:48 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.437 2005/12/08 21:20:23 rocket Exp $
+
+  08 Dec 2005; Eric Edgar <rocket@gentoo.org> modules/generic_target.py:
+  Add a default path to the environment in the chroot
 
   08 Dec 2005; Eric Edgar <rocket@gentoo.org>
   modules/generic_stage_target.py, targets/embedded/embedded-chroot.sh,
index b9e3213530a3bba56b151e6562f58dca832fc008..5b6e750c8e849c7bdd5cb0b9f35ca5f46866565a 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_target.py,v 1.5 2005/12/07 21:01:35 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_target.py,v 1.6 2005/12/08 21:20:23 rocket Exp $
 
 """
 The toplevel class for generic_stage_target. This is about as generic as we get.
@@ -14,3 +14,4 @@ class generic_target:
                addl_arg_parse(myspec,addlargs,self.required_values,self.valid_values)
                self.settings=myspec
                self.env={}
+               self.env["PATH"]="/bin:/sbin:/usr/bin:/usr/sbin"