mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Grzeschik <m.grzeschik@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v4 1/2] glibc: add option to install getent on target
Date: Fri, 31 Aug 2018 15:25:12 +0200	[thread overview]
Message-ID: <20180831132513.15962-2-m.grzeschik@pengutronix.de> (raw)
In-Reply-To: <20180831132513.15962-1-m.grzeschik@pengutronix.de>

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 rules/glibc.in   | 7 +++++++
 rules/glibc.make | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/rules/glibc.in b/rules/glibc.in
index bd0f1db91..d64a35475 100644
--- a/rules/glibc.in
+++ b/rules/glibc.in
@@ -178,6 +178,13 @@ config GLIBC_NSL
 	  nis(+)
 
 
+config GLIBC_GETENT
+	bool
+	prompt "Install getent"
+	help
+	  getent is a tool to get entries from Name Service Switch
+	  libraries
+
 config GLIBC_LDCONFIG
 	bool
 	prompt "Install ldconfig"
diff --git a/rules/glibc.make b/rules/glibc.make
index c4de24ab1..51a932ffb 100644
--- a/rules/glibc.make
+++ b/rules/glibc.make
@@ -130,6 +130,10 @@ ifdef PTXCONF_GLIBC_GCONV_ZH
 	@$(call install_copy_toolchain_lib, glibc, gconv/GB18030.so)
 endif
 
+ifdef PTXCONF_GLIBC_GETENT
+	@$(call install_copy_toolchain_usr, glibc, bin/getent)
+endif
+
 ifdef PTXCONF_GLIBC_LDCONFIG
 	@$(call install_copy, glibc, 0, 0, 0755, \
 	    $(PTXDIST_SYSROOT_TOOLCHAIN)/sbin/ldconfig, /usr/sbin/ldconfig)
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-08-31 13:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-31 13:25 [ptxdist] [PATCH v4 0/2] lxc: add support in ptxdist Michael Grzeschik
2018-08-31 13:25 ` Michael Grzeschik [this message]
2018-08-31 13:25 ` [ptxdist] [PATCH v4 2/2] lxc: add new package Michael Grzeschik

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=20180831132513.15962-2-m.grzeschik@pengutronix.de \
    --to=m.grzeschik@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