Changeset 420aa7ab


Ignore:
Timestamp:
01/14/2002 02:14:45 PM (22 years ago)
Author:
Marc Heerdink <gimli@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v3_2, v3_3, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
d8fd804
Parents:
6c999f2
Message:

The installation of the kernel headers in chapter 5 was changed so having the
sources in a directory other than /usr/src/linux won't break the cp.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1430 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r6c999f2 r420aa7ab  
    66
    77<itemizedlist>
     8
     9<listitem><para>January 14th, 2002 [marcheerdink]: Changed the kernel header
     10files installation in chapter 5 so it's a bit more portable.</para></listitem>
    811
    912<listitem><para>January 6th, 2002 [gerard]: Reformatted the dependency
  • chapter05/kernel-exp.xml

    r6c999f2 r420aa7ab  
    1111We're not configuring the real kernel here, we just need to have some sort
    1212of configure file created so that we can run make dep next that will
    13 create a few files in $LFS/usr/src/linux/include/linux, like version.h,
    14 among others, that we will need to compile Glibc and other packages later
    15 in chroot.</para>
     13create a few header files in <filename>include/linux</filename>, like
     14version.h, among others, that we will need to compile Glibc and other
     15packages later in chroot.</para>
    1616
    1717<para><userinput>make dep:</userinput> make dep checks dependencies and sets
    1818up the dependencies file. We don't really care about the dependency
    1919checks, but what we do care about is that make dep creates those
    20 aforementioned files in $LFS/usr/src/linux/include/linux we will be
     20aforementioned files in <filename>include/linux</filename> we will be
    2121needing later on.</para>
    2222
    23 <para><userinput>cp -a ../src/linux/include/linux .</userinput> and
    24 <userinput>mkdir asm &amp;&amp; cp -a ../src/linux/include/asm/*
    25 asm</userinput>:
    26 These commands copy the kernel headers in the
    27 <filename>$LFS/usr/include</filename> directory.</para>
     23<para><userinput>cp -HR include/asm $LFS/usr/include</userinput>
     24and <userinput>cp -HR include/linux $LFS/usr/include</userinput>:
     25These commands copy the required kernel header files to
     26<filename>$LFS/usr/include</filename>.</para>
    2827
    29 <para><userinput>chown -R root.root $LFS/usr/include/linux</userinput> and
    30 <userinput>chown -R root.root $LFS/usr/include/asm</userinput>:
    31 These commands change the ownership of the
    32 <filename>$LFS/usr/include/linux</filename> and the
    33 <filename>$LFS/usr/include/asm</filename> directories, plus all the
    34 files contained therein to the user root and group root.</para>
     28<para><userinput>chown -R root.root $LFS/usr/include</userinput>:
     29This ensures all header files under <filename>$LFS/usr/include</filename>
     30are owned by user root and group root.</para>
    3531
    3632</sect2>
  • chapter05/kernel-inst.xml

    r6c999f2 r420aa7ab  
    1414yes "" | make config &amp;&amp;
    1515make dep &amp;&amp;
    16 cd $LFS/usr/include &amp;&amp;
    17 cp -a ../src/linux/include/linux . &amp;&amp;
    18 chown -R root.root $LFS/usr/include/linux &amp;&amp;
    19 mkdir asm &amp;&amp;
    20 cp -a ../src/linux/include/asm/* asm &amp;&amp;
    21 chown -R root.root $LFS/usr/include/asm</userinput></screen></para>
     16cp -HR include/asm $LFS/usr/include &amp;&amp;
     17cp -HR include/linux $LFS/usr/include &amp;&amp;
     18chown -R root.root $LFS/usr/include</userinput></screen></para>
    2219
    2320</sect2>
  • index.xml

    r6c999f2 r420aa7ab  
    55<!ENTITY book SYSTEM "book/book.xml">
    66
    7 <!ENTITY version "20020109">
    8 <!ENTITY releasedate "January 9th, 2002">
     7<!ENTITY version "20020114">
     8<!ENTITY releasedate "January 14th, 2002">
    99
    1010<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
Note: See TracChangeset for help on using the changeset viewer.