This allows using the script in with an other certificate bundle even if the user doesn't need all the certificates.
The scripts are still installed when the ca-certificates is installed as it RDEPENDS ca-certificates-scripts. Signed-off-by: Pascal Bach <[email protected]> --- meta/recipes-support/ca-certificates/ca-certificates_20170717.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20170717.bb b/meta/recipes-support/ca-certificates/ca-certificates_20170717.bb index 59e7d51..0413762 100644 --- a/meta/recipes-support/ca-certificates/ca-certificates_20170717.bb +++ b/meta/recipes-support/ca-certificates/ca-certificates_20170717.bb @@ -79,6 +79,10 @@ do_install_append_class-native () { SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates } -RDEPENDS_${PN} += "openssl" +# This contains only the update script to be used without custom certificates +PACKAGES =+ "${PN}-scripts" +FILES_${PN}-scripts = "${sbindir}/ ${sysconfdir}/ca-certificates" +RDEPENDS_${PN}-scripts += "openssl" +RDEPENDS_${PN} += "${PN}-scripts" BBCLASSEXTEND = "native nativesdk" -- 2.1.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
