[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1636/8267] readline: don't install readline C examples



commit 2c358b93859c8f3e9e6a1df5672649374409ad60
Author: André Draszik <git andred net>
Date:   Thu Jul 28 12:56:54 2016 +0100

    readline: don't install readline C examples
    
    They are unlikely to be of any use in the target file system.
    
    (From OE-Core rev: 5889583b3961bf09ae32418777b06db3a02816b1)
    
    Signed-off-by: André Draszik <git andred net>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-core/readline/readline.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc
index 35df8b4..1a0a155 100644
--- a/meta/recipes-core/readline/readline.inc
+++ b/meta/recipes-core/readline/readline.inc
@@ -32,6 +32,8 @@ do_install_append () {
        oe_libinstall -so -C shlib libreadline ${D}${libdir}
 
        rmdir ${D}${bindir}
+       rm -rf ${D}${datadir}/${BPN}/*.c
+       rmdir ${D}${datadir}/${BPN} || true
 
        install -m 0755 -d ${D}${sysconfdir}
        install -m 0644 ${WORKDIR}/inputrc ${D}${sysconfdir}/inputrc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]