[oe-commits] Christopher Larson : nativesdk-ca-certificates: prepopulate ca-certificates .crt

git at git.openembedded.org git at git.openembedded.org
Mon Aug 26 10:19:15 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 09e768b68b3605e897d422c9c7b3815f3b994d31
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=09e768b68b3605e897d422c9c7b3815f3b994d31

Author: Christopher Larson <chris_larson at mentor.com>
Date:   Fri Aug 23 12:26:15 2013 -0700

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.

Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 .../ca-certificates/ca-certificates_20130610.bb    |    6 ++++++
 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 0692ca2..29d6ebd 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} () {
 
 CONFFILES_${PN} += "${sysconfdir}/ca-certificates.conf"
 
+# Postinsts don't seem to be run for nativesdk packages when populating SDKs.
+CONFFILES_${PN}_append_class-nativesdk = " ${sysconfdir}/ssl/certs/ca-certificates.crt"
+do_install_append_class-nativesdk () {
+    SYSROOT="${D}${SDKPATHNATIVE}" update-ca-certificates
+}
+
 BBCLASSEXTEND += "native nativesdk"



More information about the Openembedded-commits mailing list