* [PATCH] ca-certificates: upgrade 20261123 -> 20261130
@ 2026-12-04 14:37 Anders Heimer
0 siblings, 0 replies; only message in thread
From: Anders Heimer @ 2026-12-04 14:37 UTC (permalink / raw)
To: openembedded-core; +Cc: Anders Heimer, Jaipaul Cheernam
Upstream added --fresh to each hook call during a fresh update.
Refresh the run-parts patch to keep the invocation compatible with
busybox.
Source: debian/changelog
https://metadata.ftp-master.debian.org/changelogs/main/c/ca-certificates/ca-certificates_20261130_changelog
ca-certificates (20261130) unstable; urgency=medium
* update-ca-certificates: Pass --fresh option to the hook scripts.
(Closes: #866670)
* Add Breaks against ca-certificates-java (<< 20210218) that didn't use
triggers in its jks-keystore hook script.
* Do not skip hooks during postinst configure otherwise the certificate
updates will be lost. (Closes: #1069251)
* Always run update-ca-certificates --fresh on configure, so hook
consumers (e.g. the ca-certificates-java keystore) that missed earlier
updates get resynced.
Reviewed-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Signed-off-by: Anders Heimer <anders.heimer@est.tech>
---
...certificates-don-t-use-Debianisms-in-run-p.patch | 13 +++++++++----
...ates_20261123.bb => ca-certificates_20261130.bb} | 2 +-
2 files changed, 10 insertions(+), 5 deletions(-)
rename meta/recipes-support/ca-certificates/{ca-certificates_20261123.bb => ca-certificates_20261130.bb} (97%)
diff --git a/meta/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch b/meta/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch
index 23335fbf59..b71f676085 100644
--- a/meta/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch
+++ b/meta/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch
@@ -1,4 +1,4 @@
-From c8d73c5ebc095a9f5d06d841461dc1701d0cf4c5 Mon Sep 17 00:00:00 2001
+From f00708940a2348d4088e59e1caa4f292e5b07d21 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Mon, 6 Jul 2015 15:19:41 +0100
Subject: [PATCH] ca-certificates: remove Debianism in run-parts invocation
@@ -22,17 +22,22 @@ Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates
-index 91d8024..1e737b9 100755
+index 16daace..5016bfa 100755
--- a/sbin/update-ca-certificates
+++ b/sbin/update-ca-certificates
-@@ -210,9 +210,7 @@ if [ -d "$HOOKSDIR" ]
+@@ -211,14 +211,12 @@ if [ -d "$HOOKSDIR" ]
then
echo "Running hooks in $HOOKSDIR..."
- VERBOSE_ARG=
- [ "$verbose" = 0 ] || VERBOSE_ARG="--verbose"
+ FRESH_ARG=
+ [ "$fresh" = 0 ] || FRESH_ARG="--fresh"
+ # removed certificates must come after added certificates because the -d
+ # option first adds *all* certificates and afterwards removes again
+ # those explicitly disabled in ca-certificates.conf
- eval run-parts "$VERBOSE_ARG" --test -- "$HOOKSDIR" | while read -r hook
+ eval run-parts --test "$HOOKSDIR" | while read -r hook
do
( cat "$ADDED"
- cat "$REMOVED" ) | "$hook" || echo "E: $hook exited with code $?."
+ cat "$REMOVED" ) | "$hook" $FRESH_ARG || echo "E: $hook exited with code $?."
diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20261123.bb b/meta/recipes-support/ca-certificates/ca-certificates_20261130.bb
similarity index 97%
rename from meta/recipes-support/ca-certificates/ca-certificates_20261123.bb
rename to meta/recipes-support/ca-certificates/ca-certificates_20261130.bb
index fbbc504274..079d4d833b 100644
--- a/meta/recipes-support/ca-certificates/ca-certificates_20261123.bb
+++ b/meta/recipes-support/ca-certificates/ca-certificates_20261130.bb
@@ -14,7 +14,7 @@ DEPENDS:class-nativesdk = "openssl-native"
# Need rehash from openssl and run-parts from debianutils
PACKAGE_WRITE_DEPS += "openssl-native debianutils-native"
-SRC_URI[sha256sum] = "ca7c16b757f342d34248874edf40e15a85d6dcf221b7e2ef2fe026e4fa4c6a51"
+SRC_URI[sha256sum] = "d469c8dd18e7a86ea8eb2a6ec15b7febdcc7aaf97793dcb63b4ceecb3e9a6e20"
SRC_URI = "${DEBIAN_MIRROR}/main/c/ca-certificates/${BPN}_${PV}.tar.xz \
file://0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch \
file://0003-update-ca-certificates-use-relative-symlinks-from-ET.patch \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-04 14:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 14:37 [PATCH] ca-certificates: upgrade 20261123 -> 20261130 Anders Heimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox