cvs commit: LFS/newxml/chapter07 bootscripts.xml network.xml

jeremy at linuxfromscratch.org jeremy at linuxfromscratch.org
Wed Mar 24 23:09:09 PST 2004


jeremy      04/03/25 00:09:09

  Modified:    newxml   TODO general.ent
               newxml/chapter07 bootscripts.xml network.xml
  Log:
  updated newxml bootscript instructions to lfs-bootscripts-2.0.2 - Note: These changes have NOT been tested to render to HTML properly, as I'm not yet set up to render newxml
  
  Revision  Changes    Path
  1.10      +1 -2      LFS/newxml/TODO
  
  Index: TODO
  ===================================================================
  RCS file: /home/cvsroot/LFS/newxml/TODO,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- TODO	24 Mar 2004 22:23:15 -0000	1.9
  +++ TODO	25 Mar 2004 07:09:08 -0000	1.10
  @@ -17,8 +17,7 @@
          seems better in that respect, but I can't seem to write a document that
          will validate against it.  All the documents I try complain that
          "<book> wasn't expected there" (line 1!).
  -  1.2. Upgrade to lfs-bootscripts-2.0
  -  1.3. Merge Alex's structure and content changes
  +  1.2. Merge Alex's structure and content changes
   
   
   2. HTML
  
  
  
  1.6       +1 -1      LFS/newxml/general.ent
  
  Index: general.ent
  ===================================================================
  RCS file: /home/cvsroot/LFS/newxml/general.ent,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- general.ent	24 Mar 2004 22:23:15 -0000	1.5
  +++ general.ent	25 Mar 2004 07:09:09 -0000	1.6
  @@ -20,7 +20,7 @@
   <!ENTITY bash-version "2.05b">
   <!ENTITY binutils-version "2.14">
   <!ENTITY bison-version "1.875">
  -<!ENTITY bootscripts-version "1.12">
  +<!ENTITY bootscripts-version "2.0.2">
   <!ENTITY bzip2-version "1.0.2">
   <!ENTITY coreutils-version "5.2.1">
   <!ENTITY dejagnu-version "1.4.4">
  
  
  
  1.4       +9 -11     LFS/newxml/chapter07/bootscripts.xml
  
  Index: bootscripts.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/newxml/chapter07/bootscripts.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- bootscripts.xml	24 Mar 2004 22:23:17 -0000	1.3
  +++ bootscripts.xml	25 Mar 2004 07:09:09 -0000	1.4
  @@ -19,14 +19,9 @@
   <sect2>
   <title>Installation of LFS-Bootscripts</title>
   
  -<para>Install the boot scripts simply by copying them to their
  -destination:</para>
  +<para>Installation of the bootscripts is very simple:</para>
   
  -<screen><userinput>cp -a rc.d sysconfig /etc</userinput></screen>
  -
  -<para>Make sure <emphasis>root</emphasis> is owner of the scripts:</para>
  -
  -<screen><userinput>chown -R root:root /etc/rc.d /etc/sysconfig</userinput></screen>
  +<screen><userinput>make install</userinput></screen>
   
   </sect2>
   
  @@ -34,8 +29,8 @@
   <sect2 id="contents-bootscripts"><title>Contents of LFS-bootscripts</title>
   
   <para><emphasis>Installed scripts</emphasis>: checkfs, cleanfs, functions,
  -halt, ifdown, ifup, loadkeys, localnet, mountfs, mountproc, network, rc,
  -reboot, sendsignals, setclock, swap, sysklogd and template</para>
  +halt, ifdown, ifup, loadkeys, localnet, mountfs, mountkernfs, network, rc,
  +reboot, sendsignals, setclock, static, swap, sysklogd and template</para>
   
   </sect2>
   
  @@ -69,8 +64,8 @@
   <para>The <command>mountfs</command> script mounts all file systems that
   aren't marked <emphasis>noauto</emphasis> or aren't network based.</para>
   
  -<para>The <command>mountproc</command> script is used to mount the proc
  -file system.</para>
  +<para>The <command>mountkernfs</command> script is used to mount
  +kernel-provided file systems, such as /proc.</para>
   
   <para>The <command>network</command> script sets up network interfaces, such
   as network cards, and sets up the default gateway where applicable.</para>
  @@ -86,6 +81,9 @@
   
   <para>The <command>setclock</command> script resets the kernel clock to
   localtime in case the hardware clock isn't set to GMT time.</para>
  +
  +<para>The <command>static</command> script provides the functionality needed
  +to assign a static IP address to a network interface.</para>
   
   <para>The <command>swap</command> script enables and disables swap files and
   partitions.</para>
  
  
  
  1.5       +7 -0      LFS/newxml/chapter07/network.xml
  
  Index: network.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/newxml/chapter07/network.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- network.xml	9 Mar 2004 21:57:53 -0000	1.4
  +++ network.xml	25 Mar 2004 07:09:09 -0000	1.5
  @@ -52,6 +52,7 @@
   
   <screen><userinput>cat > /etc/sysconfig/network-devices/ifconfig.eth0 << "EOF"</userinput>
   ONBOOT=yes
  +SERVICE=static
   IP=192.168.1.1
   NETMASK=255.255.255.0
   BROADCAST=192.168.1.255
  @@ -62,6 +63,12 @@
   to yes, the network script will bring it up during the booting of the system.
   If set to anything else but yes, it will be ignored by the network script
   and thus not brought up.</para>
  +
  +<para>The SERVICE entry defines the method of obtaining the IP address.
  +The LFS bootscripts have a modular IP assignment format, and by creating
  +additional files in /etc/sysconfig/network-devices/services, you can allow
  +other IP assignment methods.  This would commonly be used if you need DHCP,
  +which is addressed in the BLFS book.</para>
   
   </sect2>
   
  
  
  



More information about the lfs-book mailing list