r1770 - in profiles/LFS/trunk: . chapter08 config

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sat Feb 12 10:23:15 PST 2005


Author: kpfleming
Date: 2005-02-12 11:23:14 -0700 (Sat, 12 Feb 2005)
New Revision: 1770

Added:
   profiles/LFS/trunk/chapter08/
   profiles/LFS/trunk/chapter08/fstab.xml
   profiles/LFS/trunk/chapter08/grub.xml
Removed:
   profiles/LFS/trunk/config/fstab.xml
   profiles/LFS/trunk/config/grub.xml
Modified:
   profiles/LFS/trunk/LFS.xml
   profiles/LFS/trunk/README
Log:
move fstab and grub to chapter08, since they no longer need to be edited
add README comment about config/console.xml



Modified: profiles/LFS/trunk/LFS.xml
===================================================================
--- profiles/LFS/trunk/LFS.xml	2005-02-12 18:14:07 UTC (rev 1769)
+++ profiles/LFS/trunk/LFS.xml	2005-02-12 18:23:14 UTC (rev 1770)
@@ -181,9 +181,9 @@
         <variable name="CXXFLAGS">&gcc_optimizations;</variable>
       </environment>
     </stageinfo>
-    <xi:include href="config/fstab.xml" />
+    <xi:include href="chapter08/fstab.xml" />
     <xi:include href="config/kernel.xml" />
-    <xi:include href="config/grub.xml" />
+    <xi:include href="chapter08/grub.xml" />
   </stage>
   <stage name="Chapter 9 - The End">
     <stageinfo>

Modified: profiles/LFS/trunk/README
===================================================================
--- profiles/LFS/trunk/README	2005-02-12 18:14:07 UTC (rev 1769)
+++ profiles/LFS/trunk/README	2005-02-12 18:23:14 UTC (rev 1770)
@@ -18,6 +18,8 @@
    - the file kernel.xml contains the commands for building the kernel
    - the files keymap-ch6.xml and keymap-ch8.xml are used to set up
      the default keymap
+   - file console.xml contains the commands to set up the Linux
+     console for non-US English language support
 
 - "skeleton" directory
   This directory (and all its subdirectories) contain all the standard

Copied: profiles/LFS/trunk/chapter08/fstab.xml (from rev 1769, profiles/LFS/trunk/config/fstab.xml)

Copied: profiles/LFS/trunk/chapter08/grub.xml (from rev 1769, profiles/LFS/trunk/config/grub.xml)

Deleted: profiles/LFS/trunk/config/fstab.xml
===================================================================
--- profiles/LFS/trunk/config/fstab.xml	2005-02-12 18:14:07 UTC (rev 1769)
+++ profiles/LFS/trunk/config/fstab.xml	2005-02-12 18:23:14 UTC (rev 1770)
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
-[
-<!ENTITY % general_entities SYSTEM "../config/general.ent">
-
-%general_entities;
-]>
-<alfs>
-  <stage name="Creating the /etc/fstab File">
-    <copy>
-      <source>&skeleton_dir;/etc/fstab</source>
-      <destination>/etc</destination>
-    </copy>
-  </stage>
-</alfs>

Deleted: profiles/LFS/trunk/config/grub.xml
===================================================================
--- profiles/LFS/trunk/config/grub.xml	2005-02-12 18:14:07 UTC (rev 1769)
+++ profiles/LFS/trunk/config/grub.xml	2005-02-12 18:23:14 UTC (rev 1770)
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
-[
-<!ENTITY % general_entities SYSTEM "../config/general.ent">
-<!ENTITY % package_entities SYSTEM "../config/package.ent">
-
-%general_entities;
-%package_entities;
-]>
-<alfs>
-  <stage name="Making the LFS System Bootable">
-    <execute command="/sbin/grub --batch">
-      <prefix>echo -e "root (&grub-root;)\nsetup (&grub-install-location;)\nquit" | </prefix>
-      <param>1>/dev/null</param>
-      <param>2>/dev/null</param>
-    </execute>
-    <copy>
-      <source>&skeleton_dir;/boot/grub/menu.lst</source>
-      <destination>/boot/grub</destination>
-    </copy>
-    <search_replace>
-      <file>/boot/grub/menu.lst</file>
-      <find>[LFS-version]</find>
-      <replace>&LFS-version;</replace>
-    </search_replace>
-    <search_replace>
-      <file>/boot/grub/menu.lst</file>
-      <find>[linux-version]</find>
-      <replace>&linux-version;</replace>
-    </search_replace>
-    <search_replace>
-      <file>/boot/grub/menu.lst</file>
-      <find>[grub-root]</find>
-      <replace>&grub-root;</replace>
-    </search_replace>
-  </stage>
-</alfs>




More information about the alfs-log mailing list