Patchwork [meta-fsl-ppc,3/5] init-ifupdown: use customized interfaces for qoriq-ppc

login
register
mail settings
Submitter Ting Liu
Date July 22, 2014, 10:32 a.m.
Message ID <1406025138-11195-3-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/76349/
State Accepted
Headers show

Comments

Ting Liu - July 22, 2014, 10:32 a.m.
From: Ting Liu <b28495@freescale.com>

the file is same with the one for qemuarm in poky/meta/, only
define loopback interface.

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 .../init-ifupdown/qoriq-ppc/interfaces             |    6 ++++++
 .../init-ifupdown/init-ifupdown_%.bbappend         |    2 ++
 2 files changed, 8 insertions(+), 0 deletions(-)
 create mode 100644 recipes-core/init-ifupdown/init-ifupdown/qoriq-ppc/interfaces
 create mode 100644 recipes-core/init-ifupdown/init-ifupdown_%.bbappend

Patch

diff --git a/recipes-core/init-ifupdown/init-ifupdown/qoriq-ppc/interfaces b/recipes-core/init-ifupdown/init-ifupdown/qoriq-ppc/interfaces
new file mode 100644
index 0000000..3737c8b
--- /dev/null
+++ b/recipes-core/init-ifupdown/init-ifupdown/qoriq-ppc/interfaces
@@ -0,0 +1,6 @@ 
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
diff --git a/recipes-core/init-ifupdown/init-ifupdown_%.bbappend b/recipes-core/init-ifupdown/init-ifupdown_%.bbappend
new file mode 100644
index 0000000..0005787
--- /dev/null
+++ b/recipes-core/init-ifupdown/init-ifupdown_%.bbappend
@@ -0,0 +1,2 @@ 
+FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
+