]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
installworld: run `certctl rehash` after installation completes
authorkevans <kevans@FreeBSD.org>
Thu, 17 Sep 2020 02:18:21 +0000 (02:18 +0000)
committerkevans <kevans@FreeBSD.org>
Thu, 17 Sep 2020 02:18:21 +0000 (02:18 +0000)
commitd1c2200b76c345a5f32dbce0c8e79390ca6b0a5a
tree59d7fcd39be3ca2fa8777569c1d5e1f3e2043ca6
parentac83c7781519ca2442f10d739c110f5152365f3e
installworld: run `certctl rehash` after installation completes

This was originally introduced back in r360833, and subsequently reverted
because it was broken for -DNO_ROOT builds and it may not have been the
correct place for it.

While debatably this may still not be 'the correct place,' it's much cleaner
than scattering rehashes all throughout the tree. brooks has fixed the issue
with -DNO_ROOT by properly writing to the METALOG in r361397.

Do note that this is different than what was originally committed; brooks
had revisions in D24932 that made it actually use the revised unprivileged
mode and write to METALOG, along with being a little more friendly to
foreign crossbuilds and just using the certctl in-tree.

With this change, I believe we should now have a populated /etc/ssl/certs in
the VM images.

MFC after: 1 week
Makefile.inc1