summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support
Commit message (Collapse)AuthorAgeFilesLines
* salt: Remove hardcoded Python 3.7 pathSam Zeter2020-08-201-1/+1
| | | | | | | | | | | | | The salt bitbake file hardcodes the Python 3.7 path as ${libdir}/python3.7 In order to ensure compatibility with Dunfell, which uses Python 3.8, and other future versions of Python, the variable PYTHON_SITEPACKAGES_DIR should be used. Signed-off-by: Sam Zeter <samuelzeter@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* salt: bump 3000 -> 3001Fagundes, Paulo2020-07-142-162/+3
| | | | | Signed-off-by: Paulo Fagundes <paulohefagundes@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ] salt: bump 2018.3 -> 3000Fagundes, Paulo2020-02-2712-2844/+148
| | | | | Signed-off-by: Paulo Fagundes <paulo.fagundes@opengear.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* Fix mod-wsgi recipeRebecca Cran2020-01-291-4/+4
| | | | | | | | | | | | | mod-wsgi version 4.5.13 doesn't build against python 3.8: update it to 4.6.8 which does build. Update the homepage URL: the Google Code project has been archived. Fix the LoadModule line: mod_wsgi.so is installed in ${libexecdir}, not ${libdir}. Signed-off-by: Rebecca Cran <rebecca@bsdio.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* bbappends: make distro feature safeBruce Ashfield2020-01-2210-90/+92
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openstack: packages: update for python3Bruce Ashfield2020-01-222-27/+27
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* tgt: update DEPENDS and RDEPENDSKai Kang2019-08-301-1/+2
| | | | | | | | | | | | | | | | | Update DEPENDS and RDEPENDS of tgt to fix error and warning: | bs_aio.c:34:10: fatal error: libaio.h: No such file or directory | 34 | #include <libaio.h> | | ^~~~~~~~~~ and | WARNING: tgt-1.0.79+gitAUTOINC+b43dbc6711-r0 do_package_qa: QA Issue: | /usr/sbin/tgt-admin contained in package tgt requires /usr/bin/perl, | but no providers found in RDEPENDS_tgt? [file-rdeps] Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libbsd: remove bbappendMingli Yu2019-07-251-1/+0
| | | | | | | | | | | | | The bbappend only has below logic: inherit autotools-brokensep Actually libbsd can build successfully with a separate build directory which also means B != S, so no need to switch to inherit autotools-brokensep from the default autotools class. Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* tgt: upgrade 1.0.73 -> 1.0.79Zang Ruochen2019-07-091-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* iproute2: update bbappend to match bb versionHongzhi.Song2019-06-031-0/+0
| | | | | Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* salt: bump 2016.11 -> 2018.3Sergey Kizunov2018-08-281-13/+12
| | | | | Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tgt: add systemd service fileMingli Yu2018-08-143-2/+58
| | | | | | | Add systemd service file for tgt Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* :tgt:1.0.67 -> 1.0.73Hong Liu2018-07-231-2/+2
| | | | | | | Upgrade tgt from 1.0.67 to 1.0.73 Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libbsd: update bbappend to match oe-core versionBruce Ashfield2018-07-101-0/+0
| | | | | | | | It was reported that we have a dangling bbappend, so we update it to match oe-core. Reported-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tgt: Use return instead of exit to restart tgtd, if tgtd is not runningJagadeesh Krishnanjanappa2018-07-101-2/+2
| | | | | | | | | If the tgtd daemon is stopped, then '/etc/init.d/tgtd.init restart' does not start the new tgtd daemon, as the control comes out from the stop function, if it finds tgtd is not running. Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* housekeeping: patch refreshMark Asselstine2018-06-112-13/+9
| | | | | | | | | | Bitbake now prints warnings when a patch is successfully applied but there is fuzz or an offset. The following refreshes patches for several packages which report warnings when openstack-image-controller is built. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tgt: specify -f option in order to load backing store device when tgtd is ↵Jagadeesh Krishnanjanappa2018-06-031-1/+1
| | | | | | | | | | | restarted Specifying force option (-f) to tgt-admin, makes sure iscsi backing devices mentioned under /etc/tgt/*.conf are listed, loaded and activated when /etc/init.d/tgtd is restarted. Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* postgresql: follow move to recipes-dbs done in meta-openembeddedMark Asselstine2018-04-034-150/+0
| | | | | | | | | | Commit 742404cc8ab0 [postgres: move to recipes-dbs] in meta-openembedded moved the postgresql recipe to recipes-dbs. We usually try to match the bbappend's path with that of the bb so complete a matching move here. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* memcached: uprev to v1.5.3Mark Asselstine2017-12-014-19/+69
| | | | | | | | Incorporate updates in the recipe found in meta-networking and add support for systemd. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* postgresql: updates to get things working with systemdMark Asselstine2017-11-274-126/+77
| | | | | | | | | | | | | Convert the sysvinit code to instead work with systemd. We are no longer able to make use of postinst scripts as we need to perform setup after the postgresql service is started, this will have 'knock-on' effects for other postinst, such as for keystone. Changing these postinst to "one time" services buys us greater control and easier readability than the postinst scripts, so overall this is a good change. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-*: fixup postinst scriptsMark Asselstine2017-11-151-8/+6
| | | | | | | | | | | | | | | Checking for "$D" and doing an "exit 1" now results in errors such as: [log_check] warning: %post(keystone-cronjobs-...) scriptlet failed, exit status 2 during image creation. Instead of escaping the script for "level-1" (image creation postinst) we wrap the "level-2" (first boot) postinst in an if statement. This also ensure the scriptlet in indentity.bbclass is less prone to behaving differently based on the postinsts defined in the classes which inherit 'identity'. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* cyrus-sasl: drop bbappendMark Asselstine2017-08-221-1/+0
| | | | | | | | | The change implemented in the bbappend is now part of the main recipe file. See commit a97ab8e018d86461a4701625dc16b09370fad21f [cyrus-sasl: inherit autotools-brokensep] in meta-openembedded. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* chef: remove the use of chefMark Asselstine2017-01-095-205/+10
| | | | | | | | | | | The use of chef was never complete, had isses with updating binary database files and had a cumbersome implementation. Since we are using Ansible in meta-overc we are dropping the use of chef here and will look to being at par with meta-overc by using Ansible if/when we get time to look at runtime configuration in meta-cloud-services. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tgt: ensure build LDFLAGS apply to all executablesMark Asselstine2017-01-093-4/+41
| | | | | | | | | Some of the tgt executables were not being built with the gnu-hash causing a QA error. There is no apparent reason to have differences in how the tgt executables are built so ensure they all use the LDFLAGS. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* mod-wsgi: uprev to use git and latest releaseMark Asselstine2017-01-092-11/+135
| | | | | | | | | Apache2 was just uprev'd to the latest release in meta-oe so we should really matching this. Additionally the version we are replacing had build issue with the latest gcc, so the uprev solves these as well. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* housekeeping: rename bbappends to match the recipe versionsMark Asselstine2016-12-252-0/+0
| | | | | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* housekeeping: replace deprecated base_containsMark Asselstine2016-12-212-2/+2
| | | | | | | | 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>
* salt: upgrade to 2016.11Alejandro del Castillo2016-12-185-60/+403
| | | | | Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tgt: 1.0.63 -> 1.0.67Wang Xin2016-09-192-8/+9
| | | | | | | | | 1) Upgrade tgt from 1.0.63 to 1.0.67. 2) Modify one patch, since the data has been changed. 0001-Correct-the-path-of-header-files-check-in-Yocto-buil.patch Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* salt-tests: Disable staticdev QAWarningCollin Richards2016-07-211-0/+4
| | | | | | | | | | | | | The salt-test package uses files with .a extensions in it's tests. These are used in tests that inspect the tree structure of the file system and have nothing to do with static libraries. This triggers an OE QAWarning. Skip the staticdev check for this package to disable this warning. Signed-off-by: Collin Richards <collin.richards@ni.com> Natinst-ReviewBoard-ID: 145293 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* salt: Add the salt test suiteCollin Richards2016-06-211-0/+11
| | | | | | | | | | | * Add salt-tests - package for salt test suite The salt test suite can be run from: /usr/lib/python2.7/site-packages/salt-tests/tests/runtests.py Signed-off-by: Collin Richards <collin.richards@ni.com> Natinst-ReviewBoard-ID: 142234 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* salt: upgrade to 2016.3Alejandro del Castillo2016-06-175-219/+718
| | | | | | | | * Update conffiles * Add PKGCONFIG options for zeromq and TCP transports. Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nss-pam-ldapd: move from meta-openstack to base layerLiang Li2016-04-282-137/+0
| | | | | | | To prepare enable nss-pam-ldapd reuseable by other layer/addons. Signed-off-by: Liang Li <liang.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* tgt: pass required CFLAGSMark Asselstine2016-03-211-3/+4
| | | | | | | | | The tgt Makefile has several CFLAGS (defines) that need to be set. Since we overwrite the CFLAGS by exporting CFLAGS and passing '-e' to make, we need to include these in our defined CFLAGS. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* salt: add python-futures to RRECOMMENDS for salt-commonJosh Cartwright2016-02-091-1/+1
| | | | | | | | | The TCP transport mechanism has a dependency on the python-futures module. Document this in the form of an RRECOMMENDS. Signed-off-by: Josh Cartwright <joshc@ni.com> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iproute2: update 3.% -> 4.%Ioan-Adrian Ratiu2016-02-091-0/+0
| | | | | Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* fuse: remove bbappend (2.9.3)Ioan-Adrian Ratiu2016-02-091-1/+0
| | | | | | | | | meta-oe master has upgraded to v2.9.4 which builds fine with B != S. Since this bbappend only makes the recipe inherit autotools-brokensep, we can remove it altogether. Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* housekeeping: remove references to openvswitch-controllerMark Asselstine2016-02-051-1/+0
| | | | | | | | | | | | Per 5181ec2259eba5f4d3ec8516ea693bbc94481cf3 [openvswitch: rename openvswitch-controller] and f7dcf5bce94064d32e6d07f9385fbff02e2a86f2 [openvswitch: enable systemd support] on meta-virtualization we remove references to openvswitch-controller. This was never intended to be something that should be installed. So removing this from the packagegroup and chef. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* salt: upgrade to 2015.8Alejandro del Castillo2015-10-021-13/+13
| | | | | | | Follow Debian dependencies from official salt repo at repo.saltstack.com Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openldap/initscript: make sure data_dir existNam Ninh2015-09-171-0/+1
| | | | | Signed-off-by: Nam Ninh <nam.ninh@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* openldap: fix various build failuresNam Ninh2015-09-171-4/+5
| | | | | | | | | | | | | | | | | | | | Fix wrong hard-coded OPENLDAP_LIBEXECDIR that causes the following build failure: mv: cannot stat `<build_dir>/bitbake_build/tmp/work/core2-64-wrs-linux/openldap/2.4.39-r0/image/usr/lib64/openldap/slapd': No such file or directory The base openldat bb installs slapd under ${sbindir}, so LIBEXEC should be replaced with sbindir instead of OPENLDAP_LIBEXECDIR. The "run" directory is already removed in the base bb, so removing the second time causes this build failure: rmdir: failed to remove `<build_dir>/bitbake_build/tmp/work/core2-64-wrs-linux/openldap/2.4.39-r0/image/var/run': No such file or directory Finally, ops-base.ldif is needed in the initscript, so we also include it in the package. Signed-off-by: Nam Ninh <nam.ninh@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* housekeeping: switch more bbappends to use wildcardsMark Asselstine2015-09-162-0/+0
| | | | | | | | | | | In order to avoid future danglers move more bbappends to use wildcards. This also helps when folks are using meta-cloud-services with other branches then master. These are trivial in that they are not being modified and have been audited and shown to be still applicable. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* dnsmasq: move bbappend to use a wilcardMark Asselstine2015-09-161-5/+0
| | | | | | | | | | | To facilitate future support and to simplify using meta-cloud-services with other branches we prefer to use a wildcard. In making this move the content of the bbappend has been audited and most of the content is now no longer needed (it is found in dnsmasq.inc for some time now) and so we are removing these parts. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* puppet: move to base layerMark Asselstine2015-08-209-255/+0
| | | | | | | | | | | | Puppet can be used by many 'cloud services', it is not openstack specific, so moving puppet and puppet related recipes to the meta-cloud-services base layer. This allows either internal sub-layers found in meta-cloud-services or external layers to include meta-cloud-services without being burdened by bbappends and configs found in meta-openstack. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Add the ruby-shadow recipe for the puppet toolGuojian Zhou2015-08-202-0/+24
| | | | | | | | | | | | | | The puppet could not add or change the user's password automatically, because the puppet tool requires the "libshadow" to implement this feature. Failure information without the "libshadow" feature: ================================================================== Debug: /User[username]: Provider useradd does not support features manages_passwords; not managing attribute password Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Add the puppet.conf for the puppet agentGuojian Zhou2015-08-202-0/+11
| | | | | | | | The puppet agent requires the /etc/puppet/puppet.conf. Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Fix the puppet run failure issueGuojian Zhou2015-08-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | The puppet's execution depends on the facter, so add the required RDEPENDS in the bb file. The puppet tool run failure information: ============================================== root@# puppet help /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require': cannot load such file -- facter (LoadError) from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/gems/1.9.1/gems/puppet-3.7.3/lib/puppet.rb:6:in `<top (required)>' from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/gems/1.9.1/gems/puppet-3.7.3/lib/puppet/util/command_line.rb:12:in `<top (required)>' from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require' from /usr/lib64/ruby/gems/1.9.1/gems/puppet-3.7.3/bin/puppet:7:in `<top (required)>' from /usr/bin/puppet:23:in `load' from /usr/bin/puppet:23:in `<main>' Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* chef: upgrade 11.12.4->12.4.1Lei Maohui2015-08-102-6/+31
| | | | | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-openstack: fix dangling bbappends by adding wildcardMark Asselstine2015-08-061-1/+1
| | | | | | | | | | | | | | | | Several bbappends were raising 'dangling' warnings since the base recipe version has changed without a similar change being made in this repo. The following are renames that include a wildcard to broaden the versions to which these bbappends will be applied to. This will address the 'dangling' warnings while ensuring the changes made in this repo are properly applied to the associated recipes. For the most part the files remain unchanged, in the case of postgresql the 'brokensep' has been removed as there exists no more S != B issues in the base recipe. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* meta-openstack: remove unneeded dangling bbappendsMark Asselstine2015-08-061-1/+0
| | | | | | | | | | | | | | | | | | Several bbappends are now dangling as the base recipes have moved to different versions. These specific danglers have been reviewed and don't have any demonstrable purpose any longer and can therefor be removed. For example the busybox default config now enables CONFIG_WHICH so there is no reason to continue to 'patch' this config setting. For recipes which used brokensep in order to work around S != B build issues the fact that the bbappend was dangling and the recipe was building successfully is enough to demonstrate that the bbappend was no longer needed. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>