Ignore:
Timestamp:
Apr 20, 2006, 8:57:18 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Children:
d95bada
Parents:
2a48081
Message:

r3049@server: jim | 2006-04-20 08:55:10 -0700
Fixed linux-headers. Added missing copy of asm-generic.

File:
1 edited

Legend:

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

    r2a48081 r4677eac  
    4444    the book.</para>
    4545
    46     <para os="b">Install the header files:</para>
     46    <para os="b">Install the header files that are common to all architectures:</para>
    4747
    48 <screen><userinput>install -dv /usr/include/{asm,linux,mtd,scsi}
    49 cp -av include/asm-i386/* /usr/include/asm
     48<screen os="c"><userinput>install -dv /usr/include/{asm,asm-generic,linux,net,mtd,scsi,sound}
     49cp -av include/asm-generic/* /usr/include/asm-generic
    5050cp -av include/linux/* /usr/include/linux
    5151cp -av include/mtd/* /usr/include/mtd
     
    5454cp -av include/sound/* /usr/include/sound</userinput></screen>
    5555
    56     <para os="c">Ensure that all the headers are owned by
     56    <para os="d">Install the header files that are specific to this architecture:</para>
     57
     58<screen><userinput>cp -av include/asm-i386/* /usr/include/asm</userinput></screen>
     59
     60    <para os="e">Ensure that all the headers are owned by
    5761    <systemitem class="username">root</systemitem>:</para>
    5862
    59 <screen os="d"><userinput>chown -Rv root:root /usr/include/{asm,linux,mtd,net,scsi,sound}</userinput></screen>
     63<screen os="f"><userinput>chown -Rv root:root /usr/include/{asm,linux,mtd,net,scsi,sound}</userinput></screen>
    6064
    61     <para os="e">Make sure the users can read the headers:</para>
     65    <para os="g">Make sure the users can read the headers:</para>
    6266
    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>
     67<screen os="h"><userinput>find /usr/include/{asm,asm-generic-linux,mtd,net,scsi,sound} -type d -exec chmod -v 755 {} \;
     68find /usr/include/{asm,asm-generic,linux,mtd,net,scsi,sound} -type f -exec chmod -v 644 {} \;</userinput></screen>
    6569
    6670  </sect2>
Note: See TracChangeset for help on using the changeset viewer.