]> code.ossystems Code Review - openembedded-core.git/commit
systemd: add myhostname to nsswitch.conf
authorChristopher Larson <chris_larson@mentor.com>
Wed, 4 Nov 2015 20:57:45 +0000 (13:57 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Jan 2016 23:23:15 +0000 (23:23 +0000)
commit1fb3e1a4bbf36a5b46d126a478d42d0b94f43182
tree04fad28cb124ccc91f4c6947b2eaa13a4213dba5
parent0afb74e23ee9a1fcdd334865a5f7280526785a4c
systemd: add myhostname to nsswitch.conf

We don't need nss-myhostname on systemd systems, because systemd already
provides myhostname, but we weren't configuring nsswitch to use it. Being able
to resolve the hostname is useful for a number of different applications, so
enable it using the same postinst/prerm bits which are in nss-myhostname.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/systemd/systemd_228.bb