r2116 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sat Oct 15 03:47:27 PDT 2005


Author: manuel
Date: 2005-10-15 04:47:25 -0600 (Sat, 15 Oct 2005)
New Revision: 2116

Modified:
   jhalfs/trunk/jhalfs
Log:
Removed the /home/lfs/.bash_profile creation due an issue with mainstream distros environment.
Thanks to Alexander E. Patrakov for point it out.

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-10-14 22:32:33 UTC (rev 2115)
+++ jhalfs/trunk/jhalfs	2005-10-15 10:47:25 UTC (rev 2116)
@@ -879,15 +879,14 @@
 
 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




More information about the alfs-log mailing list