[OE-core] [PATCH] vim: Rework things so vim adds features not vim-tiny removes

Tom Rini trini at konsulko.com
Sun May 19 00:13:28 UTC 2019


On Sat, May 18, 2019 at 03:03:27PM -0400, Tom Rini wrote:
> On Sat, May 18, 2019 at 08:57:02PM +0200, Martin Jansa wrote:
> > Thanks Tom for quick update.
> > 
> > ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
> > ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
> > looks strange, IIRC TARGET and LINK_NAME should always point to different
> > filepath, it was added in meta-oe commit:
> > 
> > commit 897c10b7c17c138a85bdeb36cf72e7201daf0e0e
> > Author: Dan McGregor <dan.mcgregor at usask.ca>
> > Date:   Thu Oct 18 09:46:27 2018 -0600
> > 
> >     vim: alternatify xxd
> > 
> >     toybox also provides xxd.
> > 
> > but I wonder what u-a does (or is supposed to do in this scenario). Maybe
> > u-a bbclass automatically adds .${BPN} suffix to TARGET and renames the
> > installed file?
> 
> I'll double check, but also toybox doesn't have anything for xxd today,
> so I'll add that into my build and come up with something sane for both
> if needed, thanks!

OK, so busybox, toybox and vim all provide "xxd" and busybox/toybox
setup u-a with their normal method.  With what vim has (today and also
with this patch) we end up with /usr/bin/xxd.vim, which is what we want.
I inspected the ipk for that, and then putting all 3 in
core-image-minimal looks sane too.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190518/a9350658/attachment.sig>


More information about the Openembedded-core mailing list