nss-mdns: unbreak after e1eba3d97 (system/skeleton: make nsswitch install conditional)
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 31 Oct 2014 10:31:05 +0000 (11:31 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 31 Oct 2014 10:31:05 +0000 (11:31 +0100)
commitc7c0ca288dc8bf758c4324e23fc5853192d23d7a
tree2c722d5a57e7f49b2a26039010a877158cfe7df6
parent6b4833e6f6f70244a44c25f0bd833f18038a35ed
nss-mdns: unbreak after e1eba3d97 (system/skeleton: make nsswitch install conditional)

Fixes http://autobuild.buildroot.net/results/481/4819cacd4b7015ef2bfaaf1b3fc9ba33f9194315/

After commit e1eba3d97, the skeleton no longer has a /etc/nsswitch.conf by
the time nss-mdns gets built, so the sed invocation fails.

Work around it by installing the glibc one early if not already available
in the skeleton.

If we want to do further modification of nsswitch.conf in the future (for
E.G.  samba), then we should probably introduce some hooks to
GLIBC_COPY_NSSWITCH_FILE instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/nss-mdns/nss-mdns.mk