r1765 - in profiles/LFS/trunk: config skeleton/etc

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sat Feb 12 09:24:56 PST 2005


Author: kpfleming
Date: 2005-02-12 10:24:56 -0700 (Sat, 12 Feb 2005)
New Revision: 1765

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



Modified: profiles/LFS/trunk/config/fstab.xml
===================================================================
--- profiles/LFS/trunk/config/fstab.xml	2005-02-12 17:22:11 UTC (rev 1764)
+++ profiles/LFS/trunk/config/fstab.xml	2005-02-12 17:24:56 UTC (rev 1765)
@@ -7,20 +7,9 @@
 ]>
 <alfs>
   <stage name="Creating the /etc/fstab File">
-    <textdump>
-      <file>/etc/fstab</file>
-      <content>
-      =# Begin /etc/fstab
-      =
-      =# filesystem mount-point fs-type options dump fsck-order
-      =&lfs_partition; / &fs_type; defaults 1 1
-      =&swap_partition; swap swap pri=1 0 0
-      =proc /proc proc defaults 0 0
-      =sysfs /sys sysfs defaults 0 0
-      =devpts /dev/pts devpts gid=4,mode=620 0 0
-      =shm /dev/shm tmpfs defaults 0 0
-      =# End /etc/fstab
-      </content>
-    </textdump>
+    <copy>
+      <source>&skeleton_dir;/etc/fstab</source>
+      <destination>/etc</destination>
+    </copy>
   </stage>
 </alfs>

Modified: profiles/LFS/trunk/config/general.ent
===================================================================
--- profiles/LFS/trunk/config/general.ent	2005-02-12 17:22:11 UTC (rev 1764)
+++ profiles/LFS/trunk/config/general.ent	2005-02-12 17:24:56 UTC (rev 1765)
@@ -28,23 +28,6 @@
      -->
 <!ENTITY orig_packages_dir "/your/LFS-SVN/packages">
 
-<!-- Partition of your new LFS system.
-     This entity is used only to initialize the new fstab file.
-     No attempt is done to access this partition during
-     the build, except if it has been mounted on &LFS;
-     -->
-<!ENTITY lfs_partition "/dev/hda2">
-
-<!-- Type of your LFS partition.
-     This entity is used only to initialize the new fstab file.
-     -->
-<!ENTITY fs_type "ext3">
-
-<!-- Swap partition.
-     This entity is used only to initialize the new fstab file
-     -->
-<!ENTITY swap_partition "/dev/hda3">
-
 <!-- Timezone file
      This entity will be used as the target of the link
      /etc/localtime

Added: profiles/LFS/trunk/skeleton/etc/fstab
===================================================================
--- profiles/LFS/trunk/skeleton/etc/fstab	2005-02-12 17:22:11 UTC (rev 1764)
+++ profiles/LFS/trunk/skeleton/etc/fstab	2005-02-12 17:24:56 UTC (rev 1765)
@@ -0,0 +1,9 @@
+# Begin /etc/fstab
+# filesystem mount-point fs-type options dump fsck-order
+/dev/hda2 / ext3 defaults 1 1
+/dev/hda3 swap swap pri=1 0 0
+proc /proc proc defaults 0 0
+sysfs /sys sysfs defaults 0 0
+devpts /dev/pts devpts gid=4,mode=620 0 0
+shm /dev/shm tmpfs defaults 0 0
+# End /etc/fstab




More information about the alfs-log mailing list