From: yahiafarghaly <yahiafargh...@gmail.com>

When using 'apt-key add' on the target image, the gnupg is required
but for gnupg to be fully functional, the coreutils is required to be exist 
with the gnupg.
Otherwise, it may throw an error in runtime as one of components of coreutils 
is missing.
For 'apt-key add', i faced the error of 'comm: command not found' so as proper 
solution, i submit this change.

Signed-off-by: yahiafarghaly <yahiafargh...@gmail.com>
---
 meta/recipes-support/gnupg/gnupg_2.2.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/gnupg/gnupg_2.2.0.bb 
b/meta/recipes-support/gnupg/gnupg_2.2.0.bb
index 0176ddd..8aa0951 100644
--- a/meta/recipes-support/gnupg/gnupg_2.2.0.bb
+++ b/meta/recipes-support/gnupg/gnupg_2.2.0.bb
@@ -44,3 +44,5 @@ do_install_append() {
 PACKAGECONFIG ??= "gnutls"
 PACKAGECONFIG[gnutls] = "--enable-gnutls, --disable-gnutls, gnutls"
 PACKAGECONFIG[sqlite3] = "--enable-sqlite, --disable-sqlite, sqlite3"
+
+RDEPENDS_${PN} = "coreutils"
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to