[OE-core] Remove do_install_append() from zsh's recipe

Cody Piersall cody at arrc.ou.edu
Fri Mar 24 14:07:47 UTC 2017


Hello,

The recipe for building zsh includes the following function:

do_install_append () {
    rm -fr ${D}/usr/share
}

For me, this is not a useful function because zsh store lots of nice
functionality in the "/usr/share/zsh/5.0.5/functions" directory.  This
includes things like typing cd <TAB> and autocompleting only for
directories.  I propose that this function be removed from the recipe
(patch below).  If someone needs this functionality, it would be easy
to add to their bbappend file.

Link to zsh recipe:
http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-extended/zsh/zsh_5.0.5.bb?h=master

This patch removes this do_install_append:

diff --git a/meta-oe/recipes-extended/zsh/zsh_5.0.5.bb
b/meta-oe/recipes-extended/zsh/zsh_5.0.5.bb
index 39b2d95..d5bb1b7 100644
--- a/meta-oe/recipes-extended/zsh/zsh_5.0.5.bb
+++ b/meta-oe/recipes-extended/zsh/zsh_5.0.5.bb
@@ -44,10 +44,6 @@ do_configure () {
     oe_runconf
 }

-do_install_append () {
-    rm -fr ${D}/usr/share
-}
-
 pkg_postinst_${PN} () {
     touch $D${sysconfdir}/shells
     grep -q "bin/zsh" $D${sysconfdir}/shells || echo /bin/zsh >>
$D${sysconfdir}/shells

This is my first post to this list, so please feel free to correct me
on any etiquette issues I've messed up.

Thanks,
Cody



More information about the Openembedded-core mailing list