]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
certctl: invoke with LOCALBASE set
authorBrooks Davis <brooks@FreeBSD.org>
Mon, 16 Oct 2023 22:35:40 +0000 (23:35 +0100)
committerBrooks Davis <brooks@FreeBSD.org>
Fri, 20 Oct 2023 19:52:10 +0000 (20:52 +0100)
commit0e0c4f58370f25cdd824df06f38865b0d455a183
tree35d5d25e6004e0c00e7df4a77d317d9ebd3ffd24
parentdef6ee77dbc2ab7d4314002f01367e84e69b0a23
certctl: invoke with LOCALBASE set

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.

Reviewed by: Mina Galić <freebsd@igalic.co>
Differential Revision: https://reviews.freebsd.org/D40530
Makefile.inc1