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

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>.