Page MenuHomeFreeBSD

D56608.id177335.diff
No OneTemporary

D56608.id177335.diff

diff --git a/share/man/man7/freebsd-base.7 b/share/man/man7/freebsd-base.7
--- a/share/man/man7/freebsd-base.7
+++ b/share/man/man7/freebsd-base.7
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd April 14, 2026
+.Dd April 23, 2026
.Dt FREEBSD-BASE 7
.Os
.Sh NAME
@@ -217,6 +217,27 @@
pkg -r /ppcdev -oABI=FreeBSD:16:powerpc64le \e
install FreeBSD-set-devel
.Ed
+.Ss Adding a locally built repository for snapshots
+Disable the predefined repository,
+and add a local repo for locally built base system packages:
+.Bd -literal -offset indent
+cat << EOF > /usr/local/etc/pkg/repos/FreeBSD.conf
+FreeBSD-base: { enabled: no }
+FreeBSD-local: {
+ url: "file:///usr/obj/usr/src/repo/${ABI}/latest",
+ enabled: yes
+}
+EOF
+.Ed
+.Pp
+The packages are created by the
+.Xr build 7
+system at
+.Pa ${REPODIR}/${PKG_ABI}/<VERSION> ,
+which defaults to the example directory.
+.Pp
+.Sy Note :
+The repo must have a different name than the predefined repository.
.Ss Unregister a currently running system
Systems managed through
.Xr pkg 8

File Metadata

Mime Type
text/plain
Expires
Tue, May 19, 2:28 AM (3 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32744060
Default Alt Text
D56608.id177335.diff (1 KB)

Event Timeline