[oe-commits] Phil Blundell : netbase: don' t ship update-inetd if not doing online package management

git version control git at git.openembedded.org
Mon Jun 15 08:20:33 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 87a447e42bb298e96cb3b10ced23d944454870a0
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=87a447e42bb298e96cb3b10ced23d944454870a0

Author: Phil Blundell <philb at gnu.org>
Date:   Mon Jun 15 09:19:40 2009 +0100

netbase: don't ship update-inetd if not doing online package management

---

 recipes/netbase/netbase_4.21.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/netbase/netbase_4.21.bb b/recipes/netbase/netbase_4.21.bb
index 4dfc182..c0c97b7 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
 }
 





More information about the Openembedded-commits mailing list