r1756 - in profiles/LFS/trunk: chapter07 config skeleton/etc

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sat Feb 12 09:04:51 PST 2005


Author: kpfleming
Date: 2005-02-12 10:04:50 -0700 (Sat, 12 Feb 2005)
New Revision: 1756

Added:
   profiles/LFS/trunk/skeleton/etc/profile
Modified:
   profiles/LFS/trunk/chapter07/profile.xml
   profiles/LFS/trunk/config/general.ent
Log:
move etc/profile to skeleton



Modified: profiles/LFS/trunk/chapter07/profile.xml
===================================================================
--- profiles/LFS/trunk/chapter07/profile.xml	2005-02-12 17:02:23 UTC (rev 1755)
+++ profiles/LFS/trunk/chapter07/profile.xml	2005-02-12 17:04:50 UTC (rev 1756)
@@ -7,19 +7,9 @@
 ]>
 <alfs>
   <stage name="The Bash Shell Startup Files">
-    <textdump base="/etc">
-      <file>profile</file>
-      <content>
-	=# Begin /etc/profile
-	=# Written for Linux From Scratch
-	=# by Alexander E. Patrakov 
-	= 
-	=export LC_ALL=&locale-language;_&locale-country; 
-	=export LANG=&locale-language;_&locale-country; 
-	=export INPUTRC=/etc/inputrc 
-	= 
-	=# End /etc/profile
-      </content>
-    </textdump>
+    <copy>
+      <source>&skeleton_dir;/etc/profile</source>
+      <destination>/etc/profile</destination>
+    </copy>
   </stage>
 </alfs>

Modified: profiles/LFS/trunk/config/general.ent
===================================================================
--- profiles/LFS/trunk/config/general.ent	2005-02-12 17:02:23 UTC (rev 1755)
+++ profiles/LFS/trunk/config/general.ent	2005-02-12 17:04:50 UTC (rev 1756)
@@ -174,10 +174,6 @@
 
 <!ENTITY TERM "linux">
 
-<!-- locale setting for /etc/profile -->
-<!ENTITY locale-language "en">
-<!ENTITY locale-country "US">
-
 <!--  Groff expects the environment variable PAGE to contain the default 
 	paper size.
       For those in the United States, this would be 'letter'.

Added: profiles/LFS/trunk/skeleton/etc/profile
===================================================================
--- profiles/LFS/trunk/skeleton/etc/profile	2005-02-12 17:02:23 UTC (rev 1755)
+++ profiles/LFS/trunk/skeleton/etc/profile	2005-02-12 17:04:50 UTC (rev 1756)
@@ -0,0 +1,9 @@
+# Begin /etc/profile
+# Written for Linux From Scratch
+# by Alexander E. Patrakov 
+
+export LC_ALL=en_US
+export LANG=en_US
+export INPUTRC=/etc/inputrc 
+
+# End /etc/profile




More information about the alfs-log mailing list