summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/ca-certificates
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2013-08-23 12:26:15 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-26 11:29:46 +0100
commit503daf245eb0b060fd4f1bff4499bf2207bef55d (patch)
tree9bd8796f66a301981e4674637c82fcb08bc87d20 /meta/recipes-support/ca-certificates
parent2413ff05ba98fc8b44bf1acd666950d252e6a1e9 (diff)
downloadpoky-503daf245eb0b060fd4f1bff4499bf2207bef55d.tar.gz
nativesdk-ca-certificates: prepopulate ca-certificates.crt
As postinsts aren't run for nativesdk packages when populating an SDK, we need to prepopulate up-front. (From OE-Core rev: 09e768b68b3605e897d422c9c7b3815f3b994d31) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/ca-certificates')
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates_20130610.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20130610.bb b/meta/recipes-support/ca-certificates/ca-certificates_20130610.bb
index 0692ca2499..29d6ebd38a 100644
--- a/meta/recipes-support/ca-certificates/ca-certificates_20130610.bb
+++ b/meta/recipes-support/ca-certificates/ca-certificates_20130610.bb
@@ -60,4 +60,10 @@ pkg_postinst_${PN} () {
60 60
61CONFFILES_${PN} += "${sysconfdir}/ca-certificates.conf" 61CONFFILES_${PN} += "${sysconfdir}/ca-certificates.conf"
62 62
63# Postinsts don't seem to be run for nativesdk packages when populating SDKs.
64CONFFILES_${PN}_append_class-nativesdk = " ${sysconfdir}/ssl/certs/ca-certificates.crt"
65do_install_append_class-nativesdk () {
66 SYSROOT="${D}${SDKPATHNATIVE}" update-ca-certificates
67}
68
63BBCLASSEXTEND += "native nativesdk" 69BBCLASSEXTEND += "native nativesdk"