[yocto] How to archive source for a single package

Mats Liljegren liljegren.mats2 at gmail.com
Tue Apr 16 01:59:57 PDT 2013


On Tue, Apr 16, 2013 at 3:47 AM, Kevin Strasser
<kevin.strasser at linux.intel.com> wrote:
> On Mon, Apr 15, 2013 at 09:39:48AM +0200, Mats Liljegren wrote:
>> I tried that but got the error shown below. This made me believe that
>> archive-patched-source wasn't built for being included from a recipe:
>
> Sorry, I had assumed you weren't using code that was any newer than
> danny release. Lately we have been working on adding sstate support to
> the various archive-*-source classes, so they are a bit more
> complicated than they used to be.
>
> I think your best bet is to inherit directly from archiver.bbclass and
> manually add the archive task in your kernel recipe.
> For example:
>
>   inherit archiver
>   do_patch[postfuncs] += "do_archive_patched_sources "
>
> Let me know if this does the trick.
>
> -Kevin

I replied using Outlook since this is what my company dictates, big mistake...

So I'll try Gmail instead:

Yes, that did the trick. Thanks!

/Mats



More information about the yocto mailing list