@@ -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 $?."
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
@@ -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 \