[Buildroot] [PATCH] package/nss-myhostname: Add package

Peter Korsgaard peter at korsgaard.com
Fri May 25 21:06:58 UTC 2018


>>>>> "Vincent" == Vincent Prince <vincent.prince.fr at gmail.com> writes:

 > Hi Peter,
 > I'll send V2 on monday with:
 >   - patch split
 >   - DEVELOPERS
 >   - fix indentation
 >   - sha256 sig
 >   - AUTORECONF removed

Great, thanks.

 > nsswitch.conf resolve hosts in entries order, so it is important that it
 > resides after files and before the other entries.

Before the others?

The example on the website and note seems to show it at the very end,
E.G. as a fallback:

http://0pointer.de/lennart/projects/nss-myhostname/

It is recommended to put myhostname last in the nsswitch.conf line to
make sure that this mapping is only used as fallback, and any DNS or
/etc/hosts based mapping takes precedence.

 > Sed command comes from Yocto recipe
 > https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-support/nss-myhostname/nss-myhostname_0.3.bb

Ok, please mention that in the commit message - Thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list