On Thu, Jul 19, 2018 at 9:25 AM <betacenta...@arcor.de> wrote:
>
> There are several ways to fix it.
>
> 1. Patching Makefiles (see patch in the ticket: 
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=12843)
>
> 2. Add localstatedir = "/"
>
> 3. Adding --localstatedir=${root_prefix} to EXTRA_OECONF
>
> 4. Don't fix it as /var/run should be a link to /run.
>
>
> So what is the preferred solution?
>
>

I think using root_prefix to point to localestatedir might be ok.


> Khem Raj <raj.k...@gmail.com> hat am 5. Juli 2018 um 19:48 geschrieben:
>
>
> On 7/5/18 10:26 AM, Betacentauri wrote:
>
> Since v0.7 avahi uses /run/avahi-daemon/socket.
> libnss searches in $(localstatedir)/run/avahi-daemon/.
> Set localstatedir to / to fix mdns resolving.
> ---
> meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb 
> b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
> index 5be5e4f..d0eb276 100644
> --- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
> +++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
> @@ -17,6 +17,8 @@ SRC_URI[sha256sum] = 
> "1e683c2e7c3921814706d62fbbd3e9cbf493a75fa00255e0e715508d81
>
> S = "${WORKDIR}/nss-mdns-${PV}"
>
> +localstatedir = "/"
> +
>
>
> Adding --localstatedir=${root_prefix} to EXTRA_OECONF perhaps is better
> for description.
>
> inherit autotools
>
> EXTRA_OECONF = "--libdir=${base_libdir} --disable-lynx --enable-avahi"
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to