1 From d6bb773745c2e95fd1a414e916fbed64e0d8df66 Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex@linutronix.de>
3 Date: Mon, 31 Mar 2025 17:42:25 +0200
4 Subject: [PATCH] sbin/update-ca-certificates: add a --sysroot option
6 This allows using the script in cross-compilation environments
7 where the script needs to prefix the sysroot to every other
8 directory it operates on. There are individual options
9 to set those directories, but using a common prefix option
10 instead is a lot less clutter and more robust.
12 Upstream-Status: Submitted [https://salsa.debian.org/debian/ca-certificates/-/merge_requests/13]
13 Signed-off-by: Alexander Kanavin <alex@linutronix.de>
15 sbin/update-ca-certificates | 8 ++++++++
16 1 file changed, 8 insertions(+)
18 diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates
19 index 4bb77a0..1e737b9 100755
20 --- a/sbin/update-ca-certificates
21 +++ b/sbin/update-ca-certificates
29 + CERTSCONF="$1/${CERTSCONF}"
30 + CERTSDIR="$1/${CERTSDIR}"
31 + LOCALCERTSDIR="$1/${LOCALCERTSDIR}"
32 + ETCCERTSDIR="$1/${ETCCERTSDIR}"
33 + HOOKSDIR="$1/${HOOKSDIR}";;
35 echo "$0: [--verbose] [--fresh]"