From: Phil Blundell Date: Mon, 15 Jun 2009 08:19:40 +0000 (+0100) Subject: netbase: don't ship update-inetd if not doing online package management X-Git-Tag: Release-2010-05/1~3154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87a447e42bb298e96cb3b10ced23d944454870a0;p=openembedded.git netbase: don't ship update-inetd if not doing online package management --- diff --git a/recipes/netbase/netbase_4.21.bb b/recipes/netbase/netbase_4.21.bb index 4dfc18223a..c0c97b73bf 100644 --- a/recipes/netbase/netbase_4.21.bb +++ b/recipes/netbase/netbase_4.21.bb @@ -2,7 +2,7 @@ DESCRIPTION = "This package provides the necessary \ infrastructure for basic TCP/IP based networking." SECTION = "base" LICENSE = "GPL" -PR = "r35" +PR = "r36" inherit update-rc.d @@ -51,8 +51,10 @@ do_install () { install -m 0644 etc-rpc ${D}${sysconfdir}/rpc install -m 0644 etc-protocols ${D}${sysconfdir}/protocols install -m 0644 etc-services ${D}${sysconfdir}/services + if [ "${ONLINE_PACKAGE_MANAGEMENT}" != "none" ]; then install -m 0755 update-inetd ${D}${sbindir}/ install -m 0644 update-inetd.8 ${D}${mandir}/man8/ + fi install -m 0644 ${WORKDIR}/interfaces ${D}${sysconfdir}/network/interfaces }