Page MenuHomeFreeBSD

certctl: invoke with LOCALBASE set
ClosedPublic

Authored by brooks on Jun 13 2023, 10:50 PM.
Tags
None
Referenced Files
F144956385: D40530.diff
Sat, Feb 14, 11:49 AM
Unknown Object (File)
Sun, Feb 8, 2:36 PM
Unknown Object (File)
Sun, Feb 8, 11:25 AM
Unknown Object (File)
Fri, Jan 30, 4:24 PM
Unknown Object (File)
Mon, Jan 26, 8:11 PM
Unknown Object (File)
Mon, Jan 26, 10:45 AM
Unknown Object (File)
Sun, Jan 25, 7:29 AM
Unknown Object (File)
Sat, Jan 24, 9:10 PM

Details

Summary

When invoking certctl as part of installworld, set LOCALBASE in the
environment to match the build environment. That ensures that LOCABASE
is non-empty on systems without the user.localbase sysctl and avoids
allowing a system configuration detail to leak into the build. Users
who wish to build targeting a non-standard LOCALBASE should ensure it is
set in src.conf or similar.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52039
Build 48930: arc lint + arc unit