part 3 intro: warn that don't copy source tree with cp -R

This commit is contained in:
Xi Ruoyao 2022-02-22 13:34:36 +08:00
parent a8ac5440a7
commit 25dc9a8cfa
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC

View File

@ -97,6 +97,12 @@
to be built. In <xref linkend="chapter-cross-tools"/> and
<xref linkend="chapter-temporary-tools"/>, ensure you are
the <emphasis>lfs</emphasis> user when extracting the package.</para>
<para>All methods to get the source code tree being built
in-position, except extracting the package tarball, are not
supported. Notably, using <command>cp -R</command> to copy the
source code tree somewhere else can destroy links and
timestamps in the sources tree and cause building
failure.</para>
</listitem>
<listitem>
<para>Change to the directory created when the package was