Ignore:
Timestamp:
Apr 19, 2006, 1:44:44 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Children:
27f8834
Parents:
cf5d88f
Message:

r2997@server: jim | 2006-04-19 13:43:15 -0700
Added: Linux-Headers Package

File:
1 moved

Legend:

Unmodified
Added
Removed
  • final-system/x86/linux-headers.xml

    rcf5d88f re85011e4  
    66]>
    77
    8 <sect1 id="ch-system-linux-libc-headers" role="wrap">
    9   <?dbhtml filename="linux-libc-headers.html"?>
     8<sect1 id="ch-system-linux-headers" role="wrap">
     9  <?dbhtml filename="linux-headers.html"?>
    1010
    11   <title>Linux-Libc-Headers-&linux-libc-headers-version;</title>
     11  <title>Linux-Headers-&linux-headers-version;</title>
    1212
    13   <indexterm zone="ch-system-linux-libc-headers">
    14     <primary sortas="a-Linux-Libc-Headers">Linux-Libc-Headers</primary>
     13  <indexterm zone="ch-system-linux-headers">
     14    <primary sortas="a-Linux-Headers">Linux-Headers</primary>
    1515  </indexterm>
    1616
     
    1818    <title/>
    1919
    20     <para>The Linux-Libc-Headers package contains the
     20    <para>The Linux Headers package contains the
    2121    <quote>sanitized</quote> kernel headers.</para>
    2222
     
    3232
    3333  <sect2 role="installation">
    34     <title>Installation of Linux-Libc-Headers</title>
     34    <title>Installation of Linux-Headers</title>
    3535
    3636    <para os="a">For years it has been common practice to use <quote>raw</quote>
     
    3838    class="directory">/usr/include</filename>, but over the last few
    3939    years, the kernel developers have taken a strong stance that this
    40     should not be done. This gave birth to the Linux-Libc-Headers Project,
     40    should not be done. This gave birth to the Linux-LLH-Headers Project,
    4141    which was designed to maintain an API stable version of the Linux
    42     headers.</para>
     42    headers. But recently this project stopped producing updates. Cross-LFS
     43    decided to come up with our own santized headers and placed them in
     44    the book.</para>
    4345
    4446    <para os="b">Install the header files:</para>
     
    4850cp -av include/linux/* /usr/include/linux
    4951cp -av include/mtd/* /usr/include/mtd
    50 cp -av include/scsi/* /usr/include/scsi</userinput></screen>
     52cp -av include/net/* /usr/include/net
     53cp -av include/scsi/* /usr/include/scsi
     54cp -av include/sound/* /usr/include/sound</userinput></screen>
    5155
    5256    <para os="c">Ensure that all the headers are owned by
    5357    <systemitem class="username">root</systemitem>:</para>
    5458
    55 <screen os="d"><userinput>chown -Rv root:root /usr/include/{asm,linux,mtd,scsi}</userinput></screen>
     59<screen os="d"><userinput>chown -Rv root:root /usr/include/{asm,linux,mtd,net,scsi,sound}</userinput></screen>
    5660
    5761    <para os="e">Make sure the users can read the headers:</para>
    5862
    59 <screen os="f"><userinput>find /usr/include/{asm,linux,mtd,scsi} -type d -exec chmod -v 755 {} \;
    60 find /usr/include/{asm,linux,mtd,scsi} -type f -exec chmod -v 644 {} \;</userinput></screen>
     63<screen os="f"><userinput>find /usr/include/{asm,linux,mtd,net,scsi,sound} -type d -exec chmod -v 755 {} \;
     64find /usr/include/{asm,linux,mtd,net,scsi,sound} -type f -exec chmod -v 644 {} \;</userinput></screen>
    6165
    6266  </sect2>
    6367
    64   <sect2 id="contents-linux-libc-headers" role="content">
    65     <title>Contents of Linux-Libc-Headers</title>
     68  <sect2 id="contents-linux-headers" role="content">
     69    <title>Contents of Linux-Headers</title>
    6670
    6771    <segmentedlist>
     
    7882      <?dbhtml list-presentation="table"?>
    7983
    80       <varlistentry id="linux-libc-headers">
     84      <varlistentry id="linux-headers">
    8185        <term><filename
    8286        class="headerfile">/usr/include/{asm,linux}/*.h</filename></term>
    8387        <listitem>
    8488          <para>The Linux API headers</para>
    85           <indexterm zone="ch-system-linux-libc-headers linux-libc-headers">
     89          <indexterm zone="ch-system-linux-headers linux-headers">
    8690            <primary
    8791            sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary>
Note: See TracChangeset for help on using the changeset viewer.