mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
netbase: Disable networkmanager for eth0 on qemux86/qemuarm
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5308 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \
|
|||||||
infrastructure for basic TCP/IP based networking."
|
infrastructure for basic TCP/IP based networking."
|
||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
PR = "r22"
|
PR = "r23"
|
||||||
|
|
||||||
inherit update-rc.d
|
inherit update-rc.d
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ do_install () {
|
|||||||
|
|
||||||
# Disable network manager on machines that commonly do NFS booting
|
# Disable network manager on machines that commonly do NFS booting
|
||||||
case "${MACHINE}" in
|
case "${MACHINE}" in
|
||||||
"omap-3430sdp" | "omap-3430ldp" | "omap-2430sdp")
|
"omap-3430sdp" | "omap-3430ldp" | "omap-2430sdp" | "qemuarm" | "qemux86" )
|
||||||
touch ${D}${sysconfdir}/network/nm-disabled-eth0
|
touch ${D}${sysconfdir}/network/nm-disabled-eth0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@@ -51,3 +51,5 @@ CONFFILES_${PN} = "${sysconfdir}/hosts ${sysconfdir}/network/interfaces"
|
|||||||
PACKAGE_ARCH_omap-3430sdp = "${MACHINE_ARCH}"
|
PACKAGE_ARCH_omap-3430sdp = "${MACHINE_ARCH}"
|
||||||
PACKAGE_ARCH_omap-3430ldp = "${MACHINE_ARCH}"
|
PACKAGE_ARCH_omap-3430ldp = "${MACHINE_ARCH}"
|
||||||
PACKAGE_ARCH_omap-2430sdp = "${MACHINE_ARCH}"
|
PACKAGE_ARCH_omap-2430sdp = "${MACHINE_ARCH}"
|
||||||
|
PACKAGE_ARCH_qemuarm = "${MACHINE_ARCH}"
|
||||||
|
PACKAGE_ARCH_qemux86 = "${MACHINE_ARCH}"
|
||||||
|
|||||||
Reference in New Issue
Block a user