Changeset 2b224753


Ignore:
Timestamp:
Oct 3, 2006, 1:13:56 PM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
0c318f1
Parents:
3d95ac44
Message:

Update the udev libvolume_id instructions

Location:
BOOK/final-system/multilib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/multilib/udev-n32.xml

    r3d95ac44 r2b224753  
    2222    <title>Installation of Udev</title>
    2323
    24 
    25     <para os="p1">This patch moves /lib/udev to /lib64/udev, to keep
    26     system consistency:</para>
    27 
    28 <screen os="p2"><userinput>patch -Np1 -i ../&udev-lib64-patch;</userinput></screen>
    29 
    30     <para os="s1">This sed will move the build directory from lib64 to lib32, so we
    31     can build the library with the correct information:</para>
    32 
    33 <screen os="s2"><userinput>sed -i 's@lib64@lib32@g' extras/volume_id/lib/Makefile</userinput></screen>
    34 
    3524    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    36     href="../common/udev.xml"
     25    href="udev.xml"
    3726    xpointer="xpointer(//*[@os='a'])"/>
    3827
    39 <screen os="b"><userinput>make CC="gcc ${BUILDN32}" LD="gcc ${BUILDN32}" \
    40  EXTRAS="extras/volume_id"</userinput></screen>
    41 
    42     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    43     href="../common/udev.xml"
    44     xpointer="xpointer(//*[@os='c'])"/>
    45 
    46     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    47     href="../common/udev.xml"
    48     xpointer="xpointer(//*[@os='g'])"/>
     28<screen os="b"><userinput>cd extras/volume_id/lib
     29make CC="gcc ${BUILDN32}" AR=ar RANLIB=ranlib E=@echo Q=@</userinput></screen>
    4930
    5031    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    5132    href="udev.xml"
    52     xpointer="xpointer(//*[@os='m1'])"/>
     33    xpointer="xpointer(//*[@os='c'])"/>
    5334
    54 <screen os="m2"><userinput>cp -arv extras/volume_id/lib/libvolume_id.so* /usr/lib32</userinput></screen>
    55 
    56     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    57     href="udev.xml"
    58     xpointer="xpointer(//*[@os='m3'])"/>
    59 
    60 <screen os="m4"><userinput>install -dv /usr/lib32/pkgconfig
    61 cp -arv extras/volume_id/lib/libvolume_id.pc /usr/lib32/pkgconfig</userinput></screen>
     35<screen os="d"><userinput>make libdir=/lib32 usrlibdir=/usr/lib32 install</userinput></screen>
    6236
    6337  </sect2>
  • BOOK/final-system/multilib/udev.xml

    r3d95ac44 r2b224753  
    2222    <title>Installation of Udev</title>
    2323
    24     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    25     href="../common/udev.xml"
    26     xpointer="xpointer(//*[@os='a'])"/>
     24    <para os="a">Udev only provides one library, libvolume_id. Instead of
     25    building the entire udev package for one library, We're just going to
     26    compile the single library:</para>
    2727
    28 <screen os="b"><userinput>make CC="gcc ${BUILD32}" LD="gcc ${BUILD32}" \
    29  EXTRAS="extras/volume_id"</userinput></screen>
     28<screen os="b"><userinput>cd extras/volume_id/lib
     29make CC="gcc ${BUILD32}" AR=ar RANLIB=ranlib E=@echo Q=@</userinput></screen>
    3030
    31     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    32     href="../common/udev.xml"
    33     xpointer="xpointer(//*[@os='c'])"/>
     31    <para os="c">Install the library:</para>
    3432
    35     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    36     href="../common/udev.xml"
    37     xpointer="xpointer(//*[@os='g'])"/>
    38 
    39     <para os="m1">Now we copy the library files over to our proper location:</para>
    40 
    41 <screen os="m2"><userinput>cp -arv extras/volume_id/lib/libvolume_id.so* /usr/lib</userinput></screen>
    42 
    43     <para os="m3">Now we copy the pkgconfig data file over, this file will be used in builds
    44     after CLFS:</para>
    45 
    46 <screen os="m4"><userinput>install -dv /usr/lib/pkgconfig
    47 cp -arv extras/volume_id/lib/libvolume_id.pc /usr/lib/pkgconfig</userinput></screen>
     33<screen os="d"><userinput>make install</userinput></screen>
    4834
    4935  </sect2>
Note: See TracChangeset for help on using the changeset viewer.