[oe-commits] [openembedded-core] 20/21: readline: don't install readline C examples
git at git.openembedded.org
git at git.openembedded.org
Fri Jul 29 06:53:22 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 9679817f44a94c47cbfc67ad6bfe8d3282efbe82
Author: André Draszik <git at andred.net>
AuthorDate: 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.
Signed-off-by: André Draszik <git at andred.net>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-core/readline/readline.inc | 2 ++
1 file changed, 2 insertions(+)
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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list