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:
parent
577fb4f335
commit
299b81cd5f
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user