bash-profile fix for imagemode

Add .bash_profile creation via tmpfiles.d to support
container/imagemode deployments where the file is not
persisted from RPM installation.
This commit is contained in:
Filip Janus 2026-03-16 21:26:16 +01:00 committed by Nikola Davidova
parent 577fb4f335
commit 299b81cd5f
No known key found for this signature in database

View File

@ -548,6 +548,7 @@ EOF
cat > postgresql16.tmpfiles.conf <<EOF
d /var/lib/pgsql 0700 postgres postgres -
f /var/lib/pgsql/.bash_profile 0644 postgres postgres - "[ -f /etc/profile ] && source /etc/profile\nPGDATA=/var/lib/pgsql/data\nexport PGDATA"
EOF
%build