diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-07-31 23:31:13 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-07-31 23:49:54 -0400 |
| commit | 0cffcd09a44b2a58452a5bb13714bfc47d6546bf (patch) | |
| tree | b91584b573ce42431a35a9b8f064d8be57974e1e /meta-openstack/recipes-devtools/python/python-swift_git.bb | |
| parent | e887a996155f8b9f22d6aca0e31b5fbccd82751e (diff) | |
| download | meta-cloud-services-0cffcd09a44b2a58452a5bb13714bfc47d6546bf.tar.gz | |
global: overrides conversion
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-swift_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-swift_git.bb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-swift_git.bb b/meta-openstack/recipes-devtools/python/python-swift_git.bb index a5998eb..675a185 100644 --- a/meta-openstack/recipes-devtools/python/python-swift_git.bb +++ b/meta-openstack/recipes-devtools/python/python-swift_git.bb | |||
| @@ -48,7 +48,7 @@ python () { | |||
| 48 | d.setVarFlags("SERVICECREATE_PARAM_%s-setup" % d.getVar('SRCNAME',True), flags) | 48 | d.setVarFlags("SERVICECREATE_PARAM_%s-setup" % d.getVar('SRCNAME',True), flags) |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | do_install_append() { | 51 | do_install:append() { |
| 52 | SWIFT_CONF_DIR=${D}${sysconfdir}/swift | 52 | SWIFT_CONF_DIR=${D}${sysconfdir}/swift |
| 53 | 53 | ||
| 54 | install -d ${SWIFT_CONF_DIR} | 54 | install -d ${SWIFT_CONF_DIR} |
| @@ -108,7 +108,7 @@ do_install_append() { | |||
| 108 | 108 | ||
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | pkg_postinst_${SRCNAME}-setup () { | 111 | pkg_postinst:${SRCNAME}-setup () { |
| 112 | if [ -z "x$D" ]; then | 112 | if [ -z "x$D" ]; then |
| 113 | CLUSTER_CONF=/etc/swift/cluster.conf | 113 | CLUSTER_CONF=/etc/swift/cluster.conf |
| 114 | SWIFT_SETUP='/bin/bash /etc/swift/swift_setup.sh' | 114 | SWIFT_SETUP='/bin/bash /etc/swift/swift_setup.sh' |
| @@ -133,18 +133,18 @@ pkg_postinst_${SRCNAME}-setup () { | |||
| 133 | 133 | ||
| 134 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup" | 134 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup" |
| 135 | 135 | ||
| 136 | FILES_${PN} = "${libdir}/*\ | 136 | FILES:${PN} = "${libdir}/*\ |
| 137 | " | 137 | " |
| 138 | 138 | ||
| 139 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/test.conf \ | 139 | FILES:${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/test.conf \ |
| 140 | " | 140 | " |
| 141 | 141 | ||
| 142 | FILES_${SRCNAME}-setup = "${sysconfdir}/init.d/swift \ | 142 | FILES:${SRCNAME}-setup = "${sysconfdir}/init.d/swift \ |
| 143 | ${sysconfdir}/${SRCNAME}/swift_setup.sh \ | 143 | ${sysconfdir}/${SRCNAME}/swift_setup.sh \ |
| 144 | ${sysconfdir}/${SRCNAME}/cluster.conf \ | 144 | ${sysconfdir}/${SRCNAME}/cluster.conf \ |
| 145 | " | 145 | " |
| 146 | 146 | ||
| 147 | FILES_${SRCNAME} = "${bindir}/* \ | 147 | FILES:${SRCNAME} = "${bindir}/* \ |
| 148 | ${sysconfdir}/${SRCNAME}/* \ | 148 | ${sysconfdir}/${SRCNAME}/* \ |
| 149 | " | 149 | " |
| 150 | 150 | ||
| @@ -158,7 +158,7 @@ DEPENDS += " \ | |||
| 158 | python-pbr-native \ | 158 | python-pbr-native \ |
| 159 | " | 159 | " |
| 160 | 160 | ||
| 161 | RDEPENDS_${PN} += " \ | 161 | RDEPENDS:${PN} += " \ |
| 162 | python-eventlet \ | 162 | python-eventlet \ |
| 163 | python-greenlet \ | 163 | python-greenlet \ |
| 164 | python-pastedeploy \ | 164 | python-pastedeploy \ |
| @@ -171,11 +171,11 @@ RDEPENDS_${PN} += " \ | |||
| 171 | bash \ | 171 | bash \ |
| 172 | " | 172 | " |
| 173 | 173 | ||
| 174 | RDEPENDS_${SRCNAME} = "${PN}" | 174 | RDEPENDS:${SRCNAME} = "${PN}" |
| 175 | 175 | ||
| 176 | RDEPENDS_${SRCNAME} = "${PN}" | 176 | RDEPENDS:${SRCNAME} = "${PN}" |
| 177 | RDEPENDS_${SRCNAME}-setup = "${SRCNAME}" | 177 | RDEPENDS:${SRCNAME}-setup = "${SRCNAME}" |
| 178 | 178 | ||
| 179 | INITSCRIPT_PACKAGES = "${SRCNAME}-setup" | 179 | INITSCRIPT_PACKAGES = "${SRCNAME}-setup" |
| 180 | INITSCRIPT_NAME_${SRCNAME}-setup = "swift" | 180 | INITSCRIPT_NAME:${SRCNAME}-setup = "swift" |
| 181 | INITSCRIPT_PARAMS_${SRCNAME}-setup = "defaults" | 181 | INITSCRIPT_PARAMS:${SRCNAME}-setup = "defaults" |
