diff options
author | Armin Kuster <akuster808@gmail.com> | 2016-05-06 23:02:00 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-05-25 18:48:11 -0700 |
commit | 97b67511c9dddc2278176c864ca1ea8b320b1034 (patch) | |
tree | 4bba59ab6d1881ba56fd5e0397207852c920cab2 | |
parent | 144b8e872a9ea5b38805c77322c33976881a5c47 (diff) | |
download | meta-security-97b67511c9dddc2278176c864ca1ea8b320b1034.tar.gz |
trousers: Fix new QA warning
NOTE: meta-security/recipes-tpm/trousers/trousers_0.3.13.bb: base_contains is deprecated, please use bb.utils.contains instead.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-tpm/trousers/trousers_0.3.13.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-tpm/trousers/trousers_0.3.13.bb b/recipes-tpm/trousers/trousers_0.3.13.bb index 7001788..e274972 100644 --- a/recipes-tpm/trousers/trousers_0.3.13.bb +++ b/recipes-tpm/trousers/trousers_0.3.13.bb | |||
@@ -17,7 +17,7 @@ SRC_URI[md5sum] = "ad508f97b406f6e48cd90e85d78e7ca8" | |||
17 | SRC_URI[sha256sum] = "bb908e4a3c88a17b247a4fc8e0fff3419d8a13170fe7bdfbe0e2c5c082a276d3" | 17 | SRC_URI[sha256sum] = "bb908e4a3c88a17b247a4fc8e0fff3419d8a13170fe7bdfbe0e2c5c082a276d3" |
18 | 18 | ||
19 | inherit autotools pkgconfig useradd update-rc.d | 19 | inherit autotools pkgconfig useradd update-rc.d |
20 | inherit ${@base_contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} | 20 | inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} |
21 | 21 | ||
22 | PACKAGECONFIG ?= "gmp " | 22 | PACKAGECONFIG ?= "gmp " |
23 | PACKAGECONFIG[gmp] = "--with-gmp, --with-gmp=no, gmp" | 23 | PACKAGECONFIG[gmp] = "--with-gmp, --with-gmp=no, gmp" |
@@ -33,7 +33,7 @@ do_install_append() { | |||
33 | install -d ${D}${sysconfdir}/udev/rules.d | 33 | install -d ${D}${sysconfdir}/udev/rules.d |
34 | install -m 0644 ${WORKDIR}/trousers-udev.rules ${D}${sysconfdir}/udev/rules.d/45-trousers.rules | 34 | install -m 0644 ${WORKDIR}/trousers-udev.rules ${D}${sysconfdir}/udev/rules.d/45-trousers.rules |
35 | 35 | ||
36 | if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then | 36 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
37 | install -d ${D}${systemd_unitdir}/system | 37 | install -d ${D}${systemd_unitdir}/system |
38 | install -m 0644 ${WORKDIR}/tcsd.service ${D}${systemd_unitdir}/system/ | 38 | install -m 0644 ${WORKDIR}/tcsd.service ${D}${systemd_unitdir}/system/ |
39 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/tcsd.service | 39 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/tcsd.service |