Removed the /home/lfs/.bash_profile creation due an issue with mainstream distros environment.
Thanks to Alexander E. Patrakov for point it out.
This commit is contained in:
parent
43757c2d41
commit
3cc6f4720a
1 changed files with 2 additions and 3 deletions
5
jhalfs
5
jhalfs
|
@ -879,15 +879,14 @@ clean-chapter5:
|
|||
|
||||
022-settingenvironment: 021-addinguser
|
||||
@\$(call echo_message, Building)
|
||||
@echo "exec env -i HOME=\\\$\$HOME TERM=\\\$\$TERM PS1='\u:\w\$$ ' /bin/bash" > /home/lfs/.bash_profile && \\
|
||||
echo "set +h" > /home/lfs/.bashrc && \\
|
||||
@echo "set +h" > /home/lfs/.bashrc && \\
|
||||
echo "umask 022" >> /home/lfs/.bashrc && \\
|
||||
echo "LFS=/mnt/lfs" >> /home/lfs/.bashrc && \\
|
||||
echo "LC_ALL=POSIX" >> /home/lfs/.bashrc && \\
|
||||
echo "PATH=/tools/bin:/bin:/usr/bin" >> /home/lfs/.bashrc && \\
|
||||
echo "export LFS LC_ALL PATH" >> /home/lfs/.bashrc && \\
|
||||
echo "source $JHALFSDIR/envars" >> /home/lfs/.bashrc && \\
|
||||
chown lfs:lfs /home/lfs/.bash* && \\
|
||||
chown lfs:lfs /home/lfs/.bashrc && \\
|
||||
touch envars && \\
|
||||
touch \$@
|
||||
EOF
|
||||
|
|
Reference in a new issue