netbase: Disable networkmanager on eth0 for omap-3430ldp

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4844 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-07-16 08:42:36 +00:00
parent 33d99387eb
commit 0ef4807ef8
2 changed files with 11 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \
infrastructure for basic TCP/IP based networking."
SECTION = "base"
LICENSE = "GPL"
PR = "r17"
PR = "r18"
inherit update-rc.d
@@ -37,6 +37,13 @@ do_install () {
install -m 0755 update-inetd ${D}${sbindir}/
install -m 0644 update-inetd.8 ${D}${mandir}/man8/
install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces
# Disable network manager on machines that commonly do NFS booting
if [ "${MACHINE}" = "omap-3430ldp" ]; then
touch ${D}${sysconfdir}/network/nm-disabled-eth0
fi
}
CONFFILES_${PN} = "${sysconfdir}/network/options ${sysconfdir}/hosts ${sysconfdir}/network/interfaces"
PACKAGE_ARCH_omap-3430ldp = "${MACHINE_ARCH}"