Patchwork [18/21,v3] ncurses: Fix problems expanding ncurses-libtinfo when in IMAGE_INSTALL

mail settings
Submitter Mark Hatle
Date May 29, 2013, 11:27 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/50771/
State New
Headers show


Mark Hatle - May 29, 2013, 11:27 p.m.
From: Jason Wessel <>

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

Signed-off-by: Jason Wessel <>
Signed-off-by: Mark Hatle <>
 meta/recipes-core/ncurses/ | 2 ++
 1 file changed, 2 insertions(+)


diff --git a/meta/recipes-core/ncurses/ b/meta/recipes-core/ncurses/
index 8a81381..6907536 100644
--- a/meta/recipes-core/ncurses/
+++ b/meta/recipes-core/ncurses/
@@ -29,6 +29,8 @@  BUILD_CPPFLAGS += "-D_GNU_SOURCE"
 # natives don't generally look in base_libdir
 base_libdir_class-native = "${libdir}"
+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