From: Kevin Strasser <kevin.strasser@linux.intel.com>
To: Mats Liljegren <mats.liljegren@enea.com>
Cc: yocto@yoctoproject.org
Subject: Re: How to archive source for a single package
Date: Fri, 12 Apr 2013 12:15:07 -0700 [thread overview]
Message-ID: <20130412191507.GA32099@wrk> (raw)
In-Reply-To: <CA+xJJ19kDS-444AsV1esV_QRbqf+GRwsVgf+E498CQVNxxYAGA@mail.gmail.com>
Hi Mats,
On Fri, Apr 12, 2013 at 03:58:01PM +0200, Mats Liljegren wrote:
> I need to archive source for virtual/kernel when building. This is needed
> for other builds that uses the bitbake build result.
>
> I saw that there is archive-patched-source class, which seems to do what I
> want plus a lot more. The problem with it is that it seems to be intended
> for other use case than mine, which means that it does a lot more work than
> I need.
>
The archive-*-source classes are primarily intended to assist in
providing materials for license compliance for the entire target
image. That being said, it shouldn't be too difficult to apply them
to a single package.
> Is there a way to either tame archive-patched-source to only be applicable
> for virtual/kernel, or is there other ways of accomplishing what I want?
>
I assume you have a line in your local.conf that looks something like:
INHERIT += "archive-patched-source"
This means that the class will be inherited at the global level and
therefor applied to all packages. It's perfectly reasonable to inherit
the class in any specific package, by adding this line to its recipe:
inherit archive-patched-source
I hope this gives you what you're looking for. Take a look at the
Yocto Project dev manual[1] for further information on the source
archiver.
-Kevin
[1] http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#maintaining-open-source-license-compliance-during-your-products-lifecycle
> Regards
> Mats
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
next prev parent reply other threads:[~2013-04-12 19:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-12 13:58 How to archive source for a single package Mats Liljegren
2013-04-12 19:15 ` Kevin Strasser [this message]
2013-04-15 7:39 ` Mats Liljegren
2013-04-16 1:47 ` Kevin Strasser
2013-04-16 6:41 ` Mats Liljegren
2013-04-16 8:59 ` Mats Liljegren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130412191507.GA32099@wrk \
--to=kevin.strasser@linux.intel.com \
--cc=mats.liljegren@enea.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.