Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] postgres: set PGROOT dir owner to be "postgres". Without this change, the postgres server fails to start on boot.
@ 2016-03-06 20:03 Alan Yaniger
  2016-03-06 20:03 ` [Buildroot] [PATCH 2/2] docs: fix syntax error in makedev-syntax example. In the makedev syntax documentation, one of the examples lacks the "mode" value Alan Yaniger
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Yaniger @ 2016-03-06 20:03 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Alan Yaniger <alan@tkos.co.il>
---
 package/postgresql/postgresql.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk
index 444c1b1..5906ce9 100644
--- a/package/postgresql/postgresql.mk
+++ b/package/postgresql/postgresql.mk
@@ -17,6 +17,10 @@ POSTGRESQL_CONF_ENV = ac_cv_type_struct_sockaddr_in6=yes \
 POSTGRESQL_AUTORECONF = YES
 POSTGRESQL_CONF_OPTS = --disable-rpath
 
+define POSTGRESQL_PERMISSIONS
+	/var/lib/pgsql d 755 postgres postgres - - - - -
+endef
+
 ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
 # PostgreSQL does not build against uClibc with locales
 # enabled, due to an uClibc bug, see
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-09  4:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-06 20:03 [Buildroot] [PATCH 1/2] postgres: set PGROOT dir owner to be "postgres". Without this change, the postgres server fails to start on boot Alan Yaniger
2016-03-06 20:03 ` [Buildroot] [PATCH 2/2] docs: fix syntax error in makedev-syntax example. In the makedev syntax documentation, one of the examples lacks the "mode" value Alan Yaniger
2016-03-08 20:20   ` Yann E. MORIN
2016-03-09  4:22     ` Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox