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-05 14:23:24 +01:00
parent f42bc9c9a1
commit 01cee7095c

View File

@ -549,6 +549,7 @@ EOF
cat > postgresql18.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