Skip to content

Commit

Permalink
feat(24.04): add sed to ca-certs_bins and add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijie-yang committed Jul 8, 2024
1 parent 0a06b57 commit 8538847
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion slices/ca-certificates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ slices:
]
content.write("/etc/ca-certificates.conf", "\n".join(names))
# The `_data` slice only provides the bundled certificates and the config file.
# To keep the individual certificates, this slice should be included.
data-keep-certs:
essential:
- ca-certificates_data
Expand All @@ -37,9 +39,11 @@ slices:
bins:
essential:
- openssl_bins
# The `/usr/sbin/update-ca-certificates` script requires sed to run.
- sed_bins
contents:
# To run update-ca-certificates without breaking the default certificates
# at /etc/ssl/certs/ca-certificates.crt, the ca-certificates_default-certs slice
# at /etc/ssl/certs/ca-certificates.crt, the ca-certificates_keep-certs slice
# should also be included. For details, see the `update-ca-certificates` script.
/usr/sbin/update-ca-certificates:

Expand Down

0 comments on commit 8538847

Please sign in to comment.