summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch')
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch31
1 files changed, 14 insertions, 17 deletions
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 d7d487e676..4b4b287d4e 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
@@ -13,21 +13,18 @@ Signed-off-by: Ross Burton <ross.burton@intel.com>
13 sbin/update-ca-certificates | 4 +--- 13 sbin/update-ca-certificates | 4 +---
14 1 file changed, 1 insertion(+), 3 deletions(-) 14 1 file changed, 1 insertion(+), 3 deletions(-)
15 15
16diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates 16Index: git/sbin/update-ca-certificates
17index fed9c25..29ecc69 100755 17===================================================================
18--- a/sbin/update-ca-certificates 18--- git.orig/sbin/update-ca-certificates
19+++ b/sbin/update-ca-certificates 19+++ git/sbin/update-ca-certificates
20@@ -186,9 +186,7 @@ echo "$ADDED_CNT added, $REMOVED_CNT removed; done." 20@@ -191,9 +191,7 @@ if [ -d "$HOOKSDIR" ]
21 then
21 22
22 HOOKSDIR=$SYSROOT/etc/ca-certificates/update.d 23 echo "Running hooks in $HOOKSDIR..."
23 echo -n "Running hooks in $HOOKSDIR...." 24- VERBOSE_ARG=
24-VERBOSE_ARG= 25- [ "$verbose" = 0 ] || VERBOSE_ARG="--verbose"
25-[ "$verbose" = 0 ] || VERBOSE_ARG=--verbose 26- eval run-parts "$VERBOSE_ARG" --test -- "$HOOKSDIR" | while read hook
26-eval run-parts $VERBOSE_ARG --test -- $HOOKSDIR | while read hook 27+ eval run-parts --test -- "$HOOKSDIR" | while read hook
27+eval run-parts --test $HOOKSDIR | while read hook 28 do
28 do 29 ( cat "$ADDED"
29 ( cat $ADDED 30 cat "$REMOVED" ) | "$hook" || echo "E: $hook exited with code $?."
30 cat $REMOVED ) | $hook || echo E: $hook exited with code $?.
31--
322.1.4
33