From patchwork Sun Mar 6 20:03:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Yaniger X-Patchwork-Id: 592584 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 678C81401DE for ; Mon, 7 Mar 2016 07:04:28 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id AA5C8958A0; Sun, 6 Mar 2016 20:04:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qN5FcDmQaBTb; Sun, 6 Mar 2016 20:04:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 23815953D5; Sun, 6 Mar 2016 20:04:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 313781CF4EB for ; Sun, 6 Mar 2016 20:04:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2B7D28C5A3 for ; Sun, 6 Mar 2016 20:04:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m96E3n9li28T for ; Sun, 6 Mar 2016 20:04:23 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2459A8BEB8 for ; Sun, 6 Mar 2016 20:04:21 +0000 (UTC) Received: from alan-tkos.home (line103-33.adsl.actcom.co.il [192.117.103.33]) by mx.tkos.co.il (Postfix) with ESMTPA id 652F944064C; Sun, 6 Mar 2016 22:04:01 +0200 (IST) From: Alan Yaniger To: buildroot@buildroot.org Date: Sun, 6 Mar 2016 22:03:27 +0200 Message-Id: <1457294608-2129-1-git-send-email-alan@tkos.co.il> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH 1/2] postgres: set PGROOT dir owner to be "postgres". Without this change, the postgres server fails to start on boot. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Alan Yaniger --- 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