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)
Wed, Feb 18, 4:45 PM
Unknown Object (File)
Wed, Feb 18, 4:44 PM
Unknown Object (File)
Tue, Feb 17, 12:25 PM
Unknown Object (File)
Mon, Feb 16, 11:46 AM
Unknown Object (File)
Mon, Feb 16, 10:23 AM
Unknown Object (File)
Mon, Jan 26, 2:13 AM
Unknown Object (File)
Sun, Jan 25, 3:04 PM
Unknown Object (File)
Fri, Jan 23, 6:38 AM

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.Thu, Jan 22, 5:42 PM

Thanks, I will push after stabweek concludes.

This revision was automatically updated to reflect the committed changes.