diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-support/ca-certificates | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/ca-certificates')
-rw-r--r-- | meta/recipes-support/ca-certificates/ca-certificates_20210119.bb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20210119.bb b/meta/recipes-support/ca-certificates/ca-certificates_20210119.bb index 7dcc86fdc1..363203854f 100644 --- a/meta/recipes-support/ca-certificates/ca-certificates_20210119.bb +++ b/meta/recipes-support/ca-certificates/ca-certificates_20210119.bb | |||
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://debian/copyright;md5=ae5b36b514e3f12ce1aa8e2ee67f3d7e | |||
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 = "" | 11 | DEPENDS = "" |
12 | DEPENDS_class-native = "openssl-native" | 12 | DEPENDS:class-native = "openssl-native" |
13 | DEPENDS_class-nativesdk = "openssl-native" | 13 | DEPENDS:class-nativesdk = "openssl-native" |
14 | # Need rehash from openssl and run-parts from debianutils | 14 | # Need rehash from openssl and run-parts from debianutils |
15 | PACKAGE_WRITE_DEPS += "openssl-native debianutils-native" | 15 | PACKAGE_WRITE_DEPS += "openssl-native debianutils-native" |
16 | 16 | ||
@@ -35,7 +35,7 @@ EXTRA_OEMAKE = "\ | |||
35 | 'SBINDIR=${sbindir}' \ | 35 | 'SBINDIR=${sbindir}' \ |
36 | " | 36 | " |
37 | 37 | ||
38 | do_compile_prepend() { | 38 | do_compile:prepend() { |
39 | oe_runmake clean | 39 | oe_runmake clean |
40 | } | 40 | } |
41 | 41 | ||
@@ -58,7 +58,7 @@ do_install () { | |||
58 | } >${D}${sysconfdir}/ca-certificates.conf | 58 | } >${D}${sysconfdir}/ca-certificates.conf |
59 | } | 59 | } |
60 | 60 | ||
61 | do_install_append_class-target () { | 61 | do_install:append:class-target () { |
62 | sed -i -e 's,/etc/,${sysconfdir}/,' \ | 62 | sed -i -e 's,/etc/,${sysconfdir}/,' \ |
63 | -e 's,/usr/share/,${datadir}/,' \ | 63 | -e 's,/usr/share/,${datadir}/,' \ |
64 | -e 's,/usr/local,${prefix}/local,' \ | 64 | -e 's,/usr/local,${prefix}/local,' \ |
@@ -66,25 +66,25 @@ do_install_append_class-target () { | |||
66 | ${D}${mandir}/man8/update-ca-certificates.8 | 66 | ${D}${mandir}/man8/update-ca-certificates.8 |
67 | } | 67 | } |
68 | 68 | ||
69 | pkg_postinst_${PN}_class-target () { | 69 | pkg_postinst:${PN}:class-target () { |
70 | SYSROOT="$D" $D${sbindir}/update-ca-certificates | 70 | SYSROOT="$D" $D${sbindir}/update-ca-certificates |
71 | } | 71 | } |
72 | 72 | ||
73 | CONFFILES_${PN} += "${sysconfdir}/ca-certificates.conf" | 73 | CONFFILES:${PN} += "${sysconfdir}/ca-certificates.conf" |
74 | 74 | ||
75 | # Rather than make a postinst script that works for both target and nativesdk, | 75 | # Rather than make a postinst script that works for both target and nativesdk, |
76 | # we just run update-ca-certificate from do_install() for nativesdk. | 76 | # we just run update-ca-certificate from do_install() for nativesdk. |
77 | CONFFILES_${PN}_append_class-nativesdk = " ${sysconfdir}/ssl/certs/ca-certificates.crt" | 77 | CONFFILES:${PN}:append:class-nativesdk = " ${sysconfdir}/ssl/certs/ca-certificates.crt" |
78 | do_install_append_class-nativesdk () { | 78 | do_install:append:class-nativesdk () { |
79 | SYSROOT="${D}${SDKPATHNATIVE}" ${D}${sbindir}/update-ca-certificates | 79 | SYSROOT="${D}${SDKPATHNATIVE}" ${D}${sbindir}/update-ca-certificates |
80 | } | 80 | } |
81 | 81 | ||
82 | do_install_append_class-native () { | 82 | do_install:append:class-native () { |
83 | SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates | 83 | SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates |
84 | } | 84 | } |
85 | 85 | ||
86 | RDEPENDS_${PN}_append_class-target = " openssl-bin openssl" | 86 | RDEPENDS:${PN}:append:class-target = " openssl-bin openssl" |
87 | RDEPENDS_${PN}_append_class-native = " openssl-native" | 87 | RDEPENDS:${PN}:append:class-native = " openssl-native" |
88 | RDEPENDS_${PN}_append_class-nativesdk = " nativesdk-openssl-bin nativesdk-openssl" | 88 | RDEPENDS:${PN}:append:class-nativesdk = " nativesdk-openssl-bin nativesdk-openssl" |
89 | 89 | ||
90 | BBCLASSEXTEND = "native nativesdk" | 90 | BBCLASSEXTEND = "native nativesdk" |