diff options
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/ca-certificates/ca-certificates/0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch | 6 |
1 files changed, 5 insertions, 1 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 4b4b287d4e..4a8ae5f4b5 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 | |||
@@ -6,9 +6,13 @@ This solves errors such as | |||
6 | 6 | ||
7 | | Running hooks in [...]/rootfs/etc/ca-certificates/update.d... | 7 | | Running hooks in [...]/rootfs/etc/ca-certificates/update.d... |
8 | | [...]/usr/sbin/update-ca-certificates: line 194: Not: command not found | 8 | | [...]/usr/sbin/update-ca-certificates: line 194: Not: command not found |
9 | | [...]/usr/sbin/update-ca-certificates: line 230: Not a directory: --: command not found | ||
10 | | E: Not a directory: -- exited with code 127. | ||
11 | |||
9 | 12 | ||
10 | Upstream-Status: Inappropriate | 13 | Upstream-Status: Inappropriate |
11 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 14 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
15 | Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com> | ||
12 | --- | 16 | --- |
13 | sbin/update-ca-certificates | 4 +--- | 17 | sbin/update-ca-certificates | 4 +--- |
14 | 1 file changed, 1 insertion(+), 3 deletions(-) | 18 | 1 file changed, 1 insertion(+), 3 deletions(-) |
@@ -24,7 +28,7 @@ Index: git/sbin/update-ca-certificates | |||
24 | - VERBOSE_ARG= | 28 | - VERBOSE_ARG= |
25 | - [ "$verbose" = 0 ] || VERBOSE_ARG="--verbose" | 29 | - [ "$verbose" = 0 ] || VERBOSE_ARG="--verbose" |
26 | - eval run-parts "$VERBOSE_ARG" --test -- "$HOOKSDIR" | while read hook | 30 | - eval run-parts "$VERBOSE_ARG" --test -- "$HOOKSDIR" | while read hook |
27 | + eval run-parts --test -- "$HOOKSDIR" | while read hook | 31 | + eval run-parts --test "$HOOKSDIR" | while read hook |
28 | do | 32 | do |
29 | ( cat "$ADDED" | 33 | ( cat "$ADDED" |
30 | cat "$REMOVED" ) | "$hook" || echo "E: $hook exited with code $?." | 34 | cat "$REMOVED" ) | "$hook" || echo "E: $hook exited with code $?." |