Bug 9245

Summary: archiver class writes incorrect tar files for recipes fetched by git
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mariano Lopez <mariano.lopez>
Component: deploymentAssignee: Mariano Lopez <mariano.lopez>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium    
Version: 2.0   
Target Milestone: 2.1 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mariano Lopez 2016-03-11 17:44:46 UTC
The archiver class when writes the original source code it names the file incorrectly for recipes fetching the source from git. An example is linux-yocto recipe, name file written by the archiver is:  "git.yoctoproject.org.linux-yocto-4.4.git.89419d8b90_dadb436904.tar.gz"; the "git.yoctoproject.org" must not be in the name.
Comment 1 Mariano Lopez 2016-03-16 17:14:13 UTC
There are other errors in the archiver class. I will work on those too.
Comment 2 Mariano Lopez 2016-03-22 22:15:16 UTC
I found 3 other errors in the archiver class:

- In do_unpack_and_patch task the outdir was used as workdir
- Task do_ar_configured failed for gcc-source
- do_dumpdata task expanded python function in the datastore

Sent patches for all the four errors to the mailing list:

http://lists.openembedded.org/pipermail/openembedded-core/2016-March/119372.html