X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-stx%2Frecipes-extended%2Fpostgresql%2Fpostgresql_%25.bbappend;h=284b22a03c8d26cde45542338d6b6fd15d1689c8;hb=refs%2Fchanges%2F25%2F4625%2F1;hp=41d1c031c55b9aa330436de1961c8675c8e72e51;hpb=57fdea704bd62af847872c40508f00aa1d7cac60;p=pti%2Frtp.git diff --git a/meta-stx/recipes-extended/postgresql/postgresql_%.bbappend b/meta-stx/recipes-extended/postgresql/postgresql_%.bbappend index 41d1c03..284b22a 100644 --- a/meta-stx/recipes-extended/postgresql/postgresql_%.bbappend +++ b/meta-stx/recipes-extended/postgresql/postgresql_%.bbappend @@ -15,3 +15,16 @@ COMPUTE_IP="127.0.0.1" CONTROLLER_IP="127.0.0.1" + +FILESEXTRAPATHS_prepend := "${THISDIR}/postgresql:" + +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"