postgresql: Fix install error on non existent file
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.
Signed-off-by Babak Sarashki <[email protected]>
--- 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
@@ -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
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.Signed-off-by Babak Sarashki <[email protected]>--- 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@@ -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