Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new versions and fix certificates #34

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Conversation

lucabello
Copy link
Contributor

Issue

Currently, the ca-certificates package is added to the rock, but it's missing the default certificates in /etc/ssl/certs.

This happens not because we don't stage them, but because stage-packages: [ca-certificates] doesn't run the maintainer scripts that would populate /etc/ssl/certs, so that folder stays empty.

Solution

The solution to this is to change stage-packages: to overlay-packages in the ca-certs part, because that also runs the maintainer scripts and correctly populates the /ets/ssl/certs folder.


Besides that, this PR also adds new versions that had pending PRs, and renames the build part for consistency with other rocks :)

Testing Instructions

You can test it yourself by simply running the rock and checking the certs are there via ls /etc/ssl/certs.

root@8f0199aebc08:/# which update-ca-certificates
/usr/sbin/update-ca-certificates
root@8f0199aebc08:/# ll /etc/ssl/certs/
total 604

@lucabello lucabello merged commit 6cb177d into main Mar 14, 2024
1 check failed
@lucabello lucabello deleted the update-and-fix-certificates branch March 14, 2024 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants