Changeset f097f3e for BOOK/final-system/x86/linux-headers.xml
- Timestamp:
- Apr 19, 2006, 1:44:44 PM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ed3a13d4
- Parents:
- 011eaf3
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/x86/linux-headers.xml
r011eaf3 rf097f3e 6 6 ]> 7 7 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"?> 10 10 11 <title>Linux- Libc-Headers-&linux-libc-headers-version;</title>11 <title>Linux-Headers-&linux-headers-version;</title> 12 12 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> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>The Linux -Libc-Headers package contains the20 <para>The Linux Headers package contains the 21 21 <quote>sanitized</quote> kernel headers.</para> 22 22 … … 32 32 33 33 <sect2 role="installation"> 34 <title>Installation of Linux- Libc-Headers</title>34 <title>Installation of Linux-Headers</title> 35 35 36 36 <para os="a">For years it has been common practice to use <quote>raw</quote> … … 38 38 class="directory">/usr/include</filename>, but over the last few 39 39 years, the kernel developers have taken a strong stance that this 40 should not be done. This gave birth to the Linux-L ibc-Headers Project,40 should not be done. This gave birth to the Linux-LLH-Headers Project, 41 41 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> 43 45 44 46 <para os="b">Install the header files:</para> … … 48 50 cp -av include/linux/* /usr/include/linux 49 51 cp -av include/mtd/* /usr/include/mtd 50 cp -av include/scsi/* /usr/include/scsi</userinput></screen> 52 cp -av include/net/* /usr/include/net 53 cp -av include/scsi/* /usr/include/scsi 54 cp -av include/sound/* /usr/include/sound</userinput></screen> 51 55 52 56 <para os="c">Ensure that all the headers are owned by 53 57 <systemitem class="username">root</systemitem>:</para> 54 58 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> 56 60 57 61 <para os="e">Make sure the users can read the headers:</para> 58 62 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 {} \; 64 find /usr/include/{asm,linux,mtd,net,scsi,sound} -type f -exec chmod -v 644 {} \;</userinput></screen> 61 65 62 66 </sect2> 63 67 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> 66 70 67 71 <segmentedlist> … … 78 82 <?dbhtml list-presentation="table"?> 79 83 80 <varlistentry id="linux- libc-headers">84 <varlistentry id="linux-headers"> 81 85 <term><filename 82 86 class="headerfile">/usr/include/{asm,linux}/*.h</filename></term> 83 87 <listitem> 84 88 <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"> 86 90 <primary 87 91 sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary>
Note:
See TracChangeset
for help on using the changeset viewer.