On 24 March 2017 at 13:49, Cody Piersall <c...@arrc.ou.edu> wrote:

> I am building zsh from meta-oe layer, and it has a do_install_append()
> function defined like this:
>
> do_install_append () {
>     rm -fr ${D}/usr/share
> }
>
> which gets rid of lots lots of useful functionality, like
> context-aware autocompletion.  Can a bbappend file get rid of that
> function, or do I need to edit the actual recipe? I've attempted
> defining an empty do_install_append() { : } but it didn't work.
>

Fixing the zsh recipe to have either separate packages or PACKAGECONFIGs
for the useful stuff would be the proper solution, but a really nasty hack
that might work is:

do_install_remove = "rm -rf ${D}/usr/share"

Ross
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to