diff options
Diffstat (limited to 'meta/recipes-support/ca-certificates/ca-certificates/default-sysroot.patch')
-rw-r--r-- | meta/recipes-support/ca-certificates/ca-certificates/default-sysroot.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-support/ca-certificates/ca-certificates/default-sysroot.patch b/meta/recipes-support/ca-certificates/ca-certificates/default-sysroot.patch index 6a5d6da676..f8b0791bea 100644 --- a/meta/recipes-support/ca-certificates/ca-certificates/default-sysroot.patch +++ b/meta/recipes-support/ca-certificates/ca-certificates/default-sysroot.patch | |||
@@ -8,11 +8,10 @@ Index: git/sbin/update-ca-certificates | |||
8 | =================================================================== | 8 | =================================================================== |
9 | --- git.orig/sbin/update-ca-certificates | 9 | --- git.orig/sbin/update-ca-certificates |
10 | +++ git/sbin/update-ca-certificates | 10 | +++ git/sbin/update-ca-certificates |
11 | @@ -37,6 +37,39 @@ do | 11 | @@ -66,6 +66,39 @@ do |
12 | shift | 12 | shift |
13 | done | 13 | done |
14 | 14 | ||
15 | + | ||
16 | +if [ -z "$SYSROOT" ]; then | 15 | +if [ -z "$SYSROOT" ]; then |
17 | + local_which () { | 16 | + local_which () { |
18 | + if [ $# -lt 1 ]; then | 17 | + if [ $# -lt 1 ]; then |
@@ -45,6 +44,7 @@ Index: git/sbin/update-ca-certificates | |||
45 | + SYSROOT= | 44 | + SYSROOT= |
46 | + fi | 45 | + fi |
47 | +fi | 46 | +fi |
48 | CERTSCONF=$SYSROOT/etc/ca-certificates.conf | 47 | + |
49 | CERTSDIR=$SYSROOT/usr/share/ca-certificates | 48 | if [ ! -s "$CERTSCONF" ] |
50 | LOCALCERTSDIR=$SYSROOT/usr/local/share/ca-certificates | 49 | then |
50 | fresh=1 | ||