On 03/24/2017 03:53 PM, Robert P. J. Day wrote:
On Fri, 24 Mar 2017, Cody Piersall wrote:
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.it might be worth asking why zsh is doing that in the first place. if one doesn't want all that stuff, *that* is where an append could be used to remove it. i think zsh removing it by default is inappropriate.
That's right; it's better to fix the original recipe and send the patch so it can be included in meta-oe. What is written in recipes is not some kind of Universal Truth; if you see how things could be done better, go ahead and do it.
Alex -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
