Changeset effe07a for chapter06/eudev.xml
- Timestamp:
- 04/19/2020 02:45:08 PM (4 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/eudev.xml
r924667e reffe07a 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 being54 hard coded into Eudev binary files library locations:</para>55 52 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> 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 65 76 <para>Compile the package:</para>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 69 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> 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 … … 129 109 initial database:</para> 130 110 131 <!--<screen><userinput>LD_LIBRARY_PATH=/tools/lib udevadm hwdb - -update</userinput></screen>-->132 111 <screen><userinput>udevadm hwdb --update</userinput></screen> 133 112
Note:
See TracChangeset
for help on using the changeset viewer.