aboutsummaryrefslogtreecommitdiffstats
path: root/part3intro/generalinstructions.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2022-02-22 13:34:36 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2022-02-22 13:34:36 +0800
commit25dc9a8cfa7687a40a5e4c3467b32bc0f2d89b77 (patch)
tree30281134c4d88fb7c703aa42e7e8ba108d4f88e7 /part3intro/generalinstructions.xml
parenta8ac5440a7cfe29580a8be2040068d71231148dd (diff)
part 3 intro: warn that don't copy source tree with cp -R
Diffstat (limited to 'part3intro/generalinstructions.xml')
-rw-r--r--part3intro/generalinstructions.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/part3intro/generalinstructions.xml b/part3intro/generalinstructions.xml
index 0739f79cc..d8e280e0d 100644
--- a/part3intro/generalinstructions.xml
+++ b/part3intro/generalinstructions.xml
@@ -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