r1738 - in profiles/LFS/trunk: chapter06 skeleton/etc

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Wed Feb 9 08:10:52 PST 2005


Author: kpfleming
Date: 2005-02-09 09:10:51 -0700 (Wed, 09 Feb 2005)
New Revision: 1738

Added:
   profiles/LFS/trunk/skeleton/etc/group
   profiles/LFS/trunk/skeleton/etc/passwd
Modified:
   profiles/LFS/trunk/chapter06/pwdgroup.xml
Log:
move passwd and group to skeleton



Modified: profiles/LFS/trunk/chapter06/pwdgroup.xml
===================================================================
--- profiles/LFS/trunk/chapter06/pwdgroup.xml	2005-02-09 16:08:00 UTC (rev 1737)
+++ profiles/LFS/trunk/chapter06/pwdgroup.xml	2005-02-09 16:10:51 UTC (rev 1738)
@@ -3,32 +3,11 @@
 []>
 <alfs>
   <stage name="Creating the passwd, group, and log Files">
-    <textdump base="/etc">
-      <file>passwd</file>
-      <content>
-      =root:x:0:0:root:/root:/bin/bash
-      </content>
-    </textdump>
-    <textdump base="/etc">
-      <file>group</file>
-      <content>
-      =root:x:0:
-      =bin:x:1:
-      =sys:x:2:
-      =kmem:x:3:
-      =tty:x:4:
-      =tape:x:5:
-      =daemon:x:6:
-      =floppy:x:7:
-      =disk:x:8:
-      =lp:x:9:
-      =dialout:x:10:
-      =audio:x:11:
-      =video:x:12:
-      =utmp:x:13:
-      =usb:x:14:
-      </content>
-    </textdump>
+    <copy>
+      <source>&skeleton_dir;/etc/passwd</source>
+      <source>&skeleton_dir;/etc/group</source>
+      <destination>/etc</destination>
+    </copy>
     <execute command="touch">
       <param>/var/run/utmp</param>
       <param>/var/log/{btmp,lastlog,wtmp}</param>

Added: profiles/LFS/trunk/skeleton/etc/group
===================================================================
--- profiles/LFS/trunk/skeleton/etc/group	2005-02-09 16:08:00 UTC (rev 1737)
+++ profiles/LFS/trunk/skeleton/etc/group	2005-02-09 16:10:51 UTC (rev 1738)
@@ -0,0 +1,15 @@
+root:x:0:
+bin:x:1:
+sys:x:2:
+kmem:x:3:
+tty:x:4:
+tape:x:5:
+daemon:x:6:
+floppy:x:7:
+disk:x:8:
+lp:x:9:
+dialout:x:10:
+audio:x:11:
+video:x:12:
+utmp:x:13:
+usb:x:14:

Added: profiles/LFS/trunk/skeleton/etc/passwd
===================================================================
--- profiles/LFS/trunk/skeleton/etc/passwd	2005-02-09 16:08:00 UTC (rev 1737)
+++ profiles/LFS/trunk/skeleton/etc/passwd	2005-02-09 16:10:51 UTC (rev 1738)
@@ -0,0 +1 @@
+root:x:0:0:root:/root:/bin/bash




More information about the alfs-log mailing list