Ignore:
Timestamp:
Sep 14, 2008, 11:30:14 AM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
e8e6c4e
Parents:
9d32016
Message:

Checked and Updated Download Locations.
Updated Tree to 1.5.2.1.
Updated Util-Linux-NG to 2.14.1.
Updated TCL to 8.5.4.
Updated E2fsprogs to 1.41.1.
Updated M4 to 1.4.11.
Updated Kbd to 1.14.
Updated Bzip2 to 1.0.5.
Updated Autoconf to 2.63.
Updated Findutils to 4.4.0.
Updated Man-Pages to 3.09.
Updated Man to 1.6f.
Updated Shadow to 4.1.2.1.
Updated IPRoute2 to 2.6.26.
Updated Libtool to 2.2.6a.
Updated Module-Init-Tools to 3.4.1.
Updated Texinfo to 4.12.
Updated Vim to 7.2.
Updated MPFR to 2.3.2.
Updated Udev to 128.
Updated Linux to 2.6.26.5.
Applied fixes to Expect to make it compatible with TCL 8.5.
Add -Duseshrplib to the perl configure command. This causes perl to build a shared libperl.
Formatting fixes on multiple pages.
Use a Common inittab across all architectures.
Updated Bootscripts to 1.2-pre1.

Location:
BOOK/final-system/common
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/e2fsprogs.xml

    r9d32016 r1da2a84  
    2727  <sect2 role="installation">
    2828    <title>Installation of E2fsprogs</title>
     29
     30    <para os="s1">The following command adds <filename>libcom_err.so</filename>
     31    to the list of libraries to link <filename>libblkid.so</filename>
     32    to:</para>
     33
     34<screen os="s2"><userinput>cp -v misc/Makefile.in{,.orig}
     35sed 's/_BLKID= .*$/&amp; $(LIBCOM_ERR)/' \
     36    misc/Makefile.in.orig > misc/Makefile.in</userinput></screen>
    2937
    3038    <para os="a">The E2fsprogs documentation recommends that the package be
  • BOOK/final-system/common/inetutils.xml

    r9d32016 r1da2a84  
    3232<screen os="p2"><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
    3333
     34    <para os="s1">One of the source files is missing a header. Add it with the
     35    following command:</para>
     36
     37<screen os="s2"><userinput>sed -i "1i\#include &lt;stdlib.h&gt;" libicmp/icmp_timestamp.c</userinput></screen>
     38
    3439    <para os="a">Prepare Inetutils for compilation:</para>
    3540
  • BOOK/final-system/common/iproute2.xml

    r9d32016 r1da2a84  
    3838    <para os="a">Compile the package:</para>
    3939
    40 <screen os="b"><userinput>make SBINDIR=/sbin</userinput></screen>
     40<screen os="b"><userinput>make DESTDIR=/ DOCDIR=/usr/share/doc/iproute2 \
     41    MANDIR=/usr/share/man SBINDIR=/sbin</userinput></screen>
    4142
    4243    <variablelist os="c">
     
    5859    <para os="e">Install the package:</para>
    5960
    60 <screen os="f"><userinput>make SBINDIR=/sbin install</userinput></screen>
     61<screen os="f"><userinput>make DESTDIR=/ DOCDIR=/usr/share/doc/iproute2 \
     62    MANDIR=/usr/share/man SBINDIR=/sbin</userinput></screen>
    6163
    6264  </sect2>
  • BOOK/final-system/common/kbd.xml

    r9d32016 r1da2a84  
    2626    <title>Installation of Kbd</title>
    2727
     28    <para os="s1">While installing Kbd the Makefile will attempt to execute
     29    install with the strip option on all of the installed files. This will
     30    create errors when installing shell scripts. Prevent the strip argument
     31    from being passed to install with the following command:</para>
     32
     33<screen os="s2"><userinput>sed -i "/install -s/s/ -s//" src/Makefile.in</userinput></screen>
     34
     35    <para os="aa">The Kbd tarball does not include a pre-generated configure
     36    script. Generate it with the following command:</para>
     37
     38<screen os="ab"><userinput>autoconf</userinput></screen>
     39
    2840    <para os="a">Prepare Kbd for compilation:</para>
    2941
    30 <screen os="b"><userinput>./configure --datadir=/lib/kbd</userinput></screen>
     42<screen os="b"><userinput>./configure --prefix=/usr --datadir=/lib/kbd</userinput></screen>
    3143
    3244    <variablelist os="c">
  • BOOK/final-system/common/mpfr.xml

    r9d32016 r1da2a84  
    2626  <sect2 role="installation">
    2727    <title>Installation of MPFR</title>
    28 
    29     <para os="p1">The following patch contains updates from upstream:</para>
    30 
    31 <screen os="p2"><userinput>patch -Np1 -i ../&mpfr-cumulative-patch;</userinput></screen>
    3228
    3329    <para os="a">Prepare MPFR for compilation:</para>
  • BOOK/final-system/common/perl.xml

    r9d32016 r1da2a84  
    5656   -Dman3dir=/usr/share/man/man3 \
    5757   -Dpager="/bin/less -isR" \
    58    -Dusethreads</userinput></screen>
     58   -Dusethreads -Duseshrplib</userinput></screen>
    5959
    6060    <variablelist os="c">
     
    6868        </listitem>
    6969      </varlistentry>
     70
    7071      <varlistentry os="c2">
    7172        <term><parameter>-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3</parameter></term>
     
    7677        </listitem>
    7778      </varlistentry>
     79
    7880      <varlistentry os="c3">
    7981        <term><parameter>-Dusethreads</parameter></term>
     
    8284        </listitem>
    8385      </varlistentry>
     86
     87      <varlistentry os="c4">
     88        <term><parameter>-Duseshrplib</parameter></term>
     89        <listitem>
     90          <para>This tells Perl to build a shared libperl.</para>
     91        </listitem>
     92      </varlistentry>
     93
    8494    </variablelist>
    8595
  • BOOK/final-system/common/sysvinit.xml

    r9d32016 r1da2a84  
    8282
    8383su:S016:once:/sbin/sulogin
    84 
    85 1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
     84</literal>
     85EOF</userinput></screen>
     86
     87    <para>The following command adds the standard virtual terminals to
     88    <filename>/etc/inittab</filename>. If your system only has a serial
     89    console skip the following command:</para>
     90
     91<screen><userinput>cat &gt;&gt; /etc/inittab &lt;&lt; "EOF"
     92<literal>1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
    86932:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600
    87943:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600
     
    89965:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600
    90976:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600
    91 
    92 # End /etc/inittab</literal>
     98</literal>
     99EOF</userinput></screen>
     100
     101    <para>If your system has a serial console run the following command to add
     102    the entry to <filename>/etc/inittab</filename>.</para>
     103
     104<screen><userinput>cat &gt;&gt; /etc/inittab &lt;&lt; "EOF"
     105<literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100
     106</literal>
     107EOF</userinput></screen>
     108
     109   <para>Finally, Add the end line to <filename>/etc/inittab</filename>.</para>
     110
     111<screen><userinput>cat &gt;&gt; /etc/inittab &lt;&lt; "EOF"
     112<literal># End /etc/inittab</literal>
    93113EOF</userinput></screen>
    94114
  • BOOK/final-system/common/udev.xml

    r9d32016 r1da2a84  
    2626    <title>Installation of Udev</title>
    2727
    28     <para os="a">Compile the package:</para>
    29 
    30 <screen os="b"><userinput>make EXTRAS="extras/ata_id extras/cdrom_id extras/collect \
    31     extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator \
    32     extras/scsi_id extras/usb_id extras/volume_id" udevdir=/dev</userinput></screen>
    33 
    34     <variablelist os="c">
    35       <title>The meaning of the make parameter:</title>
    36 
    37       <varlistentry>
    38       <term><parameter>EXTRAS="extras/ata_id extras/cdrom_id extras/collect
    39       extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator
    40       extras/scsi_id extras/usb_id extras/volume_id"</parameter></term>
    41         <listitem>
    42           <para>This builds the helper applications that are used with
    43           udev. The helper programs assist in correct handling of devices.</para>
    44         </listitem>
    45       </varlistentry>
    46 
    47     </variablelist>
    48 
    49     <para os="d">If you want to run the testsuite, you need to change
    50     a hardcoded reference to the <command>test</command> program:</para>
    51 
    52     <screen os="e"><userinput>sed -i 's@/usr/bin/test@/bin/test@' test/udev-test.pl</userinput></screen>
    53 
    54     <para os="f">To test the results, issue:
    55     <userinput>make test</userinput>.</para>
     28    <para os="a">Prepare Udev for compilation:</para>
     29
     30<screen os="b"><userinput>./configure --prefix=/usr --exec-prefix= \
     31    --sysconfdir=/etc</userinput></screen>
     32
     33    <para os="c">Compile the package:</para>
     34
     35<screen os="d"><userinput>make</userinput></screen>
    5636
    5737    <para os="g">Install the package:</para>
    5838
    59 <screen os="h"><userinput>make EXTRAS="extras/ata_id extras/cdrom_id extras/collect \
    60     extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator \
    61     extras/scsi_id extras/usb_id extras/volume_id" DESTDIR=/ udevdir=/dev install</userinput></screen>
    62 
    63     <variablelist os="i">
    64       <title>The meaning of the make parameter:</title>
    65 
    66       <varlistentry>
    67       <term><parameter>DESTDIR=/</parameter></term>
    68         <listitem>
    69           <para>This prevents the Udev build process from killing any
    70           <command>udevd</command> processes that may be running on the
    71           system.</para>
    72         </listitem>
    73       </varlistentry>
    74 
    75     </variablelist>
    76 
    77     <para os="j">Install documentation:</para>
    78 
    79 <screen os="k"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html \
     39<screen os="h"><userinput>make install</userinput></screen>
     40
     41    <para os="i">Install documentation:</para>
     42
     43<screen os="j"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html \
    8044    /usr/share/doc/udev-&udev-version;/index.html</userinput></screen>
    8145
    82     <para os="l">Create a directory for storing firmware that can be
     46    <para os="k">Create a directory for storing firmware that can be
    8347    loaded by <command>udev</command>:</para>
    8448
    85 <screen os="m"><userinput>install -dv /lib/firmware</userinput></screen>
     49<screen os="l"><userinput>install -dv /lib/firmware</userinput></screen>
    8650
    8751  </sect2>
     
    9660
    9761      <seglistitem>
    98         <seg>udevadm, udevd, udevinfo (symlink to udevadm),
    99         udevsettle (symlink to udevadm)</seg>
    100         <seg>libvolume_id</seg>
     62        <seg>udevadm, udevd</seg>
     63        <seg>libvolume_id, libudev</seg>
    10164        <seg>/etc/udev, /lib/udev</seg>
    10265      </seglistitem>
     
    11174        <term><command>udevadm</command></term>
    11275        <listitem>
    113           <para>This program combines <command>udevinfo</command>,
    114           <command>udevtrigger</command>, <command>udevsettle</command>,
    115           <command>udevcontrol</command>, <command>udevmonitor</command>,
    116           and <command>udevtest</command> into one command.</para>
     76        <para>udevadm controls the runtime behavior of udev, requests kernel
     77        events, manages the event queue, and provides simple debugging.</para>
    11778          <indexterm zone="ch-system-udev udevadm">
    11879            <primary sortas="b-udevadm">udevadm</primary>
    119           </indexterm>
    120         </listitem>
    121       </varlistentry>
    122 
    123       <varlistentry id="udevadm-control">
    124         <term><command>udevadm control</command></term>
    125         <listitem>
    126           <para>Configures a number of options for the running
    127           <command>udevd</command> daemon, such as the log level. (Symlink to
    128           udevadm)</para>
    129           <indexterm zone="ch-system-udev udevadm-control">
    130             <primary sortas="b-udevadm-control">udevadm control</primary>
    13180          </indexterm>
    13281        </listitem>
     
    14594      </varlistentry>
    14695
    147       <varlistentry id="udevinfo">
    148         <term><command>udevinfo</command></term>
    149         <listitem>
    150           <para>Allows users to query the <command>udev</command> database for
    151           information on any device currently present on the system; it also
    152           provides a way to query any device in the <systemitem
    153           class="filesystem">sysfs</systemitem> tree to help create udev
    154           rules. (Symlink to udevadm)</para>
    155           <indexterm zone="ch-system-udev udevinfo">
    156             <primary sortas="b-udevinfo">udevinfo</primary>
    157           </indexterm>
    158         </listitem>
    159       </varlistentry>
    160 
    161       <varlistentry id="udevadm-monitor">
    162         <term><command>udevadm monitor</command></term>
    163         <listitem>
    164           <para>Prints the event received from the kernel and the event which
    165           <command>udev</command> sends out after rule processing</para>
    166           <indexterm zone="ch-system-udev udevadm-monitor">
    167             <primary sortas="b-udevadm-monitor">udevadm monitor</primary>
    168           </indexterm>
    169         </listitem>
    170       </varlistentry>
    171 
    172       <varlistentry id="udevsettle">
    173         <term><command>udevsettle</command></term>
    174         <listitem>
    175           <para>Watches the Udev event queue and exits if all current uevents
    176           have been handled. (Symlink to udevadm)</para>
    177           <indexterm zone="ch-system-udev udevsettle">
    178             <primary sortas="b-udevsettle">udevsettle</primary>
    179           </indexterm>
    180         </listitem>
    181       </varlistentry>
    182 
    183       <varlistentry id="udevadm-test">
    184         <term><command>udevadm test</command></term>
    185         <listitem>
    186           <para>Simulates a <command>udev</command> run for the given device,
    187           and prints out the name of the node the real <command>udev</command>
    188           would have created or the name of the renamed network interface</para>
    189           <indexterm zone="ch-system-udev udevadm-test">
    190             <primary sortas="b-udevadm-test">udevadm test</primary>
    191           </indexterm>
    192         </listitem>
    193       </varlistentry>
    194 
    195       <varlistentry id="udevadm-trigger">
    196         <term><command>udevadm trigger</command></term>
    197         <listitem>
    198           <para>Walks the sysfs tree for devices that need to be added to the
    199           system.</para>
    200           <indexterm zone="ch-system-udev udevadm-trigger">
    201             <primary sortas="b-udeadm-vtrigger">udevadm trigger</primary>
    202           </indexterm>
    203         </listitem>
    204       </varlistentry>     
    205 
    20696 <!-- Start of Helpers -->
    20797      <varlistentry id="ata_id">
     
    226116      </varlistentry>
    227117
     118      <varlistentry id="collect">
     119        <term><command>collect</command></term>
     120        <listitem>
     121          <para>DESCRIPTION REQUIRED</para>
     122          <indexterm zone="ch-system-udev collect">
     123            <primary sortas="b-collect">collect</primary>
     124          </indexterm>
     125        </listitem>
     126      </varlistentry>
     127
    228128      <varlistentry id="create_floppy_devices">
    229129        <term><command>create_floppy_devices</command></term>
     
    236136      </varlistentry>
    237137
    238       <varlistentry id="dasd_id">
    239         <term><command>dasd_id</command></term>
    240         <listitem>
    241           <para>Read the label from an s390 block device.</para>
    242           <indexterm zone="ch-system-udev dasd_id">
    243             <primary sortas="b-dasd_id">dasd_id</primary>
    244           </indexterm>
    245         </listitem>
    246       </varlistentry>
    247 
    248138      <varlistentry id="edd_id">
    249139        <term><command>edd_id</command></term>
     
    262152          <indexterm zone="ch-system-udev firmware.sh">
    263153            <primary sortas="b-firmware.sh">firmware.sh</primary>
     154          </indexterm>
     155        </listitem>
     156      </varlistentry>
     157
     158      <varlistentry id="fstab_import">
     159        <term><command>fstab_import</command></term>
     160        <listitem>
     161          <para>DESCRIPTION REQUIRED</para>
     162          <indexterm zone="ch-system-udev fstab_import">
     163            <primary sortas="b-fstab_import">fstab_import</primary>
    264164          </indexterm>
    265165        </listitem>
     
    303203          <indexterm zone="ch-system-udev vol_id">
    304204            <primary sortas="b-vol_id">vol_id</primary>
     205          </indexterm>
     206        </listitem>
     207      </varlistentry>
     208
     209      <varlistentry id="write_cd_rules">
     210        <term><command>write_cd_rules</command></term>
     211        <listitem>
     212          <para>DESCRIPTION REQUIRED</para>
     213          <indexterm zone="ch-system-udev write_cd_rules">
     214            <primary sortas="b-write_cd_rules">write_cd_rules</primary>
     215          </indexterm>
     216        </listitem>
     217      </varlistentry>
     218
     219      <varlistentry id="write_net_rules">
     220        <term><command>write_net_rules</command></term>
     221        <listitem>
     222          <para>DESCRIPTION REQUIRED</para>
     223          <indexterm zone="ch-system-udev write_net_rules">
     224            <primary sortas="b-write_net_rules">write_net_rules</primary>
    305225          </indexterm>
    306226        </listitem>
     
    320240      </varlistentry>
    321241
     242      <varlistentry id="libudev">
     243        <term><filename class="libraryfile">libudev</filename></term>
     244        <listitem>
     245          <para>DESCRIPTION REQUIRED</para>
     246          <indexterm zone="ch-system-udev libudev">
     247            <primary sortas="b-libudev">libudev</primary>
     248          </indexterm>
     249        </listitem>
     250      </varlistentry>
     251
    322252      <varlistentry id="etc-udev">
    323253        <term><filename class="directory">/etc/udev</filename></term>
Note: See TracChangeset for help on using the changeset viewer.