Ignore:
Timestamp:
04/19/2020 02:45:08 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
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, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, 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:
0b403eb3
Parents:
924667e
Message:

Fix circular deps between util-linux and eudev/systemd:

  • build util-linux in chapter 5 for both books
  • move eudev before util-linux in chapter 6
  • make utils-linux libs and headers accessible to /usr in "Creating essential ..."
  • not related, but forgotten at previous commit: make also libfl flex library accessible to /usr

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/eudev.xml

    r924667e reffe07a  
    5050<screen><userinput remap="pre">sed -i '/keyboard_lookup_key/d' src/udev/udev-builtin-keyboard.c</userinput></screen>
    5151-->
    52 <!--
    53     <para>First, add a workaround to prevent the /tools directory from being
    54     hard coded into Eudev binary files library locations:</para>
    5552
    56 <screen><userinput remap="pre">cat &gt; config.cache &lt;&lt; "EOF"
    57 HAVE_BLKID=1
    58 BLKID_LIBS="-lblkid"
    59 BLKID_CFLAGS="-I/tools/include"
    60 EOF</userinput></screen>
    61 -->
    62 <para>Prepare Eudev for compilation:</para>
     53    <para>Prepare Eudev for compilation:</para>
    6354
    6455<screen><userinput remap="configure">./configure --prefix=/usr           \
     
    7263            --enable-manpages       \
    7364            --disable-static</userinput></screen>
    74 <!--           - -config-cache</userinput></screen> -->
    7565
    76 <para>Compile the package:</para>
     66    <para>Compile the package:</para>
    7767
    7868<screen><userinput remap="make">make</userinput></screen>
    79 <!--
    80 <screen><userinput remap="make">LIBRARY_PATH=/tools/lib make</userinput></screen>
    8169
    82 <note><para>The LIBRARY_PATH variable here and the LD_LIBRARY_PATH variable
    83 below are needed to allow the use of libraries that were installed in /tools,
    84 but have not yet been installed in the main system.  LIBRARY_PATH is
    85 used to find libraries during the linking process.  LD_LIBRARY_PATH is
    86 used to find libraries during program execution.</para></note>
    87 -->
    88 <para>Create some directories now that are needed for tests, but
    89 will also be used as a part of installation:</para>
     70    <para>Create some directories now that are needed for tests, but
     71    will also be used as a part of installation:</para>
    9072
    9173<screen><userinput remap="test">mkdir -pv /lib/udev/rules.d
    9274mkdir -pv /etc/udev/rules.d</userinput></screen>
    9375
    94 <para>To test the results, issue:</para>
     76    <para>To test the results, issue:</para>
    9577
    9678<screen><userinput remap="test">make check</userinput></screen>
    97 <!--<screen><userinput remap="test">make LD_LIBRARY_PATH=/tools/lib check</userinput></screen>-->
    9879
    9980    <para>Install the package:</para>
    10081
    10182<screen><userinput remap="install">make install</userinput></screen>
    102 <!--<screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>-->
    10383
    10484    <para>Install some custom rules and support files useful in an LFS
     
    129109    initial database:</para>
    130110
    131 <!--<screen><userinput>LD_LIBRARY_PATH=/tools/lib udevadm hwdb - -update</userinput></screen>-->
    132111<screen><userinput>udevadm hwdb --update</userinput></screen>
    133112
Note: See TracChangeset for help on using the changeset viewer.