mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Björn Esser" <b.esser@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Björn Esser" <b.esser@pengutronix.de>
Subject: [ptxdist] [PATCH v2] postgresql: Fix installation of executables.
Date: Fri, 10 Jan 2020 16:51:54 +0100	[thread overview]
Message-ID: <20200110155153.4936-1-b.esser@pengutronix.de> (raw)

Signed-off-by: Björn Esser <b.esser@pengutronix.de>
---
 rules/postgresql.make | 46 ++++++++++++++++++++-----------------------
 1 file changed, 21 insertions(+), 25 deletions(-)

diff --git a/rules/postgresql.make b/rules/postgresql.make
index af3eb6b45..5b84eb58f 100644
--- a/rules/postgresql.make
+++ b/rules/postgresql.make
@@ -107,31 +107,27 @@ $(STATEDIR)/postgresql.targetinstall:
 	@$(call install_lib, postgresql, 0, 0, 0644, libpgtypes)
 
 #	# Binaries
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/postgres)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/pg_receivexlog)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/postmaster)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/reindexdb)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/pg_isready)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/pg_dump)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/vacuumdb)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/pg_ctl)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/dropuser)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/createdb)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/createuser)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/initdb)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/pg_restore)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/clusterdb)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/pg_recvlogical)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/pg_resetxlog)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/dropdb)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/ecpg)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/pg_dumpall)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/createlang)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/pg_basebackup)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/psql)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/pg_controldata)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/droplang)
-	@$(call install_copy, postgresql, 0, 0, 0755, /usr/bin/pg_config)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/postgres)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/postmaster)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/reindexdb)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/pg_isready)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/pg_dump)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/vacuumdb)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/pg_ctl)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/dropuser)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/createdb)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/createuser)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/initdb)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/pg_restore)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/clusterdb)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/pg_recvlogical)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/dropdb)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/ecpg)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/pg_dumpall)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/pg_basebackup)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/psql)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/pg_controldata)
+	@$(call install_copy, postgresql, 0, 0, 0755, -, /usr/bin/pg_config)
 
 #	# This can be further optimized
 	@$(call install_tree, postgresql, 0, 0, -, /usr/lib/postgresql)
-- 
2.25.0.rc1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2020-01-10 15:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20200110155153.4936-1-b.esser@pengutronix.de \
    --to=b.esser@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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