diff options
Diffstat (limited to 'meta/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch')
-rw-r--r-- | meta/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch b/meta/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch deleted file mode 100644 index f78790923c..0000000000 --- a/meta/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | update-ca-certificates: Replace deprecated mktemp -t with mktemp --tmpdir | ||
2 | |||
3 | According to coreutils docs, mktemp -t is deprecated, switch to the | ||
4 | --tmpdir option instead. | ||
5 | |||
6 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
7 | Upstream-Status: Submitted [https://salsa.debian.org/debian/ca-certificates/-/merge_requests/5] | ||
8 | |||
9 | [This was originally for compatibility with toybox but toybox now | ||
10 | supports -t] | ||
11 | --- | ||
12 | sbin/update-ca-certificates | 6 +++--- | ||
13 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
14 | |||
15 | diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates | ||
16 | index 79c41bb..ae9e3f1 100755 | ||
17 | --- a/sbin/update-ca-certificates | ||
18 | +++ b/sbin/update-ca-certificates | ||
19 | @@ -113,9 +113,9 @@ trap cleanup 0 | ||
20 | |||
21 | # Helper files. (Some of them are not simple arrays because we spawn | ||
22 | # subshells later on.) | ||
23 | -TEMPBUNDLE="$(mktemp -t "${CERTBUNDLE}.tmp.XXXXXX")" | ||
24 | -ADDED="$(mktemp -t "ca-certificates.tmp.XXXXXX")" | ||
25 | -REMOVED="$(mktemp -t "ca-certificates.tmp.XXXXXX")" | ||
26 | +TEMPBUNDLE="$(mktemp --tmpdir "${CERTBUNDLE}.tmp.XXXXXX")" | ||
27 | +ADDED="$(mktemp --tmpdir "ca-certificates.tmp.XXXXXX")" | ||
28 | +REMOVED="$(mktemp --tmpdir "ca-certificates.tmp.XXXXXX")" | ||
29 | |||
30 | # Adds a certificate to the list of trusted ones. This includes a symlink | ||
31 | # in /etc/ssl/certs to the certificate file and its inclusion into the | ||
32 | -- | ||
33 | 2.1.4 | ||