diff options
| author | Dongxiao Xu <dongxiao.xu@intel.com> | 2010-12-28 08:13:11 +0800 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-30 12:06:53 +0000 |
| commit | cf359fbe02d33d46a3cb1da7067d30765b0dda3b (patch) | |
| tree | d4bf813eed68b18efd203390f4e05a669f0061ba /meta/recipes-core/netbase/netbase_4.44.bb | |
| parent | 675541b646d6c5cf2164fbf3f11d4220beef6093 (diff) | |
| download | poky-cf359fbe02d33d46a3cb1da7067d30765b0dda3b.tar.gz | |
netbase: upgrade to version 4.44
upgrade from 0.43 to 0.44
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-core/netbase/netbase_4.44.bb')
| -rw-r--r-- | meta/recipes-core/netbase/netbase_4.44.bb | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/meta/recipes-core/netbase/netbase_4.44.bb b/meta/recipes-core/netbase/netbase_4.44.bb new file mode 100644 index 0000000000..dbb7e83d20 --- /dev/null +++ b/meta/recipes-core/netbase/netbase_4.44.bb | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | SUMMARY = "Basic TCP/IP networking support" | ||
| 2 | DESCRIPTION = "This package provides the necessary infrastructure for basic TCP/IP based networking" | ||
| 3 | HOMEPAGE = "http://packages.debian.org/netbase" | ||
| 4 | SECTION = "base" | ||
| 5 | LICENSE = "GPLv2" | ||
| 6 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab" | ||
| 7 | PR = "r0" | ||
| 8 | |||
| 9 | inherit update-rc.d | ||
| 10 | |||
| 11 | INITSCRIPT_NAME = "networking" | ||
| 12 | INITSCRIPT_PARAMS = "start 40 S . stop 40 0 6 1 ." | ||
| 13 | # On MNCI etc, start very late so that our own apps come up faster | ||
| 14 | INITSCRIPT_PARAMS_openmn = "start 85 1 2 3 4 5 . stop 85 0 6 1 ." | ||
| 15 | # On SlugOS (NSLU2) delay the stop until after network apps have exited | ||
| 16 | # Do not stop in single user - there's no way to sulogin! | ||
| 17 | INITSCRIPT_PARAMS_slugos = "start 42 S 0 6 ." | ||
| 18 | |||
| 19 | SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \ | ||
| 20 | file://init \ | ||
| 21 | file://hosts \ | ||
| 22 | file://interfaces \ | ||
| 23 | file://nfsroot" | ||
| 24 | |||
| 25 | do_install () { | ||
| 26 | install -d ${D}${sysconfdir}/init.d \ | ||
| 27 | ${D}${sbindir} \ | ||
| 28 | ${D}${mandir}/man8 \ | ||
| 29 | ${D}${sysconfdir}/network/if-pre-up.d \ | ||
| 30 | ${D}${sysconfdir}/network/if-up.d \ | ||
| 31 | ${D}${sysconfdir}/network/if-down.d \ | ||
| 32 | ${D}${sysconfdir}/network/if-post-down.d | ||
| 33 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/networking | ||
| 34 | install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}/hosts | ||
| 35 | install -m 0644 etc-rpc ${D}${sysconfdir}/rpc | ||
| 36 | install -m 0644 etc-protocols ${D}${sysconfdir}/protocols | ||
| 37 | install -m 0644 etc-services ${D}${sysconfdir}/services | ||
| 38 | install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces | ||
| 39 | install -m 0755 ${WORKDIR}/nfsroot ${D}${sysconfdir}/network/if-pre-up.d | ||
| 40 | |||
| 41 | # Disable network manager on machines that commonly do NFS booting | ||
| 42 | case "${MACHINE}" in | ||
| 43 | "omap-3430sdp" | "omap-3430ldp" | "omap-2430sdp" | "qemuarm" | "qemux86" | "qemux86-64" ) | ||
| 44 | touch ${D}${sysconfdir}/network/nm-disabled-eth0 | ||
| 45 | ;; | ||
| 46 | *) | ||
| 47 | ;; | ||
| 48 | esac | ||
| 49 | } | ||
| 50 | |||
| 51 | CONFFILES_${PN} = "${sysconfdir}/hosts ${sysconfdir}/network/interfaces" | ||
| 52 | |||
| 53 | PACKAGE_ARCH_omap-3430sdp = "${MACHINE_ARCH}" | ||
| 54 | PACKAGE_ARCH_omap-3430ldp = "${MACHINE_ARCH}" | ||
| 55 | PACKAGE_ARCH_omap-2430sdp = "${MACHINE_ARCH}" | ||
| 56 | PACKAGE_ARCH_qemuarm = "${MACHINE_ARCH}" | ||
| 57 | PACKAGE_ARCH_qemux86 = "${MACHINE_ARCH}" | ||
| 58 | PACKAGE_ARCH_qemux86-64 = "${MACHINE_ARCH}" | ||
| 59 | |||
| 60 | SRC_URI[md5sum] = "a8d0bfed8a67273a276fc792524bc103" | ||
| 61 | SRC_URI[sha256sum] = "eb2d4db2e3ec20eeea1e22962bce46f9651bf63e8add2ba6d4e996f0befb2823" | ||
