mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
arm64: don't create /lib64
The path to dynamic linker is /lib/ld-linux-aarch64.so.1, no hardcoded /lib64. It's much better than x86_64 or MIPS64 IMO. [As a LoongArch contributor & reviewer: we really should have removed this stupid "64" in the early development stage of LoongArch ELF ABI.]
This commit is contained in:
parent
b7adecc96c
commit
4d8854a5e3
@ -80,10 +80,7 @@ useradd -s /bin/bash -g lfs -m -k /dev/null lfs</userinput></screen>
|
|||||||
all directories under <filename class="directory">$LFS</filename> by making
|
all directories under <filename class="directory">$LFS</filename> by making
|
||||||
<systemitem class="username">lfs</systemitem> the directory owner:</para>
|
<systemitem class="username">lfs</systemitem> the directory owner:</para>
|
||||||
|
|
||||||
<screen><userinput>chown -v lfs $LFS/{usr{,/*},lib,var,etc,bin,sbin,tools}
|
<screen><userinput>chown -v lfs $LFS/{usr{,/*},lib,var,etc,bin,sbin,tools}</userinput></screen>
|
||||||
case $(uname -m) in
|
|
||||||
x86_64) chown -v lfs $LFS/lib64 ;;
|
|
||||||
esac</userinput></screen>
|
|
||||||
|
|
||||||
<note><para>In some host systems, the following command does not complete
|
<note><para>In some host systems, the following command does not complete
|
||||||
properly and suspends the login to the &lfs-user; user to the background.
|
properly and suspends the login to the &lfs-user; user to the background.
|
||||||
|
@ -24,11 +24,7 @@
|
|||||||
|
|
||||||
for i in bin lib sbin; do
|
for i in bin lib sbin; do
|
||||||
ln -sv usr/$i $LFS/$i
|
ln -sv usr/$i $LFS/$i
|
||||||
done
|
done</userinput></screen>
|
||||||
|
|
||||||
case $(uname -m) in
|
|
||||||
x86_64) mkdir -pv $LFS/lib64 ;;
|
|
||||||
esac</userinput></screen>
|
|
||||||
|
|
||||||
<para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled
|
<para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled
|
||||||
with a cross-compiler (more details in section <xref
|
with a cross-compiler (more details in section <xref
|
||||||
|
@ -33,9 +33,6 @@
|
|||||||
user <systemitem class="username">root</systemitem> by running the following
|
user <systemitem class="username">root</systemitem> by running the following
|
||||||
command:</para>
|
command:</para>
|
||||||
|
|
||||||
<screen><userinput>chown -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}
|
<screen><userinput>chown -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}</userinput></screen>
|
||||||
case $(uname -m) in
|
|
||||||
x86_64) chown -R root:root $LFS/lib64 ;;
|
|
||||||
esac</userinput></screen>
|
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
Loading…
Reference in New Issue
Block a user