From: Christopher Larson Date: Fri, 23 Aug 2013 19:26:15 +0000 (-0700) Subject: nativesdk-ca-certificates: prepopulate ca-certificates.crt X-Git-Tag: 2015-4~5413 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=09e768b68b3605e897d422c9c7b3815f3b994d31;p=openembedded-core.git 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 Signed-off-by: Saul Wold --- 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} () { 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"