On Sat, Dec 03, 2011 at 04:26:42PM +1000, Allan McRae wrote: > This ensures the PATH used when building is the default path and > not the value set by the user calling makechrootpkg. > > Signed-off-by: Allan McRae <[email protected]> > --- > makechrootpkg.in | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-)
Agreed. If we ever feel the need to set "$PATH" inside the chroot, we can always add another environment variable for that. Signed-off-by: Lukas Fleischer <[email protected]> > > diff --git a/makechrootpkg.in b/makechrootpkg.in > index 8a4b143..c5d57e5 100644 > --- a/makechrootpkg.in > +++ b/makechrootpkg.in > @@ -264,6 +264,7 @@ echo 'LANG=C' > "$copydir/etc/locale.conf" > # working copy > cat >"$copydir/chrootbuild" <<EOF > #!/bin/bash > +. /etc/profile > export LANG=C > export HOME=/build > > -- > 1.7.7.4
