Skip to content

use_system_ports_tree

Bryan Drewery edited this page Aug 7, 2017 · 9 revisions

Use the system ports tree in poudriere

Any filesystem is supported as long as it is mounted. To add a custom tree called custom located at /ports/custom:

Version Command
>=3.1.20 poudriere ports -c -m null -M /ports/custom -p custom
<3.1.20 poudriere ports -c -F -f none -M /ports/custom -p custom

To check that everything is correctly working:

# poudriere ports -l
PORTSTREE            METHOD        PATH
custom               null          /ports/custom

Note that older versions will have - for METHOD.

You can now use it with bulk and testport with the -p option:

# poudriere bulk -p custom -j JAIL -f LIST
# poudriere testport -p custom -j JAIL -o PORT
Clone this wiki locally