]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
installworld: attempt a certctl rehash at the tail end
authorkevans <kevans@FreeBSD.org>
Sat, 9 May 2020 02:01:29 +0000 (02:01 +0000)
committerkevans <kevans@FreeBSD.org>
Sat, 9 May 2020 02:01:29 +0000 (02:01 +0000)
commit324ea059cb95b03cd4a78cb4ed3a75e11fb28103
tree678561b102cfe74ef97264d80e7f41161cec8f8a
parentf79b04f890fa60ee56786acbdc4a5f26fa519458
installworld: attempt a certctl rehash at the tail end

This can be run as root or normal user with no problem; if they hadn't
twisted the WITHOUT_CAROOT knob, we'll attempt to use the host certctl to
rehash the DESTDIR. This would allow one to build systems WITHOUT_OPENSSL +
WITH_CAROOT with a populated /etc/ssl that they can then use with an
appropriate *ssl from somewhere else.

Cross-builds are fine because this will always use the host certctl, or just
nag if it's missing and it wasn't a WITHOUT_CAROOT build.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D24641
Makefile.inc1