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

Lauren Post lauren.post at freescale.com
Thu Jul 16 12:23:03 PDT 2015


Signed-off-by: Lauren Post <lauren.post at freescale.com>
---
 recipes-connectivity/connman/connman_%.bbappend |    7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 recipes-connectivity/connman/connman_%.bbappend

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
+}
-- 
1.7.9.5



More information about the meta-freescale mailing list