[yocto] Force recipe to provide specific file

Anders Darander anders at chargestorm.se
Fri Aug 22 02:07:41 PDT 2014


* Richard Leitner <richard.leitner at skidata.com> [140812 15:53]:
> > but anyways, a simpler way to so the same thing would be do have a
> > do_install_append() function and remove the files from ${D}. that
> > would in turns have the same effect as what you are trying to do here
> > i believe.

> Yeah, this works, this is the way I'm currently doing it as I already mentioned
> earlier.
> But is this really a clean way?

It's a pretty clean way, yes.

> What happens for example if do_install_append is already defined in the recipe?


No issue at all. The do_install_append's will just be appended one after
each other.

Cheers,
Anders

-- 
Anders Darander
ChargeStorm AB / eStorm AB



More information about the yocto mailing list