mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Automatic merge of trunk into multilib
This commit is contained in:
commit
118b207b4a
@ -218,7 +218,7 @@
|
||||
<segmentedlist id="bash-testdeps">
|
||||
<segtitle>&testsuites;</segtitle>
|
||||
<seglistitem>
|
||||
<seg>Shadow</seg>
|
||||
<seg>Expect and Shadow</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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" >> /etc/passwd
|
||||
<screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" >> /etc/passwd
|
||||
echo "tester:x:101:" >> /etc/group
|
||||
install -o tester -d /home/tester</userinput></screen>
|
||||
|
||||
|
@ -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 << EOF
|
||||
PATH=$PATH make tests < $(tty)
|
||||
<screen><userinput remap="test">su -s /usr/bin/expect tester << EOF
|
||||
set timeout -1
|
||||
spawn make tests
|
||||
expect eof
|
||||
lassign [wait] _ _ _ value
|
||||
exit $value
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>Install the package:</para>
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user