Bug 9245 - archiver class writes incorrect tar files for recipes fetched by git
Summary: archiver class writes incorrect tar files for recipes fetched by git
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: deployment (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.1 M4
Assignee: Mariano Lopez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-03-11 17:44 UTC by Mariano Lopez
Modified: 2016-03-25 17:09 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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