summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2012-05-24 00:50:29 (GMT)
committerDarren Hart <dvhart@linux.intel.com>2012-05-25 22:08:18 (GMT)
commitcaa0042ec0042bb4d4f48ac2a4722af9e52469c1 (patch)
treead46e9e86e5d80890df909571a02e26d5ddd5dd2
parentf64ab3a8c976b379195b459ca8e4c9e8ab440bd6 (diff)
downloadmeta-intel-caa0042ec0042bb4d4f48ac2a4722af9e52469c1.tar.gz
fri2: netbase: Add an fri2 specific /etc/network/interfaces file
The default interfaces file sets usb0 up as static inet. As the FRI2 is more likely to use the usb0 interface for a cellular modem, this is inappropriate. Drop usb0 from /etc/network/interfaces entirely and rely on ofono to set it up. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
-rw-r--r--meta-fri2/netbase/files/fri2-noemgd/interfaces9
-rw-r--r--meta-fri2/netbase/files/fri2/interfaces9
-rw-r--r--meta-fri2/netbase/netbase_4.47.bbappend2
3 files changed, 20 insertions, 0 deletions
diff --git a/meta-fri2/netbase/files/fri2-noemgd/interfaces b/meta-fri2/netbase/files/fri2-noemgd/interfaces
new file mode 100644
index 0000000..f5bb946
--- /dev/null
+++ b/meta-fri2/netbase/files/fri2-noemgd/interfaces
@@ -0,0 +1,9 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Wired or wireless interfaces
8auto eth0
9iface eth0 inet dhcp
diff --git a/meta-fri2/netbase/files/fri2/interfaces b/meta-fri2/netbase/files/fri2/interfaces
new file mode 100644
index 0000000..f5bb946
--- /dev/null
+++ b/meta-fri2/netbase/files/fri2/interfaces
@@ -0,0 +1,9 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Wired or wireless interfaces
8auto eth0
9iface eth0 inet dhcp
diff --git a/meta-fri2/netbase/netbase_4.47.bbappend b/meta-fri2/netbase/netbase_4.47.bbappend
new file mode 100644
index 0000000..5816c33
--- /dev/null
+++ b/meta-fri2/netbase/netbase_4.47.bbappend
@@ -0,0 +1,2 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
2PRINC := "${@int(PRINC) + 1}"