summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2013-04-23 15:26:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-30 20:55:59 +0100
commit67dd4e31272918e08b65b5c8d5d6b00e814dbf7f (patch)
tree4d6da86dd93d338cb17199fbb1802a1481946f0a
parentb8bf6cc43dd08fcc7394053b31f03d5312ed239c (diff)
downloadopenembedded-core-67dd4e31272918e08b65b5c8d5d6b00e814dbf7f.tar.gz
openembedded-core-67dd4e31272918e08b65b5c8d5d6b00e814dbf7f.tar.bz2
openembedded-core-67dd4e31272918e08b65b5c8d5d6b00e814dbf7f.zip
ncurses: Fix problems expanding ncurses-libtinfo when in IMAGE_INSTALL
The ncurses package was generating the following error as a result of not specifing the PACKAGES_DYNAMIC correctly. This error only appear when using the IMAGE_INSTALL list that has been expanded by the hob or from the pkgdata. ERROR: Nothing RPROVIDES 'ncurses-libtinfo' The dynamic packages are named using "${PN}-lib%s". So we check for ${PN}-lib* Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index bcb9c94395..2ed1bba53e 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -42,6 +42,8 @@ EXCONFIG_ARGS_virtclass-nativesdk = " \
--with-chtype='long' \
--with-mmask-t='long'"
+PACKAGES_DYNAMIC = "^${PN}-lib.*"
+
# Fall back to the host termcap / terminfo for -nativesdk and -native
# The reality is a work around for strange problems with things like
# "bitbake -c menuconfig busybox" where it cannot find the terminfo