[Buildroot] [PATCH 1/1] postgresql: remove devfiles from target

Thomas De Schampheleire patrickdepinguin at gmail.com
Sun Aug 10 12:54:51 UTC 2014


Hi Floris,

On Sun, Aug 10, 2014 at 12:55 PM, Floris Bos <bos at je-eigen-domein.nl> wrote:
> On 08/10/2014 09:01 AM, Thomas De Schampheleire wrote:
>>
>> define POSTGRESQL_INSTALL_TARGET_FIXUP
>>         $(INSTALL) -dm 0700 $(TARGET_DIR)/var/lib/pgsql
>> +       rm -f $(TARGET_DIR)/usr/bin/pg_config
>> +       rm -rf $(TARGET_DIR)/usr/lib/postgresql/pgxs
>> endef
>> Not entirely sure here, but isn't the better approach for pg_config to add
>> it to POSTGRESQL_CONFIG_SCRIPTS? This will ensure the file is fixed up for
>> staging usr, and removed from target automatically.
>>
>
> Note that pg_config is an ELF executable compiled for the target
> architecture, and not a text script that can be easily fixed up.

Ok, in this case adding it to POSTGRESQL_CONFIG_SCRIPTS may not be the
best idea.

Best regards,
Thomas


More information about the buildroot mailing list