path: root/meta/recipes-support/ca-certificates
diff options
authorAndre McCurdy <>2018-07-05 22:07:02 -0700
committerRichard Purdie <>2018-07-06 22:54:56 +0100
commitc1f18efda0280644b4a4ce6f2988fb7ada71faf6 (patch)
tree806159d7c2f7a3c8109f5e720e7425ba08c5b3b6 /meta/recipes-support/ca-certificates
parent5646516dafbd2536e30d5f01c9e30fd34fcc7da1 (diff)
ca-certificates: avoid using += with an over-ride
Using += with an over-ride can be a source of confusion so try to avoid the construct in core recipes. In this case, the commit which added the over-ride seems to have been buggy - the commit message mentions "add to SYSROOT_DIRS" rather than a correct description of what the change actually did, ie "over-ride SYSROOT_DIRS": The commit also appears to have been unnecessary as ${sysconfdir} is appended to SYSROOT_DIRS for -native recipes by default from within staging.bbclass. To workaround the bug introduced by the first commit, a subsequent commit later added ${datadir}/ca-certificates to the over-ride value (which would not normally be necessary as ${datadir} is included in the default value of SYSROOT_DIRS - ie the value which was lost due to being over-ridden): Therefore the fix seem to be to remove the SYSROOT_DIRS over-ride entirely - the default value of SYSROOT_DIRS set by staging.bbclass includes both ${datadir} and ${sysconfdir} when building for -native. Signed-off-by: Andre McCurdy <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-support/ca-certificates')
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-support/ca-certificates/ b/meta/recipes-support/ca-certificates/
index 350294858b..24d3a6e4d3 100644
--- a/meta/recipes-support/ca-certificates/
+++ b/meta/recipes-support/ca-certificates/
@@ -26,7 +26,6 @@ SRC_URI = "git://;protocol=https \
S = "${WORKDIR}/git"
-SYSROOT_DIRS_class-native += "${sysconfdir} ${datadir}/ca-certificates"
inherit allarch