diff options
Diffstat (limited to 'meta/recipes-support/ca-certificates/ca-certificates_20161130.bb')
-rw-r--r-- | meta/recipes-support/ca-certificates/ca-certificates_20161130.bb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20161130.bb b/meta/recipes-support/ca-certificates/ca-certificates_20161130.bb index 42088b9899..c282ace264 100644 --- a/meta/recipes-support/ca-certificates/ca-certificates_20161130.bb +++ b/meta/recipes-support/ca-certificates/ca-certificates_20161130.bb | |||
@@ -8,10 +8,11 @@ LICENSE = "GPL-2.0+ & MPL-2.0" | |||
8 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=e7358b9541ccf3029e9705ed8de57968" | 8 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=e7358b9541ccf3029e9705ed8de57968" |
9 | 9 | ||
10 | # This is needed to ensure we can run the postinst at image creation time | 10 | # This is needed to ensure we can run the postinst at image creation time |
11 | DEPENDS = "ca-certificates-native" | 11 | DEPENDS = "" |
12 | DEPENDS_class-native = "openssl-native" | 12 | DEPENDS_class-native = "openssl-native" |
13 | DEPENDS_class-nativesdk = "ca-certificates-native openssl-native" | 13 | DEPENDS_class-nativesdk = "openssl-native" |
14 | PACKAGE_WRITE_DEPS += "ca-certificates-native" | 14 | # Need c_rehash from openssl and run-parts from debianutils |
15 | PACKAGE_WRITE_DEPS += "openssl-native debianutils-native" | ||
15 | 16 | ||
16 | SRCREV = "61b70a1007dc269d56881a0d480fc841daacc77c" | 17 | SRCREV = "61b70a1007dc269d56881a0d480fc841daacc77c" |
17 | 18 | ||
@@ -63,7 +64,7 @@ do_install_append_class-target () { | |||
63 | } | 64 | } |
64 | 65 | ||
65 | pkg_postinst_${PN} () { | 66 | pkg_postinst_${PN} () { |
66 | SYSROOT="$D" update-ca-certificates | 67 | SYSROOT="$D" $D${sbindir}/update-ca-certificates |
67 | } | 68 | } |
68 | 69 | ||
69 | CONFFILES_${PN} += "${sysconfdir}/ca-certificates.conf" | 70 | CONFFILES_${PN} += "${sysconfdir}/ca-certificates.conf" |
@@ -71,7 +72,7 @@ CONFFILES_${PN} += "${sysconfdir}/ca-certificates.conf" | |||
71 | # Postinsts don't seem to be run for nativesdk packages when populating SDKs. | 72 | # Postinsts don't seem to be run for nativesdk packages when populating SDKs. |
72 | CONFFILES_${PN}_append_class-nativesdk = " ${sysconfdir}/ssl/certs/ca-certificates.crt" | 73 | CONFFILES_${PN}_append_class-nativesdk = " ${sysconfdir}/ssl/certs/ca-certificates.crt" |
73 | do_install_append_class-nativesdk () { | 74 | do_install_append_class-nativesdk () { |
74 | SYSROOT="${D}${SDKPATHNATIVE}" update-ca-certificates | 75 | SYSROOT="${D}${SDKPATHNATIVE}" ${D}${sbindir}/update-ca-certificates |
75 | } | 76 | } |
76 | 77 | ||
77 | do_install_append_class-native () { | 78 | do_install_append_class-native () { |