aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-dbs
AgeCommit message (Collapse)Author
2021-07-31global: overrides conversionBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-06-01postgresql: Fix install error on non existent fileBabak Sarashki
Commit 103939fec ("postgresql: Allow successful run of postgresql-setup") renamed .bash_profile to .profile. This commit reflects the file rename. Signed-off-by: Babak Sarashki <babak.sarashki@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2018-11-08postgresql: Fix issue where init script is not found.thudJeremy Puhlman
layers/meta-cloud-services/meta-openstack/recipes-dbs/postgresql/defaultpkgname/ Something changed with the evaluation of :=, such that PN evaluates to defaultpkgname, thus the initscript is not found. Just set it to the correct name. Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-10-11postgresql: make append version independentMingli Yu
Make bbappend version independent and only effective when the openstack distro enabled. Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-04-03postgresql: don't attempt to start the DB before we setup the DBMark Asselstine
When we boot the first time the postgresql service will [FAIL] and the following error is reported: pg_ctl[288]: pg_ctl: directory "/etc/postgresql/data" does not exist This is a result of the service being started before a call to postgresql's initdb is made on the PGDATA directory, usually made by the package's default 'postgresql-setup' or our 'postgresql-init' scripts. We split our 'postgresql-init' script into two, the first part which does the 'initdb' can be executed as part of the postgresql.service 'ExecStartPre' allowing the postgresql.service to not fail. The remainder of 'postgresql-init' script is executed as before, via the postgresql-init.service on first boot. This change also fixes some of the first boot startup races that was preventing some of the openstack '*-init' services which do DB configuration for openstack components from executing correctly. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-04-03postgresql: update all instances of PGDATAMark Asselstine
While investigating a postgresql startup issue I found we were only updating one instance of PGDATA where several exist. We do not use these other instances but they are files installed in the system and should reflect our customized setting for PGDATA. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-04-03postgresql: follow move to recipes-dbs done in meta-openembeddedMark Asselstine
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>