Patchwork [09/14] netbase: Add interface files for qemumips64 and qemush4

login
register
mail settings
Submitter Khem Raj
Date May 21, 2012, 3:35 a.m.
Message ID <1e7406e4f2f93b6b4fa75716c4e901a96206be69.1337570904.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/28037/
State Accepted
Commit 1e7406e4f2f93b6b4fa75716c4e901a96206be69
Headers show

Comments

Khem Raj - May 21, 2012, 3:35 a.m.
These files are alike other qemu machines they
help in creating a working network interface when
using qemumips64 or qemush4

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../netbase/netbase-4.47/qemumips64/interfaces     |    8 ++++++++
 .../netbase/netbase-4.47/qemush4/interfaces        |    8 ++++++++
 meta/recipes-core/netbase/netbase_4.47.bb          |    4 ++--
 3 files changed, 18 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-core/netbase/netbase-4.47/qemumips64/interfaces
 create mode 100644 meta/recipes-core/netbase/netbase-4.47/qemush4/interfaces

Patch

diff --git a/meta/recipes-core/netbase/netbase-4.47/qemumips64/interfaces b/meta/recipes-core/netbase/netbase-4.47/qemumips64/interfaces
new file mode 100644
index 0000000..f62b9a8
--- /dev/null
+++ b/meta/recipes-core/netbase/netbase-4.47/qemumips64/interfaces
@@ -0,0 +1,8 @@ 
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+
+
diff --git a/meta/recipes-core/netbase/netbase-4.47/qemush4/interfaces b/meta/recipes-core/netbase/netbase-4.47/qemush4/interfaces
new file mode 100644
index 0000000..f62b9a8
--- /dev/null
+++ b/meta/recipes-core/netbase/netbase-4.47/qemush4/interfaces
@@ -0,0 +1,8 @@ 
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+
+
diff --git a/meta/recipes-core/netbase/netbase_4.47.bb b/meta/recipes-core/netbase/netbase_4.47.bb
index a1462f8..1c85997 100644
--- a/meta/recipes-core/netbase/netbase_4.47.bb
+++ b/meta/recipes-core/netbase/netbase_4.47.bb
@@ -4,7 +4,7 @@  HOMEPAGE = "http://packages.debian.org/netbase"
 SECTION = "base"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab"
-PR = "r1"
+PR = "r2"
 
 inherit update-rc.d
 
@@ -37,7 +37,7 @@  do_install () {
 
 	# Disable network manager on machines that commonly do NFS booting
 	case "${MACHINE}" in
-		"qemuarm" | "qemux86" | "qemux86-64" | "qemumips" | "qemuppc" )
+		"qemuarm*" | "qemux86" | "qemux86-64" | "qemumips*" | "qemuppc" | "qemush*")
 			touch ${D}${sysconfdir}/network/nm-disabled-eth0
 			;;
 		*)