Created attachment 157659 [details]
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]
(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:
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 :)