[oe-commits] [openembedded-core] 02/05: ncurses: fix do_install failure when base_libdir has more than one level

git at git.openembedded.org git at git.openembedded.org
Wed May 23 16:44:40 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch rocko
in repository openembedded-core.

commit f7538ee974d5bb07be193a3c8e31a05087bcc990
Author: Koen Kooi <koen at dominion.thruhere.net>
AuthorDate: Fri Mar 9 10:53:09 2018 +0100

    ncurses: fix do_install failure when base_libdir has more than one level
    
    Other sections of the .inc already use mkdir -p, so use it here as well.
    
    (From OE-Core rev: 62434e5021b99391a0c129a40bf943465a19e7ce)
    
    Signed-off-by: Koen Kooi <koen.kooi at linaro.org>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-core/ncurses/ncurses.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 8a9d65b..5bd5c0e 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -227,7 +227,7 @@ do_install() {
         if [ ! -d "${D}${base_libdir}" ]; then
             # Setting base_libdir to libdir as is done in the -native
             # case will skip this code
-            mkdir ${D}${base_libdir}
+            mkdir -p ${D}${base_libdir}
             mv ${D}${libdir}/libncurses.so.* ${D}${base_libdir}
             ! ${ENABLE_WIDEC} || \
                 mv ${D}${libdir}/libncursesw.so.* ${D}${base_libdir}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list