cvs commit: ALFS/profiles/LFS/chapter05 settingenvironment.xml

jamie at linuxfromscratch.org jamie at linuxfromscratch.org
Sat Dec 20 12:18:56 PST 2003


jamie       03/12/20 13:18:56

  Modified:    profiles/LFS/chapter05 settingenvironment.xml
  Log:
  Reworked the Bash startup files to enforce a clean environment. Closes bug 714.
  
  Revision  Changes    Path
  1.2       +8 -2      ALFS/profiles/LFS/chapter05/settingenvironment.xml
  
  Index: settingenvironment.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/profiles/LFS/chapter05/settingenvironment.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- settingenvironment.xml	6 Dec 2003 03:25:45 -0000	1.1
  +++ settingenvironment.xml	20 Dec 2003 20:18:56 -0000	1.2
  @@ -6,13 +6,19 @@
   	<textdump>
   		<file>&lfs-user-dir;/.bash_profile</file>
   		<content>
  +			=exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
  +		</content>
  +	</textdump>
  +
  +	<textdump>
  +		<file>&lfs-user-dir;/.bashrc</file>
  +		<content>
   			=set +h
   			=umask 022
   			=LFS=&LFS;
   			=LC_ALL=POSIX
  -			=PATH=/tools/bin:$PATH
  +			=PATH=/tools/bin:/bin:/usr/bin
   			=export LFS LC_ALL PATH
  -			=unset CC CXX CPP LD_LIBRARY_PATH LD_PRELOAD
   		</content>
   	</textdump>
   </stage>
  
  
  



More information about the alfs-log mailing list