[oe-commits] Hongxu Jia : nativesdk-ncurses 5.9: fix files were installed but not shipped

git at git.openembedded.org git at git.openembedded.org
Tue Apr 23 12:00:32 UTC 2013


Module: openembedded-core.git
Branch: danny
Commit: 595ce662fc4f705393205f8b17adfceb2d2df187
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=595ce662fc4f705393205f8b17adfceb2d2df187

Author: Hongxu Jia <hongxu.jia at windriver.com>
Date:   Mon Mar 11 14:52:32 2013 +0800

nativesdk-ncurses 5.9: fix files were installed but not shipped

There is an warning:

$ bitbake nativesdk-ncurses

WARNING: QA Issue: nativesdk-ncurses: Files/directories were installed
but not shipped
  /opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/clear.ncurses
  /opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/reset.ncurses

NOTE: Tasks Summary: Attempted 533 tasks of which 521 didn't need to be
rerun and all succeeded.

And there is no clear or reset tool in the SDK.

This is caused by:
ALTERNATIVE_ncurses-tools = "clear reset"

It creates clear.ncurses and reset.ncurses which are used for avoiding
the conflicts with the target busybox, but SDK doesn't need them since
there is no nativesdk-busybox (then no conflicts), so:

ALTERNATIVE_ncurses-tools_class-target = "clear reset"

will fix the problem.

Cherry-pick commit dfc39d7bd5a9ad803d7c44b21811881515f7de02

[YOCTO #3325]

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>

---

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

diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index e4832f5..f9f1202 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -244,7 +244,7 @@ inherit update-alternatives
 
 ALTERNATIVE_PRIORITY = "100"
 
-ALTERNATIVE_ncurses-tools = "clear reset"
+ALTERNATIVE_ncurses-tools_class-target = "clear reset"
 
 BBCLASSEXTEND = "native nativesdk"
 





More information about the Openembedded-commits mailing list