From 394d9c17f38fea142334273253b441ed118be034 Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Thu, 8 Dec 2005 21:20:23 +0000 Subject: [PATCH] Add a default path to the environment in the chroot git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@949 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 5 ++++- modules/generic_target.py | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5269ad78..87461fcc 100644 --- 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 modules/generic_target.py: + Add a default path to the environment in the chroot 08 Dec 2005; Eric Edgar modules/generic_stage_target.py, targets/embedded/embedded-chroot.sh, diff --git a/modules/generic_target.py b/modules/generic_target.py index b9e32135..5b6e750c 100644 --- a/modules/generic_target.py +++ b/modules/generic_target.py @@ -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" -- 2.26.2