[OE-core] [PATCH 2/3] systemd: spin libnss_myhostname to package of its own

Khem Raj raj.khem at gmail.com
Mon Mar 11 23:01:17 UTC 2013


On Mar 11, 2013, at 7:02 AM, Koen Kooi <koen at dominion.thruhere.net> wrote:

>> python populate_packages_prepend (){
>> -    systemdlibdir = d.getVar("base_libdir", True)
>> +    systemdbaselibdir = d.getVar("base_libdir", True)
>> +    do_split_packages(d, systemdbaselibdir, '^lib(.*)\.so\.*', 'lib%s', 'Systemd %s library', extra_depends='', allow_links=True)
>> +    systemdlibdir = d.getVar("libdir", True)
> 
> libnss-myhostname is not a systemd library, but a plugin for the nameservice switcher, it is the proper way to get localhost to resolve so you don't need to hack netbase like this:http://git.linaro.org/gitweb?p=openembedded/meta-linaro.git;a=commitdiff;h=d1fe025991f73b1cdc53d18af8afdf6d650b3b14
> 

True yes. I was lazy and saw that same mechanism from packaging pov could be used.
main intent was to package it as a separate package. I can redo it to package it differently
to make the semantics of plugins Vs. core lib clear.

> 
> 





More information about the Openembedded-core mailing list