Automatic merge of trunk into multilib

This commit is contained in:
Thomas Trepl (Moody) 2021-07-21 05:48:24 +02:00
commit 118b207b4a
5 changed files with 30 additions and 8 deletions

View File

@ -218,7 +218,7 @@
<segmentedlist id="bash-testdeps">
<segtitle>&testsuites;</segtitle>
<seglistitem>
<seg>Shadow</seg>
<seg>Expect and Shadow</seg>
</seglistitem>
</segmentedlist>

View File

@ -44,6 +44,21 @@
<listitem revision="sysv"> or <listitem revision="systemd"> as
appropriate for the entry or if needed the entire day's listitem.
-->
<listitem>
<para>2021-07-20</para>
<itemizedlist>
<listitem>
<para>[ken] - Update to linux-5.13.4 (security fix). Fixes
<ulink url="&lfs-ticket-root;4886">#4886</ulink>.</para>
</listitem>
<listitem>
<para>[xry111] - Use a fixed, non-zero UID for
<systemitem class="username">tester</systemitem> user, and spawn a
new pseudoterminal to satisfy bash testsuite.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>2021-07-19</para>
<itemizedlist>

View File

@ -175,7 +175,7 @@ EOF</userinput></screen>
user. We add this user here and delete this account at the end of that
chapter.</para>
<screen><userinput>echo "tester:x:$(ls -n $(tty) | cut -d" " -f3):101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
<screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
echo "tester:x:101:" &gt;&gt; /etc/group
install -o tester -d /home/tester</userinput></screen>

View File

@ -73,11 +73,18 @@
<screen><userinput remap="test">chown -Rv tester .</userinput></screen>
<para>Now, run the tests as the <systemitem
<para>The testsuite of the package is designed to be run as a non-root
user that owns the terminal connected to standard input. To satisfy the
requirement, spawn a new pseudo terminal using
<application>Expect</application> and run the tests as the <systemitem
class="username">tester</systemitem> user:</para>
<screen><userinput remap="test">su tester &lt;&lt; EOF
PATH=$PATH make tests &lt; $(tty)
<screen><userinput remap="test">su -s /usr/bin/expect tester &lt;&lt; EOF
set timeout -1
spawn make tests
expect eof
lassign [wait] _ _ _ value
exit $value
EOF</userinput></screen>
<para>Install the package:</para>

View File

@ -433,12 +433,12 @@
<!ENTITY linux-major-version "5">
<!ENTITY linux-minor-version "13">
<!ENTITY linux-patch-version "1">
<!ENTITY linux-patch-version "4">
<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
<!ENTITY linux-size "116,496 KB">
<!ENTITY linux-size "116,536 KB">
<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
<!ENTITY linux-md5 "6499bdaa4ee1ef873ffd6533492140e7">
<!ENTITY linux-md5 "50aa48ae38a736b3f313a777574af3d3">
<!ENTITY linux-home "https://www.kernel.org/">
<!-- measured for 5.8.3 / gcc-10.2.0 on x86_64 : minimum is
allnoconfig extended for a hopefully-bootable build on desktop machine,