X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-integ%2Frecipes-dbs%2Fpostgresql%2Fpostgresql_%25.bbappend;fp=meta-starlingx%2Fmeta-stx-integ%2Frecipes-dbs%2Fpostgresql%2Fpostgresql_%25.bbappend;h=309622639211b5fe22ced114074234c0e6a6ce1a;hb=e0634c6eaf2fe2641a0fb90e84a5defb880b1335;hp=0000000000000000000000000000000000000000;hpb=210d0f78485e760dffcdd3f630f59cec797f3f11;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-integ/recipes-dbs/postgresql/postgresql_%.bbappend b/meta-starlingx/meta-stx-integ/recipes-dbs/postgresql/postgresql_%.bbappend new file mode 100644 index 0000000..3096226 --- /dev/null +++ b/meta-starlingx/meta-stx-integ/recipes-dbs/postgresql/postgresql_%.bbappend @@ -0,0 +1,17 @@ +COMPUTE_IP="127.0.0.1" +CONTROLLER_IP="127.0.0.1" + +FILESEXTRAPATHS_prepend := "${THISDIR}/postgresql:" + +require ${@bb.utils.contains('DISTRO_FEATURES', 'openstack', '${BPN}_openstack.inc', '', d)} + +SRC_URI += " \ + file://postgresql.service.update \ + " + +do_install_append() { + install -d ${D}${systemd_unitdir}/system + install -m 0755 ${WORKDIR}/postgresql.service.update ${D}${systemd_unitdir}/system/postgresql.service +} + +FILES_${PN} += "${systemd_unitdir}/system/postgresql.service"