ca-certificates: move update-ca-certificates into separate package
PATCH 1/1 ca-certificates: move update-ca-certificates into separate package
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(-)
meta/recipes-support/ca-certificates/ca-certificates_20170717.bb +5 -1
@@ -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"
Signature · 1 line
2.1.4