Page MenuHomeFreeBSD

D48693.id149990.diff
No OneTemporary

D48693.id149990.diff

diff --git a/share/man/man7/development.7 b/share/man/man7/development.7
--- a/share/man/man7/development.7
+++ b/share/man/man7/development.7
@@ -144,6 +144,21 @@
reboot
.Ed
.Pp
+To configure a custom kernel,
+first copy a kernel configuration for the relevant architecture,
+in this case AMD64:
+.Pp
+.Dl cp src/sys/amd64/conf/MINIMAL ~/HOSTNAME
+.Pp
+After editing the new kernel configuration, build it, and install,
+moving the old kernel to
+.Pa /boot/kernel.old/ :
+.Bd -literal -offset indent
+cd src
+make -j8 kernel KERNCONF=~/HOSTNAME
+reboot
+.Ed
+.Pp
Rebuild and reinstall a single piece of userspace, in this
case
.Xr ls 1 :

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 17, 8:54 PM (11 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31679696
Default Alt Text
D48693.id149990.diff (646 B)

Event Timeline