]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
4b4b287d4e6ce92fc38e4e19fbf87b152236c0e2
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 ca-certificates is a package from Debian, but some host distros such as Fedora
2 have a leaner run-parts provided by cron which doesn't support --verbose or the
3 -- separator between arguments and paths.
4
5 This solves errors such as
6
7 | Running hooks in [...]/rootfs/etc/ca-certificates/update.d...
8 | [...]/usr/sbin/update-ca-certificates: line 194: Not: command not found
9
10 Upstream-Status: Inappropriate
11 Signed-off-by: Ross Burton <ross.burton@intel.com>
12 ---
13 sbin/update-ca-certificates | 4 +---
14 1 file changed, 1 insertion(+), 3 deletions(-)
15
16 Index: git/sbin/update-ca-certificates
17 ===================================================================
18 --- git.orig/sbin/update-ca-certificates
19 +++ git/sbin/update-ca-certificates
20 @@ -191,9 +191,7 @@ if [ -d "$HOOKSDIR" ]
21 then
22
23 echo "Running hooks in $HOOKSDIR..."
24 - VERBOSE_ARG=
25 - [ "$verbose" = 0 ] || VERBOSE_ARG="--verbose"
26 - eval run-parts "$VERBOSE_ARG" --test -- "$HOOKSDIR" | while read hook
27 + eval run-parts --test -- "$HOOKSDIR" | while read hook
28 do
29 ( cat "$ADDED"
30 cat "$REMOVED" ) | "$hook" || echo "E: $hook exited with code $?."