[Buildroot] [PATCH v2 2/3] postgresql: remove devfiles from target

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Aug 17 19:17:17 UTC 2014


Dear Floris Bos,

On Wed, 13 Aug 2014 15:57:10 +0200, Floris Bos wrote:
> Signed-off-by: Floris Bos <bos at je-eigen-domein.nl>
> ---
>  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.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list