Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160382322
D54079.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D54079.diff
View Options
diff --git a/share/man/man7/build.7 b/share/man/man7/build.7
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd September 25, 2025
+.Dd April 6, 2026
.Dt BUILD 7
.Os
.Sh NAME
@@ -1018,16 +1018,20 @@
.Pp
For major version upgrades, boot into single-user mode.
After restarting, install userspace, and merge configurations.
-After verifying that you do not need them, delete old files
-and libraries:
+After verifying that you do not need them, delete old files:
.Bd -literal -offset indent
cd /usr/src
etcupdate -p
make installworld
etcupdate -B
-make delete-old delete-old-libs
+make delete-old
shutdown -r now
.Ed
+.Pp
+After testing the new system and verifying that your applications do not
+depend on them, delete the old libraries:
+.Pp
+.Dl make delete-old-libs
.Ss Example 2: Build and upgrade a custom kernel in place
Create a custom kernel configuration,
.Va MYKERNEL ,
@@ -1103,21 +1107,21 @@
.Bd -literal -offset indent
cd /usr/src
make TARGET_ARCH=aarch64 buildworld buildkernel
-make TARGET_ARCH=aarch64 DESTDIR=/armclient installworld installkernel
+make TARGET_ARCH=aarch64 DESTDIR=/client installworld installkernel
.Ed
.Pp
Afterwards, to build and install a single piece of userspace, use:
.Bd -literal -offset indent
cd src/bin/ls
make buildenv TARGET_ARCH=aarch64
-make clean all install DESTDIR=/armclient
+make clean all install DESTDIR=/client
.Ed
.Pp
Likewise, to quickly rebuild and reinstall the kernel, use:
.Bd -literal -offset indent
cd src
make buildenv TARGET_ARCH=aarch64
-make kernel KERNFAST=1 DESTDIR=/armclient
+make kernel KERNFAST=1 DESTDIR=/client
.Ed
.Sh DIAGNOSTICS
.Bl -diag
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 24, 10:57 PM (15 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31041288
Default Alt Text
D54079.diff (1 KB)
Attached To
Mode
D54079: build.7: Improve make delete-old example
Attached
Detach File
Event Timeline
Log In to Comment