[oe-commits] Richard Purdie : openssh/dropbear: No need for each to PROVIDE ssh/sshd

git version control git at git.openembedded.org
Thu Jul 7 09:52:23 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 84f3ae92ab4345cc99b47e021ff960857f803d45
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=84f3ae92ab4345cc99b47e021ff960857f803d45

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Jul  5 14:33:02 2011 +0100

openssh/dropbear: No need for each to PROVIDE ssh/sshd

Nothing in the system actually uses the PROVIDES field for these
recipes, its usually the runtime packages that are used. We can
therefore remove the PROVIDES and hence quieten the associated
warnings from bitbake.

If these recipes do really need the PROVIDES, they would be better
as virtuals and adding that to MULTI_PROVIDER_WHITELIST.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-connectivity/openssh/openssh_5.8p2.bb |    1 -
 meta/recipes-core/dropbear/dropbear.inc            |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/openssh/openssh_5.8p2.bb b/meta/recipes-connectivity/openssh/openssh_5.8p2.bb
index ec33b29..e23069c 100644
--- a/meta/recipes-connectivity/openssh/openssh_5.8p2.bb
+++ b/meta/recipes-connectivity/openssh/openssh_5.8p2.bb
@@ -12,7 +12,6 @@ PR = "r0"
 DEPENDS = "zlib openssl"
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
-PROVIDES = "ssh sshd"
 RPROVIDES = "ssh sshd"
 
 CONFLICTS_${PN} = "dropbear"
diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc
index c9c41d2..1b51e1a 100644
--- a/meta/recipes-core/dropbear/dropbear.inc
+++ b/meta/recipes-core/dropbear/dropbear.inc
@@ -8,7 +8,6 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3a5b0c2f0d0c49dfde9558ae2036683c"
 
 DEPENDS = "zlib"
-PROVIDES = "ssh sshd"
 RPROVIDES = "ssh sshd"
 
 SRC_URI = "http://matt.ucc.asn.au/dropbear/releases/dropbear-${PV}.tar.gz \





More information about the Openembedded-commits mailing list