Skip to contentSkip to conversation

postgresql: Fix install error on non existent file

PATCH In review [email protected] 2 participants 2 messages May 29, 2020 – Jun 2, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 postgresql: Fix install error on non existent file

From: Babak Sarashki <[email protected]>

Commit 103939fec ("postgresql: Allow successful run of postgresql-setup") renamed .bash_profile to .profile. This commit reflects the file rename.

---
 meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc +1 -1
index b6a9c3c..3de5845 100644
@@ -35,7 +35,7 @@ do_install_append() {
     sed -e "s:%SYSCONFIGDIR%:${sysconfdir}:g" -i ${PG_INIT_SERVICE_FILE}
 
     # Update PGDATA throughout
-    files="${D}${localstatedir}/lib/${BPN}/.bash_profile"
+    files="${D}${localstatedir}/lib/${BPN}/.profile"
     files="$files ${D}${systemd_unitdir}/system/postgresql.service"
     files="$files ${D}${bindir}/${BPN}-setup"
     files="$files ${D}${sysconfdir}/init.d/${BPN}-server"
Signature · 1 line
2.23.0
#1 lore raw

merged

Bruce

In message: [meta-virtualization][m-c-s][PATCH] postgresql: Fix install error on non existent file

Quoted 28 lines · on 29/05/2020 Babak Sarashki wrote:

From: Babak Sarashki <[email protected]>

Commit 103939fec ("postgresql: Allow successful run of postgresql-setup") renamed .bash_profile to .profile. This commit reflects the file rename.

---
 meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc +1 -1
index b6a9c3c..3de5845 100644
@@ -35,7 +35,7 @@ do_install_append() {
     sed -e "s:%SYSCONFIGDIR%:${sysconfdir}:g" -i ${PG_INIT_SERVICE_FILE}
 
     # Update PGDATA throughout
-    files="${D}${localstatedir}/lib/${BPN}/.bash_profile"
+    files="${D}${localstatedir}/lib/${BPN}/.profile"
     files="$files ${D}${systemd_unitdir}/system/postgresql.service"
     files="$files ${D}${bindir}/${BPN}-setup"
     files="$files ${D}${sysconfdir}/init.d/${BPN}-server"
Signature · 1 line
2.23.0