15. How to delete an unsupported FreeBSD branch
Prev |  | Next

## 15. How to delete an unsupported FreeBSD branch

When an old branch goes out of support, there are some things to garbage-collect.

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

  - Delete `old-branch` from `SRC_BRANCHES`.

  - Delete `SRC_BRANCH_`old-branch`_SUBDIR``=` `whatever`

- umount a/snap/src-`old-branch`/src; umount a/snap/src-`old-branch`; zfs destroy -r a/snap/src-`old-branch`

- You will probably find that the following files and symlinks in `/a/portbuild/errorlogs/` can be removed:

  - Files named `*-`old_branch`-failure.html`

  - Files named `buildlogs_*-`old_branch`-*-logs.txt`

  - Symlinks named `*-`old_branch`-previous*`

  - Symlinks named `*-`old_branch`-latest*`

Prev |  | Next
14. How to configure a new FreeBSD branch | Home | 16. How to rebase on a supported FreeBSD branch

This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.