Need to revise .bashrc
Bill's LFS Login
lfsbill at nospam.dot
Fri Jan 9 05:55:30 PST 2004
On Fri, 9 Jan 2004, Bryan Kadzban wrote:
> John Green wrote:
> > In Chapter 5, 'Setting up the environment', .bashrc is created
> > containing PATH=/tools/bin:/bin:/usr/bin
> You're root, not lfs, after chroot. ;-) $LFS is not set as root (plus
> the env -i clears out all old environment variables, so if you su to do
> the chroot instead of "su -", $LFS still won't get carried over except
> into the pre-chroot shell).
> It may be the case that we should create a skeleton $LFS/root/.bashrc
> and/or $LFS/root/.bash_profile (and I'm pretty sure previous book
> versions did that). It does seem to work this way, however...
Since the default path stuff for root includes the appropriate dirs,
there are only a few basic apps installed, the platform is now intended
as a *base* upon which to continue building, and BLFS addresses this (in
some depth), I don't see a need for this.
NOTE: I'm on a new ISP, if I'm in your address book ...
Fix line above & use it to mail me direct.
More information about the lfs-dev