[OE-core] [meta-freescale] [meta-fsl-arm][PATCH v2 30/32] conman: Add configuration to fix ethernet port with NFS

Otavio Salvador otavio.salvador at ossystems.com.br
Thu Jul 16 20:44:42 UTC 2015


Hello Lauren,

On Thu, Jul 16, 2015 at 4:23 PM, Lauren Post <lauren.post at freescale.com> wrote:
> Signed-off-by: Lauren Post <lauren.post at freescale.com>
...
> diff --git a/recipes-connectivity/connman/connman_%.bbappend b/recipes-connectivity/connman/connman_%.bbappend
> new file mode 100644
> index 0000000..1090214
> --- /dev/null
> +++ b/recipes-connectivity/connman/connman_%.bbappend
> @@ -0,0 +1,7 @@
> +
> +do_install_append() {
> +     # This patch will fix to the issue that 2 Ethernet port board failed to mount nfs rootfs
> +    if [ -e ${D}${sysconfdir}/init.d/connman ]; then
> +        sed -e 's/ifconfig | grep \"^eth\" | sed -e \"s\//dmesg | grep \"device=eth\" | sed -e \"s\/^.*/' -i ${D}${sysconfdir}/init.d/connman
> +    fi
> +}

This is a very ugly hack and I think we need to address this in a generic way.

I am adding OE-Core in copy so we can try to come up with a generic
solution for this.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list