On 3/28/17 11:19 AM, Lennart Sorensen wrote: > On Tue, Mar 28, 2017 at 10:27:15AM -0700, Khem Raj wrote: >> On Thu, Mar 23, 2017 at 3:28 PM, Cody Piersall <c...@arrc.ou.edu> wrote: >>> Hello, >>> >>> 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. >>> >> >> if its in a bbappend, there is not much you can do about undoing it except >> to not apply the bbappend or modify it directly. >> >> So you can send a patch to meta-oe to convince that its a good idea to keep >> /usr/share for zsh, or you can carry a local patch to meta-oe where you undo >> it > > Perhaps instead of deleting it, it should be put in another package that > people can choose to install if they want it. Deleting it certainly > does seem rather unfortunate if someone actulally wanted it. >
We put common stuff in commonly used layers. Secondly, a patch to package the content of /usr/share into a package of its own something like zsh-misc might be OK and we don't have to delete it and keep both camps happy.
signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto