Page MenuHomeFreeBSD

build.7: Improve make delete-old example
Needs ReviewPublic

Authored by ziaee on Dec 4 2025, 9:11 PM.
Tags
None
Referenced Files
F151348229: D54079.id167560.diff
Tue, Apr 7, 7:13 PM
Unknown Object (File)
Mon, Apr 6, 4:35 PM
Unknown Object (File)
Sun, Apr 5, 1:15 PM
Unknown Object (File)
Feb 16 2026, 11:58 AM
Unknown Object (File)
Feb 9 2026, 3:02 PM
Unknown Object (File)
Feb 2 2026, 5:23 PM
Unknown Object (File)
Jan 16 2026, 11:58 AM
Unknown Object (File)
Jan 7 2026, 6:15 PM
Subscribers

Details

Reviewers
jbo
jhb
Group Reviewers
manpages
Summary

Be more explicit that deleting old files and libraries needs to be
really after you're rebooted a third time and you're really actually
sure your applications aren't using old libs, following irc discussion.

Also adjust an example slightly to fit on 80 character console.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69058
Build 65941: arc lint + arc unit

Event Timeline

ziaee requested review of this revision.Dec 4 2025, 9:11 PM
fuz added inline comments.
share/man/man7/build.7
1115

Should be consistent, also check for additional occurrences.

switch examples consistently to /client, thanks @fuz!

share/man/man7/build.7
1025–1026

I would be tempted to leave make delete-old here and only defer make delete-old-libs to the new paragraph. In practice I always run make delete-old right after etcupdate -B. It's only make delete-old-libs that I defer until after updating packages.

emaste added inline comments.
share/man/man7/build.7
1025–1026

Agreed. They're split into two targets for a reason.

rebase due to addressing feedback in previous revision.

i didn't report this

i got this information from your mail on the pkgbase list, iiuc im supposed to then credit you with reported by.

i think we also need to document the behaviour of building multiple kernels in KERNCONF

agree. i think we should put that in the KERNCONF entry, im going to attempt it in a subsequent revision.

sorry, last attempt at diff actually just made it worse, i think this is the correct diff