diff options
| author | Mark Asselstine <mark.asselstine@windriver.com> | 2016-12-21 10:22:41 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-12-21 11:47:05 -0500 |
| commit | bd2525ceb47699747f9370773fa629bf28c999d6 (patch) | |
| tree | 1748ce0f1e237277440967a405e7145ca42876c3 /meta-openstack/recipes-support | |
| parent | d2a69f5e890b040cbc774f64275c27c8a1ea67a9 (diff) | |
| download | meta-cloud-services-bd2525ceb47699747f9370773fa629bf28c999d6.tar.gz | |
housekeeping: replace deprecated base_contains
Fixes:
base_contains is deprecated, please use bb.utils.contains instead.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-support')
| -rw-r--r-- | meta-openstack/recipes-support/deploychef/deploychef_0.1.bb | 2 | ||||
| -rw-r--r-- | meta-openstack/recipes-support/tgt/tgt_git.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-openstack/recipes-support/deploychef/deploychef_0.1.bb b/meta-openstack/recipes-support/deploychef/deploychef_0.1.bb index b823514..6237538 100644 --- a/meta-openstack/recipes-support/deploychef/deploychef_0.1.bb +++ b/meta-openstack/recipes-support/deploychef/deploychef_0.1.bb | |||
| @@ -55,7 +55,7 @@ FILES_${PN} += " \ | |||
| 55 | #Read the module config files and make them into | 55 | #Read the module config files and make them into |
| 56 | #chef-solo templates | 56 | #chef-solo templates |
| 57 | do_install() { | 57 | do_install() { |
| 58 | if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 58 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
| 59 | #This script will make templates out of postinst script before they | 59 | #This script will make templates out of postinst script before they |
| 60 | #have a chance to run | 60 | #have a chance to run |
| 61 | install -d ${D}${sysconfdir}/init.d | 61 | install -d ${D}${sysconfdir}/init.d |
diff --git a/meta-openstack/recipes-support/tgt/tgt_git.bb b/meta-openstack/recipes-support/tgt/tgt_git.bb index af4aa4b..5c594b1 100644 --- a/meta-openstack/recipes-support/tgt/tgt_git.bb +++ b/meta-openstack/recipes-support/tgt/tgt_git.bb | |||
| @@ -28,7 +28,7 @@ do_compile() { | |||
| 28 | do_install() { | 28 | do_install() { |
| 29 | oe_runmake -e DESTDIR="${D}" install-programs install-conf install-scripts | 29 | oe_runmake -e DESTDIR="${D}" install-programs install-conf install-scripts |
| 30 | 30 | ||
| 31 | if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 31 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
| 32 | install -d ${D}${sysconfdir}/init.d | 32 | install -d ${D}${sysconfdir}/init.d |
| 33 | install -m 0755 ${WORKDIR}/tgtd.init ${D}${sysconfdir}/init.d/tgtd | 33 | install -m 0755 ${WORKDIR}/tgtd.init ${D}${sysconfdir}/init.d/tgtd |
| 34 | fi | 34 | fi |
