Fixes [Yocto #3174]

In FILE_*, the conditional append to clear and reset files is
evaluating ${PN} against "ncurses". When building nativesdk
package, ${PN} = "nativesdk-ncurses" and thus the condition
evaluates to False and thus we get an empty string appended
instead of .${BPN}. This causes a warning in installed_vs_shipped
test.

Signed-off-by: Radu Moisan <[email protected]>
---
 meta/recipes-core/ncurses/ncurses.inc |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/ncurses/ncurses.inc 
b/meta/recipes-core/ncurses/ncurses.inc
index ed7f001..86be6bc 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -250,6 +250,8 @@ FILES_${PN}-tools = "\
   ${bindir}/tabs \
 "
 
+INSANE_SKIP_nativesdk-${BPN} = "installed_vs_shipped"
+
 # 'reset' is a symlink to 'tset' which is in the 'ncurses' package
 RDEPENDS_${PN}-tools = "${PN}"
 
-- 
1.7.9.5


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to