Browse Source

postgresql: changed to use numerical uid/gid when changing ownership of the datadir

user/group names are not usable when cross-compiling as it will try to resolve
them through the host.
user/chris/wip/musl
Christian Wiese 11 years ago
parent
commit
0a6cb65966
  1. 3
      database/postgresql/postgresql.conf

3
database/postgresql/postgresql.conf

@ -71,7 +71,8 @@ postgresqlclient_pm() {
postgresql_pm() {
# Create the data directory
mkdir -p $root/$localstatedir/data
chown -R postgres:postgres $root/$localstatedir/data
# use numerical uid/gid (user/group names are not usable when cross-compiling)
chown -R 42:42 $root/$localstatedir/data
# Create the Profile
echo "Creating /etc/profile.d/$pkg ..."

Loading…
Cancel
Save