[OE-core] [PATCH 4/8] ncurses: fix install error

Scott Garman scott.a.garman at intel.com
Thu Mar 15 02:51:02 UTC 2012


On 03/14/2012 07:02 PM, nitin.a.kamble at intel.com wrote:
> From: Nitin A Kamble<nitin.a.kamble at intel.com>
>
> Fix this issue:
> | rm: cannot remove `/srv/home/nitin/builds/build-multilib/tmp/work/x86_64-poky-linux/ncurses-5.9-r6.1/image/usr/lib64/terminfo': No such file or directory
> NOTE: package ncurses-5.9-r6.1: task do_install: Failed
>
> PR not bumped as there is no change in the packages output.
>
> Signed-off-by: Nitin A Kamble<nitin.a.kamble at intel.com>

Thank you for catching this.

Acked-by: Scott Garman <scott.a.garman at intel.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 3319949..4d64f5e 100644
> --- a/meta/recipes-core/ncurses/ncurses.inc
> +++ b/meta/recipes-core/ncurses/ncurses.inc
> @@ -151,7 +151,7 @@ shell_do_install() {
>                   ln -sf xterm-color ${D}${sysconfdir}/terminfo/x/xterm
>           fi
>
> -        rm ${D}${libdir}/terminfo
> +        rm -f ${D}${libdir}/terminfo
>
>           if [ "${PN}" = "ncurses" ]; then
>                   mv ${D}${bindir}/clear ${D}${bindir}/clear.${PN}


-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center




More information about the Openembedded-core mailing list