[phb]: Fix poudriere ports tree creation instructions

* If using CURRENT, we need to use Git
* We need the -B flag because our "master" branch is called "main".

Approved by: 0mp, gbe (mentors)
Differential Revision: https://reviews.freebsd.org/D29724
This commit is contained in:
Fernando Apesteguía 2021-04-12 15:14:38 +02:00
parent a2b9ec6765
commit 08fc3edded
1 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ For jails employing a `git+*` method, it is helpful to add `-J _NumberOfParallel
[[testing-poudriere-ports-tree]]
=== Setting Up Ports Trees for Use with Poudriere
There are multiple ways to use ports trees in Poudriere. The most straightforward way is to have Poudriere create a default ports tree for itself, using either man:portsnap[8] (if running FreeBSD {rel121-current} or {rel114-current}) or Subversion (if running FreeBSD-CURRENT):
There are multiple ways to use ports trees in Poudriere. The most straightforward way is to have Poudriere create a default ports tree for itself, using either man:portsnap[8] (if running FreeBSD {rel121-current} or {rel114-current}) or Git (if running FreeBSD-CURRENT):
[source,shell]
....
@ -300,7 +300,7 @@ or
[source,shell]
....
# poudriere ports -c -m git+https
# poudriere ports -c -m git+https -B main
....
These commands create `tank/poudriere/ports/default`, mount it on [.filename]#/poudriere/ports/default#, and populate it using Git, man:portsnap[8], or Subversion. Afterward it is included in the list of known ports trees: