- Mention kris' shiny new cpdistfiles script, and that -distfiles is now on by

default and we have -nodistfiles
This commit is contained in:
Pav Lucistnik 2008-06-11 12:15:30 +00:00
parent a9b1fef4a0
commit 21b065f154
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32190

View file

@ -337,13 +337,9 @@
</listitem>
<listitem>
<para><literal>-distfiles</literal> - Collect distfiles
<para><literal>-nodistfiles</literal> - Do not collect distfiles
that pass <command>make checksum</command> for later
uploading to <hostid>ftp-master</hostid>.
Formerly we used this
sparingly because it takes up a lot of disk space.
However, now we have sufficient space that this should
be considered the default.
</para>
</listitem>
@ -744,16 +740,12 @@ umount: Cleanup of /x/tmp/6-exp/chroot/53837/compat/linux/proc failed!
use the <literal>-cdrom</literal> option to
<command>dopackages</command>.</para>
<para>Assuming disk space is available on the cluster, use
<literal>-distfiles</literal> to collect distfiles.</para>
<note><para>You must run the initial build with
<literal>-distfiles</literal> to collect
all the fetched distfiles.</para></note>
<para>If the disk space is not available on the cluster, use
<literal>-nodistfiles</literal> to avoid collecting distfiles.</para>
<para>After the initial build completes, restart the build
with
<literal>-restart -distfiles -fetch-original</literal>
<literal>-restart -fetch-original</literal>
to collect updated distfiles as well. Then, once the
build is post-processed, take an inventory of the list
of files fetched:</para>
@ -892,8 +884,13 @@ umount: Cleanup of /x/tmp/6-exp/chroot/53837/compat/linux/proc failed!
<screen>&prompt.root; <userinput>rsync -n -r -v -l -t -p --delete packages/ portmgr@ftp-master:w/ports/<replaceable>${arch}</replaceable>/<replaceable>${subdir}</replaceable>/ | tee log</userinput></screen>
<para>Distfiles can also be transferred via
<command>rsync</command>:</para>
<para>Distfiles can be transferred with the
<command>cpdistfiles</command> script:</para>
<screen>&prompt.root; <userinput>/var/portbuild/scripts/cpdistfiles <replaceable>${arch}</replaceable> <replaceable>${branch}</replaceable></userinput></screen>
<para>Or you can do it by hand using <command>rsync</command>
command:</para>
<screen>&prompt.root; <userinput>cd /var/portbuild/<replaceable>${arch}</replaceable>/<replaceable>${branch}</replaceable></userinput>
&prompt.root; <userinput>rsync -n -r -v -l -p -c distfiles/ portmgr@ftp-master:w/ports/distfiles/ | tee log</userinput></screen>