mirror of https://git.FreeBSD.org/doc.git
[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:
parent
a2b9ec6765
commit
08fc3edded
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue