Changes in chapter08/coreutils.xml [9c73d911:6dfdf03]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/coreutils.xml
r9c73d911 r6dfdf03 54 54 </note> 55 55 56 <!-- https://seclists.org/oss-sec/2024/q1/30 -->57 <para>Fix a security vulnerability in the <command>split</command>58 utility:</para>59 60 <screen><userinput remap="pre">sed -e '/n_out += n_hold/,+4 s|.*bufsize.*|//&|' \61 -i src/split.c</userinput></screen>62 63 56 <para>Now prepare Coreutils for compilation:</para> 64 57 … … 124 117 <screen><userinput remap="test">chown -R tester . </userinput></screen> 125 118 126 <para>Now run the tests:</para> 127 128 <screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> 129 130 <!-- Sometimes skipped, but if not it may fail. 131 Please DO NOT remove or comment out this unless we can fully 132 understand it! --> 133 <para>The test-getlogin test may fail in the LFS chroot environment.</para> 119 <!-- To editors: in jhalfs the standard input is always piped to "make" 120 so the test failures are not reproducible in jhalfs even if 121 running the build in a PTY. Don't use jhalfs to test if we can 122 remove < /dev/null. --> 123 <para>Now run the tests (using <filename>/dev/null</filename> for the 124 standard input, or two tests may be broken if building LFS in a 125 graphical terminal or a session in SSH or GNU Screen etc. because the 126 standard input is connected to a PTY from host distro, and the device 127 node for such a PTY cannot be accessed from the LFS chroot 128 environment):</para> 129 130 <screen><userinput remap="test">su tester -c "PATH=$PATH make -k RUN_EXPENSIVE_TESTS=yes check" \ 131 < /dev/null</userinput></screen> 134 132 135 133 <para>Remove the temporary group:</para> 136 134 137 135 <screen><userinput remap="test">groupdel dummy</userinput></screen> 136 137 <para> 138 Two tests, <filename>tests/cp/preserve-mode.sh</filename> and 139 <filename>tests/mv/acl.sh</filename>, are known to 140 fail in the chroot environment, but pass in a complete system. 141 </para> 138 142 139 143 <para>Install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.