Update Question 18.9:

- Update the size of distribution chunks from 240 KB to 1392 KB
- Update example

Reviewed by:  trhodes
Approved by:  gabor
This commit is contained in:
Gabor Pali 2008-07-05 03:18:30 +00:00
parent 966417feff
commit a5f445c1a7
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32484

View file

@ -10518,8 +10518,8 @@ hint.sio.7.irq="12"</programlisting>
</qandaentry>
<qandaentry>
<question id="split-240k">
<para>How did you split the distribution into 240k files?</para>
<question id="split-1392k">
<para>How did you split the distribution into 1392&nbsp;KB files?</para>
</question>
<answer>
@ -10528,14 +10528,9 @@ hint.sio.7.irq="12"</programlisting>
byte boundaries.</para>
<para>Here is an example from
<filename>/usr/src/Makefile</filename>.</para>
<filename>/usr/src/release/Makefile</filename>.</para>
<programlisting>bin-tarball:
(cd ${DISTDIR}; \
tar cf - . \
gzip --no-name -9 -c | \
split -b 240640 - \
${RELEASEDIR}/tarballs/bindist/bin_tgz.)</programlisting>
<programlisting>ZIPNSPLIT= gzip --no-name -9 -c | split -b 1392k -</programlisting>
</answer>
</qandaentry>