Add ca-certificates-mozilla dependency and fix/add symlinks

This commit is contained in:
EnumDev committed 2026-10-22 09:52:02 +03:00
1 parent fdcaf3137c
commit 6090f5d9e5
2 files changed
+7 -5

No files matched your search

+5 -4
View File
@@ -35,10 +35,6 @@ package() {
cd "$BPM_OUTPUT"/usr/share/ca-certificates
find . -name '*.crt' | sort | cut -b3- | install -Dm644 /dev/stdin "$BPM_OUTPUT"/etc/ca-certificates.conf
# Create certificate symlink
install -d "$BPM_OUTPUT"/etc/ssl
ln -s /etc/ssl/certs/ca-certificates.crt "$BPM_OUTPUT"/etc/ssl/certs.pem
# Create trust-source directories
install -d "$BPM_OUTPUT"/etc/ca-certificates/trust-source/{anchors,blocklist}
install -d "$BPM_OUTPUT"/usr/share/ca-certificates/trust-source/{anchors,blocklist}
@@ -47,6 +43,11 @@ package() {
install -d "$BPM_OUTPUT"/etc/ssl/certs/java
install -d "$BPM_OUTPUT"/etc/ssl/extracted
# Create certificate symlinks
ln -sr "$BPM_OUTPUT"/etc/ca-certificates/extracted/tls-ca-bundle.pem "$BPM_OUTPUT"/etc/ssl/cert.pem
ln -sr "$BPM_OUTPUT"/etc/ca-certificates/extracted/tls-ca-bundle.pem "$BPM_OUTPUT"/etc/ssl/certs/ca-certificates.crt
ln -sr "$BPM_OUTPUT"/etc/ca-certificates/extracted/tls-ca-bundle.pem "$BPM_OUTPUT"/etc/ssl/certs/ca-bundle.crt
# Install bpm hook
install -Dm644 "$BPM_WORKDIR"/40-update-ca-trust.bpmhook "$BPM_OUTPUT"/var/lib/bpm/hooks/40-update-ca-trust.bpmhook