From mboxrd@z Thu Jan 1 00:00:00 1970 From: Floris Bos Date: Sun, 17 Aug 2014 21:57:54 +0200 Subject: [Buildroot] [PATCH v2 2/3] postgresql: remove devfiles from target In-Reply-To: <20140817211717.5ddb2a1b@free-electrons.com> References: <1407938231-22544-1-git-send-email-bos@je-eigen-domein.nl> <1407938231-22544-2-git-send-email-bos@je-eigen-domein.nl> <20140817211717.5ddb2a1b@free-electrons.com> Message-ID: <53F10942.4070801@je-eigen-domein.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 08/17/2014 09:17 PM, Thomas Petazzoni wrote: > On Wed, 13 Aug 2014 15:57:10 +0200, Floris Bos wrote: >> Signed-off-by: Floris Bos >> --- >> package/postgresql/postgresql.mk | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk >> index dd2e678..19f9163 100644 >> --- a/package/postgresql/postgresql.mk >> +++ b/package/postgresql/postgresql.mk >> @@ -52,6 +52,7 @@ endef >> >> define POSTGRESQL_INSTALL_TARGET_FIXUP >> $(INSTALL) -dm 0700 $(TARGET_DIR)/var/lib/pgsql >> + $(RM) -rf $(TARGET_DIR)/usr/lib/postgresql/pgxs >> endef >> >> POSTGRESQL_POST_INSTALL_TARGET_HOOKS += POSTGRESQL_INSTALL_TARGET_FIXUP > I've applied the patch, thanks. However, I'm not sure to understand > why you're not removing 'pg_config' from the target. Thomas DS mentioned that having "POSTGRESQL_CONFIG_SCRIPTS = pg_config" also causes automatic removal from the target And have that in the first patch of the patch series that adds the fake pg_config file. Yours sincerely, Floris Bos