The $LFS is set. I'm trying to set another variable.... sources=$LFS/sources. it refuses to stay set.
lfs@debian:~$ cat ~/.bash_profile exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash export LFS=/mnt/lfs export sources=$LFS/sources lfs@debian:~$ exit exit root@debian:~# su - lfs lfs@debian:~$ cat ~/.bash_profile exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash export LFS=/mnt/lfs export sources=$LFS/sources lfs@debian:~$ cd $sources lfs@debian:~$ pwd /home/lfs lfs@debian:~$ nano ~/.bash_profile lfs@debian:~$ cat ~/.bash_profile exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash export LFS=/mnt/lfs export sources=/mnt/lfs/sources lfs@debian:~$ cd $sources lfs@debian:~$ exit exit root@debian:~# su - lfs lfs@debian:~$ cd $sources lfs@debian:~$ cd $LFS/sources lfs@debian:/mnt/lfs/sources$ It is unclear what you are trying to to here. Just put > > export sources=$LFS/sources > > in /home/lfs/.bashrc to set a variable within the chroot.
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
