Created attachment 157659 [details] handbook Instead of walking the reader through a time-consuming process of building world with a specific destination directory, instruct them to extract the prebuilt base archive from install media. In the jail section of the Handbook, do not reference jail(8) as the place where instructions on building from source are from
Created attachment 157660 [details] jail(8)
(In reply to Sevan Janiyan from comment #1) Personally, I would like to have the build instructions to be available inside the jail(8) page as well. The proposed patch uses $DESTDIR when extracting to the jail dir, but this should be $D.
(In reply to wout from comment #2) Worth mentioning that you just need to use the canonical build method with DESTDIR defined? Will update diff to fix mistake with variable names
the handbook already covers how to do it with the distfiles: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html When using FreeBSD 9.x and newer: # for sets in BASE PORTS; do tar -xf /mnt/FREEBSD_INSTALL/USR/FREEBSD_DIST/$sets.TXZ -C $DESTDIR ; done
(In reply to Allan Jude from comment #4) Indeed, but that's the fruits from the 2014 doc sprint at BSDCan.
I always appreciate "close to src" instructions. Future/binary wise, I guess having instructions to do this with pkg would be nice :)
(In reply to Sevan Janiyan from comment #5) Do you still intend/have time to work on this? (If still relevant.)
(In reply to Sevan Janiyan from comment #5) Changing component and marking doc patch obsolete since only the manual page is involved now. Feel free to undo if I'm wrong.
^Triage: commit bit was taken in for safekeeping.