[Buildroot] [PATCH 1/1] postgresql: remove devfiles from target
Floris Bos
bos at je-eigen-domein.nl
Sun Aug 10 10:55:43 UTC 2014
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.
Yours sincerely,
Floris Bos
More information about the buildroot
mailing list