Don't suggest using a make target that requires building as root. Most examples already used separate buildkernel and installkernel steps.
This is similar to 554f43c0a7af ("docs: Remove references to make world).
Differential D60533
handbook: Avoid using `make kernel` Authored by emaste on Oct 9 2026, 3:58 PM.
Details
Don't suggest using a make target that requires building as root. Most examples already used separate buildkernel and installkernel steps. This is similar to 554f43c0a7af ("docs: Remove references to make world).
Diff Detail
Event TimelineComment Actions Yea, I think this is good advice. make buildworld make buildkernel bectl create yyyy-mm-dd bectl mount yyyy-mm-dd /mnt make installworld installkernel DESTDIR=/mnt bectl activate -t yyyy-mm-dd which we almost, but not quite, have scripts to do. For a update from source machine, I like to boot it and see if it works before I update the installed packages (which I do a lot less often than the base system, but I'm maybe atypical). and pkg is still a bit hostile to installing into a BE (possible, but UX is more cumbersome so you want it in a script). etcupdate I'm on the fence on. I know it should be updated with world, but too many 1990s mergemaster issues have left me hesitant. :) But this is 'for future consideration'... the change itself is good. Comment Actions
Yeah, I think we need to document something like that, but as you say as a followon change. I'd like to take a holistic look at this documentation, considering what we want the suggested workflow to be for:
|