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/classes/identity.bbclass | |
| 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/classes/identity.bbclass')
| -rw-r--r-- | meta-openstack/classes/identity.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-openstack/classes/identity.bbclass b/meta-openstack/classes/identity.bbclass index 1f4f408..6a08eae 100644 --- a/meta-openstack/classes/identity.bbclass +++ b/meta-openstack/classes/identity.bbclass | |||
| @@ -152,7 +152,7 @@ def servicecreate_param(d, pkg): | |||
| 152 | return service_param | 152 | return service_param |
| 153 | 153 | ||
| 154 | # Add the postinst script into the generated package | 154 | # Add the postinst script into the generated package |
| 155 | python populate_packages_append () { | 155 | python populate_packages:append () { |
| 156 | servicecreate_packages = d.getVar('SERVICECREATE_PACKAGES', True) or "" | 156 | servicecreate_packages = d.getVar('SERVICECREATE_PACKAGES', True) or "" |
| 157 | 157 | ||
| 158 | servicecreate_postinst_common_copy = d.getVar('servicecreate_postinst_common', True) | 158 | servicecreate_postinst_common_copy = d.getVar('servicecreate_postinst_common', True) |
| @@ -161,7 +161,7 @@ python populate_packages_append () { | |||
| 161 | for pkg in servicecreate_packages.split(): | 161 | for pkg in servicecreate_packages.split(): |
| 162 | bb.debug(1, 'Adding service/user creation calls to postinst for %s' % pkg) | 162 | bb.debug(1, 'Adding service/user creation calls to postinst for %s' % pkg) |
| 163 | 163 | ||
| 164 | postinst = d.getVar('pkg_postinst_%s' % pkg, True) or d.getVar('pkg_postinst', True) | 164 | postinst = d.getVar('pkg_postinst:%s' % pkg, True) or d.getVar('pkg_postinst', True) |
| 165 | if not postinst: | 165 | if not postinst: |
| 166 | postinst = '' | 166 | postinst = '' |
| 167 | 167 | ||
| @@ -181,6 +181,6 @@ python populate_packages_append () { | |||
| 181 | # Footer. | 181 | # Footer. |
| 182 | postinst += ' fi\n' | 182 | postinst += ' fi\n' |
| 183 | 183 | ||
| 184 | d.setVar('pkg_postinst_%s' % pkg, postinst) | 184 | d.setVar('pkg_postinst:%s' % pkg, postinst) |
| 185 | bb.debug(1, 'pkg_postinst_%s = %s' % (pkg, d.getVar('pkg_postinst_%s' % pkg, True))) | 185 | bb.debug(1, 'pkg_postinst:%s = %s' % (pkg, d.getVar('pkg_postinst:%s' % pkg, True))) |
| 186 | } | 186 | } |
