git: 08fc3edded - main - [phb]: Fix poudriere ports tree creation instructions
Fernando Apesteguía
fernape at FreeBSD.org
Sun Apr 18 15:49:11 UTC 2021
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/doc/commit/?id=08fc3edded97d9acb0eacbf633544b1ad0d0274b
commit 08fc3edded97d9acb0eacbf633544b1ad0d0274b
Author: Fernando Apesteguía <fernape at FreeBSD.org>
AuthorDate: 2021-04-12 13:14:38 +0000
Commit: Fernando Apesteguía <fernape at FreeBSD.org>
CommitDate: 2021-04-18 15:45:30 +0000
[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
---
documentation/content/en/books/porters-handbook/testing/_index.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/documentation/content/en/books/porters-handbook/testing/_index.adoc b/documentation/content/en/books/porters-handbook/testing/_index.adoc
index 129743efb2..a274553618 100644
--- a/documentation/content/en/books/porters-handbook/testing/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/testing/_index.adoc
@@ -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:
More information about the dev-commits-doc-all
mailing list