- Timestamp:
- 06/19/2019 06:19:25 PM (5 years ago)
- Branches:
- multilib-10.1
- Children:
- 5839010
- Parents:
- 5d327ae
- Location:
- chapter06
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/eudev.xml
r5d327ae ra3df607 50 50 <screen><userinput remap="pre">sed -i '/keyboard_lookup_key/d' src/udev/udev-builtin-keyboard.c</userinput></screen> 51 51 --> 52 <!-- 52 53 <para>First, add a workaround to prevent the /tools directory from being 53 54 hard coded into Eudev binary files library locations:</para> … … 58 59 BLKID_CFLAGS="-I/tools/include" 59 60 EOF</userinput></screen> 60 61 --> 61 62 <para>Prepare Eudev for compilation:</para> 62 63 … … 70 71 --with-rootlibdir=/lib \ 71 72 --enable-manpages \ 72 --disable-static \73 --config-cache</userinput></screen>73 --disable-static</userinput></screen> 74 <!-- - -config-cache</userinput></screen> --> 74 75 75 76 <para>Compile the package:</para> 76 77 78 <screen><userinput remap="make">make</userinput></screen> 79 <!-- 77 80 <screen><userinput remap="make">LIBRARY_PATH=/tools/lib make</userinput></screen> 78 81 … … 82 85 used to find libraries during the linking process. LD_LIBRARY_PATH is 83 86 used to find libraries during program execution.</para></note> 84 87 --> 85 88 <para>Create some directories now that are needed for tests, but 86 89 will also be used as a part of installation:</para> … … 91 94 <para>To test the results, issue:</para> 92 95 93 <screen><userinput remap="test">make LD_LIBRARY_PATH=/tools/lib check</userinput></screen> 96 <screen><userinput remap="test">make check</userinput></screen> 97 <!--<screen><userinput remap="test">make LD_LIBRARY_PATH=/tools/lib check</userinput></screen>--> 94 98 95 99 <para>Install the package:</para> 96 100 97 <screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen> 101 <screen><userinput remap="install">make install</userinput></screen> 102 <!--<screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>--> 98 103 99 104 <para>Install some custom rules and support files useful in an LFS … … 197 202 initial database:</para> 198 203 199 <screen><userinput>LD_LIBRARY_PATH=/tools/lib udevadm hwdb --update</userinput></screen> 204 <!--<screen><userinput>LD_LIBRARY_PATH=/tools/lib udevadm hwdb - -update</userinput></screen>--> 205 <screen><userinput>udevadm hwdb --update</userinput></screen> 200 206 201 207 <para>This command needs to be run each time the hardware information is -
chapter06/vim.xml
r5d327ae ra3df607 67 67 <screen><userinput remap="make">make</userinput></screen> 68 68 69 <para>To test the results, issue:</para> 70 71 <screen><userinput remap="test">LANG=en_US.UTF-8 make -j1 test &> vim-test.log</userinput></screen> 69 <para>To prepare the tests, ensure that the 70 <systemitem class="username">nobody</systemitem> user can write 71 to the sources tree:</para> 72 73 <screen><userinput remap="test">chown -Rv nobody .</userinput></screen> 74 75 <para>Now run the tests as the <systemitem 76 class="username">nobody</systemitem> user:</para> 77 78 <screen><userinput remap="test">su nobody -s /bin/bash -c "LANG=en_US.UTF-8 make -j1 test" &> vim-test.log</userinput></screen> 79 80 <!--<screen><userinput remap="test">LANG=en_US.UTF-8 make -j1 test &> vim-test.log</userinput></screen>--> 72 81 73 82 <para>The test suite outputs a lot of binary data to the screen. This can
Note:
See TracChangeset
for help on using the changeset viewer.