[oe-commits] Jason Wessel : ncurses: Fix problems expanding ncurses-libtinfo when in IMAGE_INSTALL

git at git.openembedded.org git at git.openembedded.org
Fri May 31 09:06:29 UTC 2013


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

Author: Jason Wessel <jason.wessel at windriver.com>
Date:   Tue Apr 23 15:26:12 2013 +0000

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 at windriver.com>
Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/ncurses/ncurses.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index bcb9c94..2ed1bba 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



More information about the Openembedded-commits mailing list