On 03/14/2012 07:02 PM, [email protected] wrote:
From: Nitin A Kamble<[email protected]>

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<[email protected]>

Thank you for catching this.

Acked-by: Scott Garman <[email protected]>

---
  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

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

Reply via email to