Skip to contentSkip to conversation

netbase: remove networkmanager handling for qemu machines

PATCH In review Martin Jansa 2 participants 4 messages Jul 17, 2012 – Jul 18, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 netbase: remove networkmanager handling for qemu machines

* see http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018279.html thread

---
 meta/recipes-core/netbase/netbase_5.0.bb |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
meta/recipes-core/netbase/netbase_5.0.bb +0 -9
index 3aea874..7c609af 100644
@@ -34,15 +34,6 @@ do_install () {
 	install -m 0644 etc-services ${D}${sysconfdir}/services
 	install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces
 	install -m 0755 ${WORKDIR}/nfsroot ${D}${sysconfdir}/network/if-pre-up.d
-
-	# Disable network manager on machines that commonly do NFS booting
-	case "${MACHINE}" in
-		"qemuarm*" | "qemux86" | "qemux86-64" | "qemumips*" | "qemuppc" | "qemush*")
-			touch ${D}${sysconfdir}/network/nm-disabled-eth0
-			;;
-		*)
-			;;
-	esac
 }
 
 CONFFILES_${PN} = "${sysconfdir}/hosts ${sysconfdir}/network/interfaces"
Signature · 1 line
1.7.8.6
#1 lore raw
Quoted 1 line · Martin Jansa

* see http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018279.html thread

Sorry this was sent by accident..

Quoted 29 lines
---
 meta/recipes-core/netbase/netbase_5.0.bb |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
meta/recipes-core/netbase/netbase_5.0.bb +0 -9
index 3aea874..7c609af 100644
@@ -34,15 +34,6 @@ do_install () {
 	install -m 0644 etc-services ${D}${sysconfdir}/services
 	install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces
 	install -m 0755 ${WORKDIR}/nfsroot ${D}${sysconfdir}/network/if-pre-up.d
-
-	# Disable network manager on machines that commonly do NFS booting
-	case "${MACHINE}" in
-		"qemuarm*" | "qemux86" | "qemux86-64" | "qemumips*" | "qemuppc" | "qemush*")
-			touch ${D}${sysconfdir}/network/nm-disabled-eth0
-			;;
-		*)
-			;;
-	esac
 }
 
 CONFFILES_${PN} = "${sysconfdir}/hosts ${sysconfdir}/network/interfaces"
Signature · 1 line
1.7.8.6
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 4 lines · Martin Jansa
Quoted 1 line · Martin Jansa

* see http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018279.html thread

Sorry this was sent by accident..

I'm confused, the comment or the whole patch was by accident?

Cheers,

Richard

Quoted 34 lines
Quoted 29 lines
---
 meta/recipes-core/netbase/netbase_5.0.bb |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
meta/recipes-core/netbase/netbase_5.0.bb +0 -9
index 3aea874..7c609af 100644
@@ -34,15 +34,6 @@ do_install () {
 	install -m 0644 etc-services ${D}${sysconfdir}/services
 	install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces
 	install -m 0755 ${WORKDIR}/nfsroot ${D}${sysconfdir}/network/if-pre-up.d
-
-	# Disable network manager on machines that commonly do NFS booting
-	case "${MACHINE}" in
-		"qemuarm*" | "qemux86" | "qemux86-64" | "qemumips*" | "qemuppc" | "qemush*")
-			touch ${D}${sysconfdir}/network/nm-disabled-eth0
-			;;
-		*)
-			;;
-	esac
 }
 
 CONFFILES_${PN} = "${sysconfdir}/hosts ${sysconfdir}/network/interfaces"
Signature · 1 line
1.7.8.6

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 7 lines · Richard Purdie
Quoted 4 lines · Martin Jansa
Quoted 1 line · Martin Jansa

* see http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/018279.html thread

Sorry this was sent by accident..

I'm confused, the comment or the whole patch was by accident?

Whole patch, I've sent this patch a while ago (probably in that 2012-February) to make netbase not MACHINE specific from sstate POV and it was refused.. so I've kept it in my branch since then and now accientaly used git send-email -2 instead of -1..

Cheers,

Quoted 46 lines

Cheers,

Richard

Quoted 25 lines
Quoted 25 lines
---
 meta/recipes-core/netbase/netbase_5.0.bb |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
meta/recipes-core/netbase/netbase_5.0.bb +0 -9
index 3aea874..7c609af 100644
@@ -34,15 +34,6 @@ do_install () {
 	install -m 0644 etc-services ${D}${sysconfdir}/services
 	install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces
 	install -m 0755 ${WORKDIR}/nfsroot ${D}${sysconfdir}/network/if-pre-up.d
-
-	# Disable network manager on machines that commonly do NFS booting
-	case "${MACHINE}" in
-		"qemuarm*" | "qemux86" | "qemux86-64" | "qemumips*" | "qemuppc" | "qemush*")
-			touch ${D}${sysconfdir}/network/nm-disabled-eth0
-			;;
-		*)
-			;;
-	esac
 }
 
Quoted 9 lines
Quoted 4 lines
meta/recipes-core/netbase/netbase_5.0.bb +0 -0
 CONFFILES_${PN} = "${sysconfdir}/hosts ${sysconfdir}/network/interfaces"
Signature · 1 line
1.7.8.6

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]