14. How to configure a new FreeBSD branch
Prev |  | Next

## 14. How to configure a new FreeBSD branch

### 14.1. Steps necessary before qmanager is started

When a new branch is created, some work needs to be done to specify that the previous branch is no longer equivalent to `HEAD`.

### Note:

As `srcbuild`:

- Edit `/a/portbuild/conf/admin/admin.conf` with the following changes:

  - Add `new-branch` to `SRC_BRANCHES`.

  - For what was previously head, change `SRC_BRANCH_`branch`_SUBDIR` to `releng/`branch`.0` (literal zero).

  - Add `SRC_BRANCH_`new-branch`_SUBDIR` `=head`.

- Run `/a/portbuild/admin/scripts/updatesnap` manually.

### 14.2. Steps necessary after qmanager is started

- For each branch that will be supported, do the following:

  - As `portbuild`, kick-start the build for the branch with:

    build create `arch` `branch`

  - As `srcbuild`, create `bindist.tar`.

Prev |  | Next
13. How to configure a new package building node | Home | 15. How to delete an unsupported FreeBSD branch

All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/

Questions that are not answered by the documentation may be sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.