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>
This commit is contained in:
parent
2413ff05ba
commit
503daf245e
|
@ -60,4 +60,10 @@ pkg_postinst_${PN} () {
|
||||||
|
|
||||||
CONFFILES_${PN} += "${sysconfdir}/ca-certificates.conf"
|
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"
|
BBCLASSEXTEND += "native nativesdk"
|
||||||
|
|
Loading…
Reference in New Issue