Changeset a07a34d for chapter06/eudev.xml
- Timestamp:
- 04/21/2020 01:41:01 PM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- 0ce8c18
- Parents:
- bd67f69
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/eudev.xml
rbd67f69 ra07a34d 50 50 <screen><userinput remap="pre">sed -i '/keyboard_lookup_key/d' src/udev/udev-builtin-keyboard.c</userinput></screen> 51 51 --> 52 <!-- 53 <para>First, add a workaround to prevent the /tools directory from being 54 hard coded into Eudev binary files library locations:</para> 55 56 <screen><userinput remap="pre">cat > config.cache << "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> 52 53 <para>Prepare Eudev for compilation:</para> 63 54 64 55 <screen><userinput remap="configure">./configure --prefix=/usr \ … … 72 63 --enable-manpages \ 73 64 --disable-static</userinput></screen> 74 <!-- - -config-cache</userinput></screen> --> 75 76 <para>Compile the package:</para> 65 66 <para>Compile the package:</para> 77 67 78 68 <screen><userinput remap="make">make</userinput></screen> 79 <!-- 80 <screen><userinput remap="make">LIBRARY_PATH=/tools/lib make</userinput></screen> 81 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> 69 70 <para>Create some directories now that are needed for tests, but 71 will also be used as a part of installation:</para> 90 72 91 73 <screen><userinput remap="test">mkdir -pv /lib/udev/rules.d 92 74 mkdir -pv /etc/udev/rules.d</userinput></screen> 93 75 94 <para>To test the results, issue:</para>76 <para>To test the results, issue:</para> 95 77 96 78 <screen><userinput remap="test">make check</userinput></screen> 97 <!--<screen><userinput remap="test">make LD_LIBRARY_PATH=/tools/lib check</userinput></screen>-->98 79 99 80 <para>Install the package:</para> 100 81 101 82 <screen><userinput remap="install">make install</userinput></screen> 102 <!--<screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>-->103 83 104 84 <para>Install some custom rules and support files useful in an LFS … … 202 182 initial database:</para> 203 183 204 <!--<screen><userinput>LD_LIBRARY_PATH=/tools/lib udevadm hwdb - -update</userinput></screen>-->205 184 <screen><userinput>udevadm hwdb --update</userinput></screen> 206 185
Note:
See TracChangeset
for help on using the changeset viewer.