Instead, use certctl to install certificates directly from the source
tree into the image.
Details
Details
- Reviewers
dfr - Commits
- rG5fe15d7cf39b: release: Don't install caroot in OCI images.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Sorry - I didn't see the notification for this one. I spent some time yesterday trying to do something similar but this version is much nicer. I tested it locally and everything looks right - I had to patch it to run certctl.sh from ${srcdir} instead running the host's certctl.
release/tools/oci-image-static.conf | ||
---|---|---|
28 | I needed to change this to ${srcdir}/use.sbin/certctl/certctl.sh so that I could build on a host which doesn't have the certctl which supports copies. |
release/tools/oci-image-static.conf | ||
---|---|---|
28 | That is probably fine. For re@ builds, everything happens in a chroot with all fresh binaries. For my own local testing of image builds, I often skip that but I'm sure I can work around any problems with the C version when that lands. |