[OE-core] [PATCH] archiver.bbclass: Archive the native builds as well
Saul Wold
sgw at linux.intel.com
Fri Jan 18 18:25:43 UTC 2013
On 01/18/2013 06:34 AM, Holger Hans Peter Freyther wrote:
> On my build no copy of gcc/opkg-utils was archived. For gcc it is
> bad as libgcc will end up in the image and the sources should be
> provided. Update the method and comment to not exclude the native
> version of the build.
I understand what the issue is here, but I am not sure this is the right
solution. This will likely bring in way more than is wanted or needed
for source archiving.
What's needed from the opkg-utils-native?
Sau!
> ---
> meta/classes/archiver.bbclass | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
> index a4a2158..516f947 100644
> --- a/meta/classes/archiver.bbclass
> +++ b/meta/classes/archiver.bbclass
> @@ -187,11 +187,11 @@ def get_applying_patches(d):
>
> def not_tarball(d):
> """
> - packages including key words 'work-shared', 'native', 'packagegroup-' will be passed
> + packages including key words 'work-shared', 'packagegroup-' will be passed
> """
> workdir = d.getVar('WORKDIR', True)
> s = d.getVar('S', True)
> - if 'work-shared' in s or 'packagegroup-' in workdir or 'native' in workdir:
> + if 'work-shared' in s or 'packagegroup-' in workdir:
> return True
> else:
> return False
>
More information about the Openembedded-core
mailing list