Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCHv2 0/2] Installation of getent, solving bug #7142
@ 2014-08-18  9:54 Thomas Petazzoni
  2014-08-18  9:54 ` [Buildroot] [PATCHv2 1/2] getent: new package Thomas Petazzoni
  2014-08-18  9:54 ` [Buildroot] [PATCHv2 2/2] ecryptfs-utils: add runtime dependency on getent Thomas Petazzoni
  0 siblings, 2 replies; 14+ messages in thread
From: Thomas Petazzoni @ 2014-08-18  9:54 UTC (permalink / raw)
  To: buildroot

Hello,

Here is a second version of the patches to fix bug #7142. As I
proposed, this new version takes a simplified approach: it creates an
autonomous getent package, which simply installs the toolchain's
getent program when the toolchain is glibc based, and otherwise
installed the wrapper script borrowed from uclibc sources. This new
solution avoids doing complicated stuff in the toolchain support, and
completely isolates all the logic in the getent package.

It is functionally identical to the previously proposed solution,
except for internal uClibc toolchains: in the previous solution, the
getent script from the uClibc sources was used, while with this
solution, it's a fixed version inside the getent package that is being
used. However, considering the very simple nature of the script, it's
unlikely to be changed frequently in uClibc sources, so this
difference shouldn't cause much troubles.

Thanks,

Thomas

Thomas Petazzoni (2):
  getent: new package
  ecryptfs-utils: add runtime dependency on getent

 package/Config.in                |  1 +
 package/ecryptfs-utils/Config.in |  2 ++
 package/getent/Config.in         | 10 +++++++++
 package/getent/getent            | 45 ++++++++++++++++++++++++++++++++++++++++
 package/getent/getent.mk         | 26 +++++++++++++++++++++++
 5 files changed, 84 insertions(+)
 create mode 100644 package/getent/Config.in
 create mode 100644 package/getent/getent
 create mode 100644 package/getent/getent.mk

-- 
2.0.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-10-13 16:34 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18  9:54 [Buildroot] [PATCHv2 0/2] Installation of getent, solving bug #7142 Thomas Petazzoni
2014-08-18  9:54 ` [Buildroot] [PATCHv2 1/2] getent: new package Thomas Petazzoni
2014-08-18 11:50   ` Thomas De Schampheleire
2014-08-18 14:52     ` Thomas Petazzoni
2014-08-18 15:07       ` Thomas De Schampheleire
2014-08-18 15:33         ` Thomas Petazzoni
2014-08-18 17:18           ` Thomas De Schampheleire
2014-10-12 15:22   ` Arnout Vandecappelle
2014-10-12 16:32     ` Peter Korsgaard
2014-10-13  9:17     ` Peter Korsgaard
2014-10-13 16:34       ` Arnout Vandecappelle
2014-08-18  9:54 ` [Buildroot] [PATCHv2 2/2] ecryptfs-utils: add runtime dependency on getent Thomas Petazzoni
2014-10-12 15:23   ` Arnout Vandecappelle
2014-10-12 16:32     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox