[OE-core] [PATCH] archiver.bbclass: Archive the native builds as well

Holger Hans Peter Freyther holger at moiji-mobile.com
Fri Jan 18 14:34:02 UTC 2013


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.
---
 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
-- 
1.7.10.4





More information about the Openembedded-core mailing list