<div dir="ltr">Kindly ignore the above patch. It was sent by mistake :( Sorry for trouble.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 4, 2014 at 7:24 PM, Sujith H <span dir="ltr"><<a href="mailto:sujith.h@gmail.com" target="_blank">sujith.h@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">From: Sujith H <<a href="mailto:Sujith_Haridasan@mentor.com">Sujith_Haridasan@mentor.com</a>><br>
<br>
If hostname is not added to /etc/hosts file then rpcinfo<br>
command fails when hostname is passed as argument. This was<br>
observed when rpcinfo command was tested on freescale target.<br>
Below was the output observed without this change.<br>
<br>
root@mx6q:~# rpcinfo -s mx6q<br>
rpcinfo: can't contact rpcbind: RPC: (unknown error code)<br>
<br>
Below is the output after this change:<br>
root@mx6q:~# rpcinfo -s mx6q<br>
program version(s) netid(s) service owner<br>
100000 2,3,4 local,udp,tcp,udp6,tcp6 portmapper superuser<br>
root@mx6q:~#<br>
<br>
</div>Signed-off-by: Sujith H <<a href="mailto:Sujith_Haridasan@mentor.com">Sujith_Haridasan@mentor.com</a>><br>
<div class="im HOEnZb">---<br>
meta/recipes-core/netbase/<a href="http://netbase_5.2.bb" target="_blank">netbase_5.2.bb</a> | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/meta/recipes-core/netbase/<a href="http://netbase_5.2.bb" target="_blank">netbase_5.2.bb</a> b/meta/recipes-core/netbase/<a href="http://netbase_5.2.bb" target="_blank">netbase_5.2.bb</a><br>
index ab7ae65..a6fb010 100644<br>
--- a/meta/recipes-core/netbase/<a href="http://netbase_5.2.bb" target="_blank">netbase_5.2.bb</a><br>
+++ b/meta/recipes-core/netbase/<a href="http://netbase_5.2.bb" target="_blank">netbase_5.2.bb</a><br>
@@ -18,6 +18,7 @@ do_install () {<br>
install -m 0644 etc-rpc ${D}${sysconfdir}/rpc<br>
install -m 0644 etc-protocols ${D}${sysconfdir}/protocols<br>
install -m 0644 etc-services ${D}${sysconfdir}/services<br>
</div><div class="im HOEnZb">+ echo 127.0.1.1 " "${MACHINE} >> ${D}${sysconfdir}/hosts<br>
}<br>
<br>
</div><div class="HOEnZb"><div class="h5"> CONFFILES_${PN} = "${sysconfdir}/hosts"<br>
--<br>
1.8.4<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>സുജിത് ഹരിദാസന്<br>Bangalore<br><Project>Contributor to KDE project<br><a href="http://fci.wikia.com/wiki/Anti-DRM-Campaign" target="_blank">http://fci.wikia.com/wiki/Anti-DRM-Campaign</a><br>
<Blog> <a href="http://sujithh.info" target="_blank">http://sujithh.info</a><br>
</div>