Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Floris Bos <bos@je-eigen-domein.nl>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] postgresql: remove devfiles from target
Date: Sun, 10 Aug 2014 12:55:43 +0200	[thread overview]
Message-ID: <53E74FAF.6000306@je-eigen-domein.nl> (raw)
In-Reply-To: <b8f2dfad-6831-48d9-a7fa-c4775bbcf0a6@email.android.com>

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

  reply	other threads:[~2014-08-10 10:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-09 17:34 [Buildroot] [PATCH 1/1] postgresql: remove devfiles from target Floris Bos
2014-08-10  7:01 ` Thomas De Schampheleire
2014-08-10 10:55   ` Floris Bos [this message]
2014-08-10 12:54     ` Thomas De Schampheleire
2014-08-12 16:50       ` Thomas Petazzoni
2014-08-12 17:39         ` Floris Bos
2014-08-13  7:26           ` Thomas Petazzoni
2014-08-13 10:53             ` Floris Bos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53E74FAF.6000306@je-eigen-domein.nl \
    --to=bos@je-eigen-domein.nl \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox