r1567 - in profiles/BLFS/trunk: chapter03 config_standard config_standard/etc config_standard/etc/profile.d config_standard/etc/skel

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Tue Oct 19 19:22:54 PDT 2004


Author: thomasp
Date: 2004-10-19 20:22:51 -0600 (Tue, 19 Oct 2004)
New Revision: 1567

Added:
   profiles/BLFS/trunk/config_standard/etc/inputrc
Modified:
   profiles/BLFS/trunk/chapter03/bash_startup.xml
   profiles/BLFS/trunk/chapter03/inputrc.xml
   profiles/BLFS/trunk/chapter03/maninfo.xml
   profiles/BLFS/trunk/config_standard/etc/profile
   profiles/BLFS/trunk/config_standard/etc/profile.d/extrapaths.sh
   profiles/BLFS/trunk/config_standard/etc/skel/dot_bash_profile
   profiles/BLFS/trunk/config_standard/general.ent
Log:
chapter 3 section updates

Modified: profiles/BLFS/trunk/chapter03/bash_startup.xml
===================================================================
--- profiles/BLFS/trunk/chapter03/bash_startup.xml	2004-10-15 02:52:14 UTC (rev 1566)
+++ profiles/BLFS/trunk/chapter03/bash_startup.xml	2004-10-20 02:22:51 UTC (rev 1567)
@@ -52,5 +52,6 @@
       <source>&blfs-config;/etc/skel/dot_bash_logout</source>
       <destination>/root/.bash_logout</destination>
     </copy>
+    <execute command="dircolors -p > /etc/dircolors" />
   </stage>
 </alfs>

Modified: profiles/BLFS/trunk/chapter03/inputrc.xml
===================================================================
--- profiles/BLFS/trunk/chapter03/inputrc.xml	2004-10-15 02:52:14 UTC (rev 1566)
+++ profiles/BLFS/trunk/chapter03/inputrc.xml	2004-10-20 02:22:51 UTC (rev 1567)
@@ -10,48 +10,9 @@
 ]>
 <alfs>
   <stage name="/etc/inputrc">
-    <textdump base="/etc">
-      <file>inputrc</file>
-      <content>
-	=# Begin /etc/inputrc
-	=
-	=# Make sure we dont output everything on the 1 line
-	=set horizontal-scroll-mode Off
-	=
-	=# Enable 8bit input
-	=set meta-flag On
-	=set input-meta On
-	=
-	=# Turns off 8th bit stripping
-	=set convert-meta Off
-	=
-	=# Keep the 8th bit for display
-	=set output-meta On
-	=
-	=# none, visible or audible
-	=set bell-style none
-	=
-	=# All of the following map the escape sequence of the
-	=# value contained inside the 1st argument to the
-	=# readline specific functions
-	=
-	="\eOd": backward-word
-	="\eOc": forward-word
-	=
-	=# for linux console
-	="\e[1~": beginning-of-line
-	="\e[4~": end-of-line
-	="\e[5~": beginning-of-history
-	="\e[6~": end-of-history
-	="\e[3~": delete-char
-	="\e[2~": quoted-insert
-	=
-	=# for xterm
-	="\eOH": beginning-of-line
-	="\eOF": end-of-line
-	=
-	=# End /etc/inputrc
-      </content>
-    </textdump>
+    <copy base="&blfs-config;/etc">
+      <source>inputrc</source>
+      <destination>/etc</destination>
+    </copy>    
   </stage>
 </alfs>

Modified: profiles/BLFS/trunk/chapter03/maninfo.xml
===================================================================
--- profiles/BLFS/trunk/chapter03/maninfo.xml	2004-10-15 02:52:14 UTC (rev 1566)
+++ profiles/BLFS/trunk/chapter03/maninfo.xml	2004-10-20 02:22:51 UTC (rev 1567)
@@ -12,16 +12,13 @@
 ]>
 <alfs>
   <stage name="Compressing man and info pages">
-    <stageinfo>
-      <base>/usr/sbin</base>
-    </stageinfo>
     <!-- Note: this section does not execute the script that is installed here. Refer to the script
 itself and the installation page in the BLFS Book for instructions on how to use it. -->
-    <copy>
-      <source>&blfs-config;/scripts/compressdoc</source>
-      <destination>.</destination>
+    <copy base="&blfs-config;/scripts">
+      <source>compressdoc</source>
+      <destination>/usr/sbin</destination>
     </copy>
-    <permissions mode="755">
+    <permissions base="/usr/sbin" mode="755">
       <name>compressdoc</name>
     </permissions>
   </stage>

Added: profiles/BLFS/trunk/config_standard/etc/inputrc
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/inputrc	2004-10-15 02:52:14 UTC (rev 1566)
+++ profiles/BLFS/trunk/config_standard/etc/inputrc	2004-10-20 02:22:51 UTC (rev 1567)
@@ -0,0 +1,39 @@
+# Begin /etc/inputrc
+
+# Make sure we don't output everything on the 1 line
+set horizontal-scroll-mode Off
+
+# Enable 8bit input
+set meta-flag On 
+set input-meta On
+
+# Turns off 8th bit stripping
+set convert-meta Off
+
+# Keep the 8th bit for display
+set output-meta On
+
+# none, visible or audible
+set bell-style none
+
+# All of the following map the escape sequence of the 
+# value contained inside the 1st argument to the 
+# readline specific functions
+
+"\eOd": backward-word
+"\eOc": forward-word
+
+# for linux console
+"\e[1~": beginning-of-line
+"\e[4~": end-of-line
+"\e[5~": beginning-of-history
+"\e[6~": end-of-history
+"\e[3~": delete-char
+"\e[2~": quoted-insert
+
+# for xterm
+"\eOH": beginning-of-line
+"\eOF": end-of-line
+
+# End /etc/inputrc
+

Modified: profiles/BLFS/trunk/config_standard/etc/profile
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/profile	2004-10-15 02:52:14 UTC (rev 1566)
+++ profiles/BLFS/trunk/config_standard/etc/profile	2004-10-20 02:22:51 UTC (rev 1567)
@@ -37,7 +37,12 @@
         export $PATHVARIABLE="${!PATHVARIABLE:+${!PATHVARIABLE}:}$1"
 }
  
+
+# Set the initial path
+export PATH=/bin:/usr/bin
+
 if [ $EUID -eq 0 ] ; then
+        pathappend /sbin:/usr/sbin
         unset HISTFILE
 fi
  
@@ -48,7 +53,7 @@
 export PS1='\u@\h:\w\$ '
  
 for script in /etc/profile.d/*.sh ; do
-        if [ -x $script ] ; then
+        if [ -r $script ] ; then
                 . $script
         fi
 done

Modified: profiles/BLFS/trunk/config_standard/etc/profile.d/extrapaths.sh
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/profile.d/extrapaths.sh	2004-10-15 02:52:14 UTC (rev 1566)
+++ profiles/BLFS/trunk/config_standard/etc/profile.d/extrapaths.sh	2004-10-20 02:22:51 UTC (rev 1567)
@@ -7,10 +7,10 @@
 if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then
         pathprepend /usr/local/sbin
 fi
-for directory in $(find /opt/*/lib/pkgconfig -type d 2> /dev/null); do
+for directory in $(find /opt/*/lib/pkgconfig -type d 2>/dev/null); do
         pathappend $directory PKG_CONFIG_PATH
 done
-for directory in $(find /opt/*/bin -type d 2> /dev/null); do
+for directory in $(find /opt/*/bin -type d 2>/dev/null); do
         pathappend $directory
 done
 if [ -d ~/bin ]; then

Modified: profiles/BLFS/trunk/config_standard/etc/skel/dot_bash_profile
===================================================================
--- profiles/BLFS/trunk/config_standard/etc/skel/dot_bash_profile	2004-10-15 02:52:14 UTC (rev 1566)
+++ profiles/BLFS/trunk/config_standard/etc/skel/dot_bash_profile	2004-10-20 02:22:51 UTC (rev 1567)
@@ -28,7 +28,7 @@
 fi
 
 if [ -d "$HOME/bin" ] ; then
-  append $HOME/bin      
+  	append $HOME/bin      
 fi
 
 unset append

Modified: profiles/BLFS/trunk/config_standard/general.ent
===================================================================
--- profiles/BLFS/trunk/config_standard/general.ent	2004-10-15 02:52:14 UTC (rev 1566)
+++ profiles/BLFS/trunk/config_standard/general.ent	2004-10-20 02:22:51 UTC (rev 1567)
@@ -1,6 +1,6 @@
 <!ENTITY real-amp "&#38;">
 <!-- book version -->
-<!ENTITY blfs-version "5.1">
+<!ENTITY blfs-version "svn-20040901">
 
 <!-- directory containing the compressed packages -->
 <!ENTITY packages_dir  "/mnt/src">




More information about the alfs-log mailing list