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

Floris Bos bos at je-eigen-domein.nl
Sun Aug 17 19:57:54 UTC 2014


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 <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.

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




More information about the buildroot mailing list