Changeset 118b207


Ignore:
Timestamp:
07/21/2021 03:48:24 AM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
ml-11.0, multilib
Children:
cfb8eea
Parents:
4d7d2c04 (diff), 2a277fb (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:

Automatic merge of trunk into multilib

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • appendices/dependencies.xml

    r4d7d2c04 r118b207  
    219219        <segtitle>&testsuites;</segtitle>
    220220        <seglistitem>
    221           <seg>Shadow</seg>
     221          <seg>Expect and Shadow</seg>
    222222        </seglistitem>
    223223      </segmentedlist>
  • chapter01/changelog.xml

    r4d7d2c04 r118b207  
    4646    -->
    4747    <listitem>
     48      <para>2021-07-20</para>
     49      <itemizedlist>
     50        <listitem>
     51          <para>[ken] - Update to linux-5.13.4 (security fix). Fixes
     52          <ulink url="&lfs-ticket-root;4886">#4886</ulink>.</para>
     53        </listitem>
     54        <listitem>
     55          <para>[xry111] - Use a fixed, non-zero UID for
     56          <systemitem class="username">tester</systemitem> user, and spawn a
     57          new pseudoterminal to satisfy bash testsuite.</para>
     58        </listitem>
     59      </itemizedlist>
     60    </listitem>
     61
     62    <listitem>
    4863      <para>2021-07-19</para>
    4964      <itemizedlist>
  • chapter07/createfiles.xml

    r4d7d2c04 r118b207  
    176176  chapter.</para>
    177177
    178 <screen><userinput>echo "tester:x:$(ls -n $(tty) | cut -d" " -f3):101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
     178<screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
    179179echo "tester:x:101:" &gt;&gt; /etc/group
    180180install -o tester -d /home/tester</userinput></screen>
  • chapter08/bash.xml

    r4d7d2c04 r118b207  
    7474<screen><userinput remap="test">chown -Rv tester .</userinput></screen>
    7575
    76     <para>Now, run the tests as the <systemitem
     76    <para>The testsuite of the package is designed to be run as a non-root
     77    user that owns the terminal connected to standard input.  To satisfy the
     78    requirement, spawn a new pseudo terminal using
     79    <application>Expect</application> and run the tests as the <systemitem
    7780    class="username">tester</systemitem> user:</para>
    7881
    79 <screen><userinput remap="test">su tester &lt;&lt; EOF
    80 PATH=$PATH make tests &lt; $(tty)
     82<screen><userinput remap="test">su -s /usr/bin/expect tester &lt;&lt; EOF
     83set timeout -1
     84spawn make tests
     85expect eof
     86lassign [wait] _ _ _ value
     87exit $value
    8188EOF</userinput></screen>
    8289
  • packages.ent

    r4d7d2c04 r118b207  
    434434<!ENTITY linux-major-version "5">
    435435<!ENTITY linux-minor-version "13">
    436 <!ENTITY linux-patch-version "1">
     436<!ENTITY linux-patch-version "4">
    437437<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    438438<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    439 <!ENTITY linux-size "116,496 KB">
     439<!ENTITY linux-size "116,536 KB">
    440440<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    441 <!ENTITY linux-md5 "6499bdaa4ee1ef873ffd6533492140e7">
     441<!ENTITY linux-md5 "50aa48ae38a736b3f313a777574af3d3">
    442442<!ENTITY linux-home "https://www.kernel.org/">
    443443<!-- measured for 5.8.3 / gcc-10.2.0 on x86_64 : minimum is
Note: See TracChangeset for help on using the changeset viewer.