]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
installworld: attempt a certctl rehash at the tail end
authorKyle Evans <kevans@FreeBSD.org>
Sat, 9 May 2020 02:01:29 +0000 (02:01 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sat, 9 May 2020 02:01:29 +0000 (02:01 +0000)
commit70868d48e8f364c0d0620d2314c9a431699fa538
tree678561b102cfe74ef97264d80e7f41161cec8f8a
parenta22a780752399c96bea63f2ce4d461d3a5f1a12f
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