From 87a447e42bb298e96cb3b10ced23d944454870a0 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Mon, 15 Jun 2009 09:19:40 +0100 Subject: [PATCH] netbase: don't ship update-inetd if not doing online package management --- recipes/netbase/netbase_4.21.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } -- 2.39.5