Page MenuHomeFreeBSD

release: Remove not-NO_ROOT cases
ClosedPublic

Authored by emaste on Dec 11 2025, 5:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 5, 5:30 AM
Unknown Object (File)
Sun, May 24, 12:25 AM
Unknown Object (File)
Sat, May 23, 5:42 PM
Unknown Object (File)
May 22 2026, 3:21 PM
Unknown Object (File)
May 21 2026, 10:10 AM
Unknown Object (File)
May 17 2026, 1:00 AM
Unknown Object (File)
May 15 2026, 7:58 PM
Unknown Object (File)
May 8 2026, 1:19 PM

Details

Summary
We always use NO_ROOT for release artifact builds, so remove the
alternate code paths.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

@cperciva any suggestion on the best way to test this / confirm that I haven't missed something?

release/tools/azure.conf
37–38

This looks wrong; we're going to treat NO_ROOT not being set as if it was set.

@cperciva any suggestion on the best way to test this / confirm that I haven't missed something?

You mean aside from running a build without NO_ROOT set and comparing the outputs? But generally speaking I'd say that grep -R NO_ROOT should be most of what's needed.

release/tools/azure.conf
37–38

My intent was to set NO_ROOT unconditionally in cases that invoke submakes, and turn NO_ROOT being unset into an error for the lower-level targets or includes like this, just in case there's some out-of-tree build scripts that expect to be able to run not-NO_ROOT builds. A 2nd step would remove these entirely.

This revision is now accepted and ready to land.Jan 22 2026, 5:42 PM

Thanks, I will push after stabweek concludes.

This revision was automatically updated to reflect the committed changes.