Changeset 91f60dc for BOOK/final-system


Ignore:
Timestamp:
Apr 20, 2006, 8:57:18 AM (19 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
b7a5dcd
Parents:
f35399d3
Message:

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

Location:
BOOK/final-system
Files:
10 edited

Legend:

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

    rf35399d3 r91f60dc  
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    32 <screen><userinput>install -dv /usr/include/{asm,linux,mtd,net,scsi,sound}
    33 cp -av include/asm-alpha/* /usr/include/asm
    34 cp -av include/linux/* /usr/include/linux
    35 cp -av include/mtd/* /usr/include/mtd
    36 cp -av include/net/* /usr/include/net
    37 cp -av include/scsi/* /usr/include/scsi
    38 cp -ar include/sound/* /usr/include/sound</userinput></screen>
    39 
    4032    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4133    href="../x86/linux-headers.xml"
     
    4537    href="../x86/linux-headers.xml"
    4638    xpointer="xpointer(//*[@os='d'])"/>
     39
     40<screen><userinput>cp -av include/asm-alpha/* /usr/include/asm</userinput></screen>
    4741
    4842    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5448    xpointer="xpointer(//*[@os='f'])"/>
    5549
     50    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     51    href="../x86/linux-headers.xml"
     52    xpointer="xpointer(//*[@os='g'])"/>
     53
     54    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     55    href="../x86/linux-headers.xml"
     56    xpointer="xpointer(//*[@os='h'])"/>
     57
    5658  </sect2>
    5759
  • BOOK/final-system/mips/linux-headers.xml

    rf35399d3 r91f60dc  
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    32 <screen os="mf"><userinput>install -dv /usr/include/{asm,linux,mtd,net,scsi,sound}
    33 cp -av include/asm-mips/* /usr/include/asm
    34 cp -av include/linux/* /usr/include/linux
    35 cp -av include/mtd/* /usr/include/mtd
    36 cp -av include/net/* /usr/include/net
    37 cp -av include/scsi/* /usr/include/scsi
    38 cp -ar include/sound/* /usr/include/sound</userinput></screen>
    39 
    4032    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4133    href="../x86/linux-headers.xml"
     
    4537    href="../x86/linux-headers.xml"
    4638    xpointer="xpointer(//*[@os='d'])"/>
     39
     40<screen><userinput>cp -av include/asm-mips/* /usr/include/asm</userinput></screen>
    4741
    4842    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5448    xpointer="xpointer(//*[@os='f'])"/>
    5549
     50    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     51    href="../x86/linux-headers.xml"
     52    xpointer="xpointer(//*[@os='g'])"/>
     53
     54    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     55    href="../x86/linux-headers.xml"
     56    xpointer="xpointer(//*[@os='h'])"/>
     57
    5658  </sect2>
    5759
  • BOOK/final-system/ppc/linux-headers.xml

    rf35399d3 r91f60dc  
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    32 <screen><userinput>install -dv /usr/include/{asm,linux,mtd,net,scsi,sound}
    33 cp -av include/asm-ppc/* /usr/include/asm
    34 cp -av include/linux/* /usr/include/linux
    35 cp -av include/mtd/* /usr/include/mtd
    36 cp -av include/net/* /usr/include/net
    37 cp -av include/scsi/* /usr/include/scsi
    38 cp -ar include/sound/* /usr/include/sound</userinput></screen>
    39 
    4032    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4133    href="../x86/linux-headers.xml"
     
    4537    href="../x86/linux-headers.xml"
    4638    xpointer="xpointer(//*[@os='d'])"/>
     39
     40<screen><userinput>cp -av include/asm-ppc/* /usr/include/asm</userinput></screen>
    4741
    4842    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5448    xpointer="xpointer(//*[@os='f'])"/>
    5549
     50    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     51    href="../x86/linux-headers.xml"
     52    xpointer="xpointer(//*[@os='g'])"/>
     53
     54    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     55    href="../x86/linux-headers.xml"
     56    xpointer="xpointer(//*[@os='h'])"/>
     57
    5658  </sect2>
    5759
  • BOOK/final-system/ppc64/linux-headers.xml

    rf35399d3 r91f60dc  
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    32 <screen><userinput>install -dv /usr/include/{asm,linux,mtd,net,scsi,sound}
    33 cp -av include/asm-powerpc/* /usr/include/asm
    34 cp -av include/linux/* /usr/include/linux
    35 cp -av include/mtd/* /usr/include/mtd
    36 cp -av include/net/* /usr/include/net
    37 cp -av include/scsi/* /usr/include/scsi
    38 cp -ar include/sound/* /usr/include/sound</userinput></screen>
    39 
    4032    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4133    href="../x86/linux-headers.xml"
     
    4537    href="../x86/linux-headers.xml"
    4638    xpointer="xpointer(//*[@os='d'])"/>
     39
     40<screen><userinput>cp -av include/asm-powerpc/* /usr/include/asm</userinput></screen>
    4741
    4842    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5448    xpointer="xpointer(//*[@os='f'])"/>
    5549
     50    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     51    href="../x86/linux-headers.xml"
     52    xpointer="xpointer(//*[@os='g'])"/>
     53
     54    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     55    href="../x86/linux-headers.xml"
     56    xpointer="xpointer(//*[@os='h'])"/>
     57
    5658  </sect2>
    5759
  • BOOK/final-system/sparc/linux-headers.xml

    rf35399d3 r91f60dc  
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    32 <screen><userinput>install -dv /usr/include/{asm,linux,mtd,net,scsi,sound}
    33 cp -av include/asm-sparc/* /usr/include/asm
    34 cp -av include/linux/* /usr/include/linux
    35 cp -av include/mtd/* /usr/include/mtd
    36 cp -av include/net/* /usr/include/net
    37 cp -av include/scsi/* /usr/include/scsi
    38 cp -ar include/sound/* /usr/include/sound</userinput></screen>
    39 
    4032    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4133    href="../x86/linux-headers.xml"
     
    4537    href="../x86/linux-headers.xml"
    4638    xpointer="xpointer(//*[@os='d'])"/>
     39
     40<screen><userinput>cp -av include/asm-sparc/* /usr/include/asm</userinput></screen>
    4741
    4842    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5448    xpointer="xpointer(//*[@os='f'])"/>
    5549
     50    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     51    href="../x86/linux-headers.xml"
     52    xpointer="xpointer(//*[@os='g'])"/>
     53
     54    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     55    href="../x86/linux-headers.xml"
     56    xpointer="xpointer(//*[@os='h'])"/>
     57
    5658  </sect2>
    5759
  • BOOK/final-system/sparc64-64/linux-headers.xml

    rf35399d3 r91f60dc  
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    32 <screen><userinput>install -dv /usr/include/{asm,linux,mtd,net,scsi,sound}
    33 cp -av include/asm-sparc64/* /usr/include/asm
    34 cp -av include/linux/* /usr/include/linux
    35 cp -av include/mtd/* /usr/include/mtd
    36 cp -av include/net/* /usr/include/net
    37 cp -av include/scsi/* /usr/include/scsi
    38 cp -av include/sound/* /usr/include/sound</userinput></screen>
    39 
    4032    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4133    href="../x86/linux-headers.xml"
     
    4537    href="../x86/linux-headers.xml"
    4638    xpointer="xpointer(//*[@os='d'])"/>
     39
     40<screen><userinput>cp -av include/asm-sparc64/* /usr/include/asm</userinput></screen>
    4741
    4842    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5448    xpointer="xpointer(//*[@os='f'])"/>
    5549
     50    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     51    href="../x86/linux-headers.xml"
     52    xpointer="xpointer(//*[@os='g'])"/>
     53
     54    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     55    href="../x86/linux-headers.xml"
     56    xpointer="xpointer(//*[@os='h'])"/>
     57
    5658  </sect2>
    5759
  • BOOK/final-system/sparc64/linux-headers.xml

    rf35399d3 r91f60dc  
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    32 <screen><userinput>install -dv /usr/include/{asm,asm-sparc64,asm-sparc,linux,mtd,net,scsi,sound}
    33 cp -av include/asm-sparc64/* /usr/include/asm-sparc64
    34 cp -av include/asm-sparc/* /usr/include/asm-sparc
    35 cp -av include/asm-sparc-biarch/* /usr/include/asm
    36 cp -av include/linux/* /usr/include/linux
    37 cp -av include/mtd/* /usr/include/mtd
    38 cp -av include/net/* /usr/include/net
    39 cp -av include/scsi/* /usr/include/scsi
    40 cp -av include/sound/* /usr/include/sound</userinput></screen>
    41 
    4232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4333    href="../x86/linux-headers.xml"
    4434    xpointer="xpointer(//*[@os='c'])"/>
    4535
    46 <screen><userinput>chown -Rv root:root /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi}</userinput></screen>
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../x86/linux-headers.xml"
     38    xpointer="xpointer(//*[@os='d'])"/>
     39
     40<screen><userinput>install -dv /usr/include/{asm-sparc64,asm-sparc}
     41cp -av include/asm-sparc64/* /usr/include/asm-sparc64
     42cp -av include/asm-sparc/* /usr/include/asm-sparc</userinput></screen>
    4743
    4844    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5046    xpointer="xpointer(//*[@os='e'])"/>
    5147
    52 <screen><userinput>find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi} -type d -exec chmod -v 755 {} \;
    53 find /usr/include/{asm,asm-sparc,asm-sparc64,linux,mtd,scsi} -type f -exec chmod -v 644 {} \;</userinput></screen>
     48<screen><userinput>chown -Rv root:root /usr/include/{asm,asm-generic,asm-sparc,asm-sparc64,linux,mtd,scsi}</userinput></screen>
     49
     50    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     51    href="../x86/linux-headers.xml"
     52    xpointer="xpointer(//*[@os='g'])"/>
     53
     54<screen><userinput>find /usr/include/{asm,asm-generic,asm-sparc,asm-sparc64,linux,mtd,scsi} -type d -exec chmod -v 755 {} \;
     55find /usr/include/{asm,asm-generic,asm-sparc,asm-sparc64,linux,mtd,scsi} -type f -exec chmod -v 644 {} \;</userinput></screen>
    5456
    5557  </sect2>
  • BOOK/final-system/x86/linux-headers.xml

    rf35399d3 r91f60dc  
    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>
  • BOOK/final-system/x86_64-64/linux-headers.xml

    rf35399d3 r91f60dc  
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    32 <screen><userinput>install -dv /usr/include/{asm,linux,mtd,scsi}
    33 cp -av include/asm-x86_64/* /usr/include/asm
    34 cp -av include/linux/* /usr/include/linux
    35 cp -av include/mtd/* /usr/include/mtd
    36 cp -av include/net/* /usr/include/net
    37 cp -av include/scsi/* /usr/include/scsi
    38 cp -av include/sound/* /usr/include/sound</userinput></screen>
    39 
    4032    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4133    href="../x86/linux-headers.xml"
     
    4537    href="../x86/linux-headers.xml"
    4638    xpointer="xpointer(//*[@os='d'])"/>
     39
     40<screen><userinput>cp -av include/asm-x86_64/* /usr/include/asm</userinput></screen>
    4741
    4842    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5448    xpointer="xpointer(//*[@os='f'])"/>
    5549
     50    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     51    href="../x86/linux-headers.xml"
     52    xpointer="xpointer(//*[@os='g'])"/>
     53
     54    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     55    href="../x86/linux-headers.xml"
     56    xpointer="xpointer(//*[@os='h'])"/>
     57
    5658  </sect2>
    5759
  • BOOK/final-system/x86_64/linux-headers.xml

    rf35399d3 r91f60dc  
    3030    xpointer="xpointer(//*[@os='b'])"/>
    3131
    32 <screen><userinput>install -dv /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,net,scsi,sound}
    33 cp -av include/asm-i386/* /usr/include/asm-i386
    34 cp -av include/asm-x86_64/* /usr/include/asm-x86_64
    35 cp -av include/asm-x86_64-biarch/* /usr/include/asm
    36 cp -av include/linux/* /usr/include/linux
    37 cp -av include/mtd/* /usr/include/mtd
    38 cp -av include/net/* /usr/include/net
    39 cp -av include/scsi/* /usr/include/scsi
    40 cp -av include/sound/* /usr/include/sound</userinput></screen>
    41 
    4232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4333    href="../x86/linux-headers.xml"
    4434    xpointer="xpointer(//*[@os='c'])"/>
    4535
    46 <screen><userinput>chown -Rv root:root /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,net,scsi,sound}</userinput></screen>
     36    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     37    href="../x86/linux-headers.xml"
     38    xpointer="xpointer(//*[@os='d'])"/>
     39
     40<screen><userinput>install -dv /usr/include/{asm-i386,asm-x86_64}
     41cp -av include/asm-i386/* /usr/include/asm-i386
     42cp -av include/asm-x86_64/* /usr/include/asm-x86_64
     43cp -av include/asm-x86_64-biarch/* /usr/include/asm</userinput></screen>
    4744
    4845    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5047    xpointer="xpointer(//*[@os='e'])"/>
    5148
    52 <screen><userinput>find /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,net,scsi,sound} -type d -exec chmod -v 755 {} \;
    53 find /usr/include/{asm,asm-i386,asm-x86_64,linux,mtd,net,scsi,sound} -type f -exec chmod -v 644 {} \;</userinput></screen>
     49<screen><userinput>chown -Rv root:root /usr/include/{asm,asm-generic,asm-i386,asm-x86_64,linux,mtd,net,scsi,sound}</userinput></screen>
     50
     51    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     52    href="../x86/linux-headers.xml"
     53    xpointer="xpointer(//*[@os='g'])"/>
     54
     55<screen><userinput>find /usr/include/{asm,asm-generic,asm-i386,asm-x86_64,linux,mtd,net,scsi,sound} -type d -exec chmod -v 755 {} \;
     56find /usr/include/{asm,asm-generic,asm-i386,asm-x86_64,linux,mtd,net,scsi,sound} -type f -exec chmod -v 644 {} \;</userinput></screen>
    5457
    5558  </sect2>
Note: See TracChangeset for help on using the changeset viewer.