Ignore:
Timestamp:
Apr 20, 2014, 8:57:39 AM (11 years ago)
Author:
Chris Staub <chris@…>
Children:
0be79ea
Parents:
88ef769 (diff), 578ca586 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'systemd' into simp

Conflicts:

BOOK/final-system/common/bash.xml
BOOK/final-system/mips64-chapter.xml
BOOK/final-system/multilib/bash.xml
BOOK/final-system/ppc64-chapter.xml
BOOK/final-system/sparc64-chapter.xml
BOOK/final-system/x86_64-chapter.xml
BOOK/general.ent
BOOK/packages.ent
BOOK/temp-system/common/bash.xml
BOOK/temp-system/mips64-64-chapter.xml
BOOK/temp-system/mips64-chapter.xml
BOOK/temp-system/multilib/bash.xml
BOOK/temp-system/ppc64-64-chapter.xml
BOOK/temp-system/ppc64-chapter.xml
BOOK/temp-system/sparc64-64-chapter.xml
BOOK/temp-system/sparc64-chapter.xml
BOOK/temp-system/x86_64-64-chapter.xml
BOOK/temp-system/x86_64-chapter.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/kmod.xml

    r88ef769 r03e6a40  
    2323    <title>Installation of Kmod</title>
    2424
     25    <para os="s1">Tell Kmod to use <filename class="directory">/tools/lib/modules</filename>:</para>
     26
     27<screen os="s2"><userinput>cp -v libkmod/libkmod.c{,.orig}
     28sed '/dirname_default_prefix /s@/lib/modules@/tools&amp;@' \
     29    libkmod/libkmod.c.orig &gt; libkmod/libkmod.c</userinput></screen>
     30
    2531    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2632    href="../../final-system/common/kmod.xml"
     
    2935<screen os="b"><userinput>liblzma_CFLAGS="-I/tools/include" liblzma_LIBS="-L/tools/lib -llzma" \
    3036zlib_CFLAGS="-I/tools/include" zlib_LIBS="-L/tools/lib -lz" \
    31 ./configure --prefix=/tools --bindir=/bin \
    32     --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-xz --with-zlib \
    33     --disable-manpages</userinput></screen>
     37./configure --prefix=/tools \
     38    --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-xz --with-zlib</userinput></screen>
     39
     40    <variablelist os="c">
     41      <title>The meaning of the new configure options:</title>
     42
     43      <varlistentry>
     44        <term><parameter>--with-zlib --with-xz</parameter></term>
     45        <listitem>
     46          <para>These allow the Kmod package to handle zlib and XZ
     47            compressed kernel modules.</para>
     48        </listitem>
     49      </varlistentry>
     50
     51    </variablelist>
    3452
    3553    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    4563    xpointer="xpointer(//*[@os='g'])"/>
    4664
    47 <screen os="k"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
     65<screen os="h"><userinput>make install</userinput></screen>
    4866
    49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    50 href="../../final-system/common/kmod.xml"
    51 xpointer="xpointer(//*[@os='i'])"/>
     67    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     68    href="../../final-system/common/kmod.xml"
     69    xpointer="xpointer(//*[@os='i'])"/>
    5270
    53 <screen os="j"><userinput>ln -sv kmod ${CLFS}/bin/lsmod
    54 ln -sv ../bin/kmod ${CLFS}/sbin/depmod
    55 ln -sv ../bin/kmod ${CLFS}/sbin/insmod
    56 ln -sv ../bin/kmod ${CLFS}/sbin/modprobe
    57 ln -sv ../bin/kmod ${CLFS}/sbin/modinfo
    58 ln -sv ../bin/kmod ${CLFS}/sbin/rmmod</userinput></screen>
     71<screen os="j"><userinput>ln -sfv kmod /tools/bin/lsmod
     72for tool in depmod insmod modprobe modinfo rmmod; do
     73    ln -sv ../bin/kmod /tools/sbin/${tool}
     74done</userinput></screen>
    5975
    6076  </sect2>
Note: See TracChangeset for help on using the changeset viewer.