Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F158052524
D55458.id172751.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1022 B
Referenced Files
None
Subscribers
None
D55458.id172751.diff
View Options
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
@@ -217,6 +217,27 @@
pkg -r /ppcdev -oABI=FreeBSD:16:powerpc64le \e
install FreeBSD-set-devel
.Ed
+.Ss Example 6: Remove base system package management
+Unregister and strip package metadata from the running system.
+This is useful if you want to manage the system via system source
+.Xr build 7 .
+First, unregister the system from the package manager:
+.Bd -literal -offset indent
+pkg unregister -f FreeBSD-\e*
+.Ed
+.Pp
+Then, disable the base system package repository.
+If you created a base system repository file in
+.Pa /usr/local/etc/pkg/repos/ ,
+remove it,
+or add a string disabling the repo into a file there:
+.Bd -literal -offset indent
+cd /usr/local/etc/pkg/repos
+echo "FreeBSD-base: { enabled: no }" >> FreeBSD-base.conf
+.Ed
+.Pp
+Note that this will prevent updating the base system via
+.Xr pkg 8 .
.Sh SEE ALSO
.Xr build 7 ,
.Xr pkg 8 ,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 28, 11:49 PM (12 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33594789
Default Alt Text
D55458.id172751.diff (1022 B)
Attached To
Mode
D55458: freebsd-base.7: Add an example for unregistering
Attached
Detach File
Event Timeline
Log In to Comment