1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

netbase: Disable networkmanager control of eth0 on omap sdp/ldp boards

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4872 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-07-18 10:01:03 +00:00
parent ba2831f50b
commit 2d39cfb103
+10 -4
View File
@@ -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 = "r18" PR = "r20"
inherit update-rc.d inherit update-rc.d
@@ -39,11 +39,17 @@ do_install () {
install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces
# Disable network manager on machines that commonly do NFS booting # Disable network manager on machines that commonly do NFS booting
if [ "${MACHINE}" = "omap-3430ldp" ]; then case "${MACHINE}" in
touch ${D}${sysconfdir}/network/nm-disabled-eth0 "omap-3430sdp" | "omap-3430ldp" | "omap-2430sdp")
fi touch ${D}${sysconfdir}/network/nm-disabled-eth0
;;
*)
;;
esac
} }
CONFFILES_${PN} = "${sysconfdir}/network/options ${sysconfdir}/hosts ${sysconfdir}/network/interfaces" CONFFILES_${PN} = "${sysconfdir}/network/options ${sysconfdir}/hosts ${sysconfdir}/network/interfaces"
PACKAGE_ARCH_omap-3430sdp = "${MACHINE_ARCH}"
PACKAGE_ARCH_omap-3430ldp = "${MACHINE_ARCH}" PACKAGE_ARCH_omap-3430ldp = "${MACHINE_ARCH}"
PACKAGE_ARCH_omap-2430sdp = "${MACHINE_ARCH}"