Automatic merge of trunk into multilib

This commit is contained in:
Thomas Trepl 2024-02-04 00:30:18 +01:00
commit 807b061514
3 changed files with 9 additions and 7 deletions

View File

@ -97,7 +97,8 @@ mount -vt tmpfs tmpfs $LFS/run</userinput></screen>
</variablelist>
-->
<para>In some host systems, <filename>/dev/shm</filename> is a
symbolic link to <filename class="directory">/run/shm</filename>.
symbolic link to a directory, typically
<filename class="directory">/run/shm</filename>.
The /run tmpfs was mounted above so in this case only a
directory needs to be created.</para>
@ -107,7 +108,7 @@ mount -vt tmpfs tmpfs $LFS/run</userinput></screen>
we must explicitly mount a tmpfs:</para>
<screen><userinput>if [ -h $LFS/dev/shm ]; then
(cd $LFS/dev; mkdir $(readlink shm))
mkdir -pv $LFS$(realpath /dev/shm)
else
mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
fi</userinput></screen>

View File

@ -316,10 +316,11 @@ install -vm755 dest/usr/lib/*.so.* /usr/lib</userinput></screen>
</para>
<para>
Then continue to run the <command>make install</command> command
and the <command>sed</command> command against
<filename>/usr/bin/ldd</filename>. Once they are finished, reboot
the system immediately.
Then continue to run the <command>make install</command> command,
the <command>sed</command> command against
<filename>/usr/bin/ldd</filename>, and the commands to install
the locales. Once they are finished, reboot the system
immediately.
</para>
</important>

View File

@ -130,7 +130,7 @@ mounttype proc proc proc
mounttype sys sysfs sysfs
mounttype run tmpfs run
if [ -h $LFS/dev/shm ]; then
mkdir -pv $LFS/$(readlink $LFS/dev/shm)
mkdir -pv $LFS$(realpath /dev/shm)
else
mounttype dev/shm tmpfs tmpfs -o nosuid,nodev
fi