| Submitter | Robert Yang |
|---|---|
| Date | Oct. 23, 2012, 1:12 p.m. |
| Message ID | <de1bae26d8fc791feee90a783897231c8c6df227.1350996778.git.liezhi.yang@windriver.com> |
| Download | mbox | patch |
| Permalink | /patch/38461/ |
| State | Accepted |
| Commit | a4a9d2acb60ef4ec9ae8d2ad3ca222e99fb6e986 |
| Headers | show |
Comments
Patch
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index ed7f001..cce080d 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc SECTION = "libs" DEPENDS = "ncurses-native" DEPENDS_virtclass-native = "" -INC_PR = "r11" +INC_PR = "r12" inherit autotools binconfig multilib_header @@ -218,7 +218,7 @@ inherit update-alternatives ALTERNATIVE_PRIORITY = "100" -ALTERNATIVE_ncurses-tools = "clear reset" +ALTERNATIVE_ncurses-tools_class-target = "clear reset" BBCLASSEXTEND = "native nativesdk"
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. [YOCTO #3325] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> --- meta/recipes-core/ncurses/ncurses.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)