Ignore:
Timestamp:
07/01/2024 06:59:19 AM (3 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
2b63974
Parents:
fe48a03 (diff), 201aa93 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/coreutils.xml

    rfe48a03 re4b4c5a0  
    5454    </note>
    5555
    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.*|//&amp;|' \
    61     -i src/split.c</userinput></screen>
    62 
    6356    <para>Now prepare Coreutils for compilation:</para>
    6457
     
    129122<screen><userinput remap="test">chown -R tester . </userinput></screen>
    130123
    131     <para>Now run the tests:</para>
    132 
    133 <screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
    134 
    135 <!-- Sometimes skipped, but if not it may fail.
    136      Please DO NOT remove or comment out this unless we can fully
    137      understand it!  -->
    138     <para>The test-getlogin test may fail in the LFS chroot environment.</para>
     124    <!-- To editors: in jhalfs the standard input is always piped to "make"
     125         so the test failures are not reproducible in jhalfs even if
     126         running the build in a PTY.  Don't use jhalfs to test if we can
     127         remove < /dev/null.  -->
     128    <para>Now run the tests (using <filename>/dev/null</filename> for the
     129    standard input, or two tests may be broken if building LFS in a
     130    graphical terminal or a session in SSH or GNU Screen etc. because the
     131    standard input is connected to a PTY from host distro, and the device
     132    node for such a PTY cannot be accessed from the LFS chroot
     133    environment):</para>
     134
     135<screen><userinput remap="test">su tester -c "PATH=$PATH make -k RUN_EXPENSIVE_TESTS=yes check" \
     136   &lt; /dev/null</userinput></screen>
    139137
    140138    <para>Remove the temporary group:</para>
    141139
    142140<screen><userinput remap="test">groupdel dummy</userinput></screen>
     141
     142    <para>
     143       Two tests, <filename>tests/cp/preserve-mode.sh</filename> and
     144       <filename>tests/mv/acl.sh</filename>, are known to
     145       fail in the chroot environment, but pass in a complete system.
     146    </para>
    143147
    144148    <para>Install the package:</para>
Note: See TracChangeset for help on using the changeset viewer.