aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMingli Yu <Mingli.Yu@windriver.com>2018-10-11 11:50:19 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-10-11 14:46:35 -0400
commit04b999aa9136ba90129e6679d232fd707e71f337 (patch)
tree42fd5487683316fe37b1080d2618fc6e1c5f2776
parent50c28a1eecb10db2ae649b10408f028eac4e9d03 (diff)
downloadmeta-cloud-services-04b999aa9136ba90129e6679d232fd707e71f337.tar.gz
meta-cloud-services-04b999aa9136ba90129e6679d232fd707e71f337.tar.bz2
meta-cloud-services-04b999aa9136ba90129e6679d232fd707e71f337.zip
postgresql: make append version independent
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>
-rw-r--r--meta-openstack/recipes-dbs/postgresql/postgresql_%.bbappend1
-rw-r--r--meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc (renamed from meta-openstack/recipes-dbs/postgresql/postgresql_9.%.bbappend)0
2 files changed, 1 insertions, 0 deletions
diff --git a/meta-openstack/recipes-dbs/postgresql/postgresql_%.bbappend b/meta-openstack/recipes-dbs/postgresql/postgresql_%.bbappend
new file mode 100644
index 0000000..025ee4e
--- /dev/null
+++ b/meta-openstack/recipes-dbs/postgresql/postgresql_%.bbappend
@@ -0,0 +1 @@
+require ${@bb.utils.contains('DISTRO_FEATURES', 'openstack', '${BPN}_openstack.inc', '', d)}
diff --git a/meta-openstack/recipes-dbs/postgresql/postgresql_9.%.bbappend b/meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc
index 5bf25e1..5bf25e1 100644
--- a/meta-openstack/recipes-dbs/postgresql/postgresql_9.%.bbappend
+++ b/meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc