| Summary: | archiver.bbclass: fails for linux--yocto when archiving patched source | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Patrick Ohly <patrick.ohly> |
| Component: | core | Assignee: | Ross Burton <ross.burton> |
| Status: | VERIFIED FIXED | QA Contact: | Cristina Agurida <cristina-danielax.agurida> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | cristina-danielax.agurida, meta.mr.watcher, meta.watcher |
| Version: | 1.8 | ||
| Target Milestone: | 2.1 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Patrick Ohly
2015-07-06 12:27:54 UTC
There's actually a related problem which probably has the same root cause: when using ARCHIVER_MODE[src] = "original", the archive contains just git meta data, but no actual source code - not what is expected and needed from a GPL license perspective. $ tar ztvf tmp-glibc/deploy/sources/i586-iotos-linux/linux-yocto-3.19.5+gitAUTOINC+118f27167f_e152349de5-r0/git.yoctoproject.org.linux-yocto-3.19.git.118f27167f_e152349de5.tar.gz drwx------ pohly/pohly 0 2015-07-09 17:08 ./ drwxr-xr-x pohly/pohly 0 2015-07-09 17:08 ./git/ -rw-r--r-- pohly/pohly 44227 2015-07-09 17:08 ./git/packed-refs -rwxr--r-- pohly/pohly 219 2015-07-09 17:08 ./git/config drwxr-xr-x pohly/pohly 0 2015-07-09 17:08 ./git/hooks/ -rwxr-xr-x pohly/pohly 1352 2015-07-09 17:08 ./git/hooks/pre-push.sample -rwxr-xr-x pohly/pohly 189 2015-07-09 17:08 ./git/hooks/post-update.sample -rwxr-xr-x pohly/pohly 3611 2015-07-09 17:08 ./git/hooks/update.sample -rwxr-xr-x pohly/pohly 1642 2015-07-09 17:08 ./git/hooks/pre-commit.sample -rwxr-xr-x pohly/pohly 452 2015-07-09 17:08 ./git/hooks/applypatch-msg.sample -rwxr-xr-x pohly/pohly 398 2015-07-09 17:08 ./git/hooks/pre-applypatch.sample -rwxr-xr-x pohly/pohly 896 2015-07-09 17:08 ./git/hooks/commit-msg.sample -rwxr-xr-x pohly/pohly 4898 2015-07-09 17:08 ./git/hooks/pre-rebase.sample -rwxr-xr-x pohly/pohly 1239 2015-07-09 17:08 ./git/hooks/prepare-commit-msg.sample drwxr-xr-x pohly/pohly 0 2015-07-09 17:08 ./git/info/ -rw-r--r-- pohly/pohly 240 2015-07-09 17:08 ./git/info/exclude drwxr-xr-x pohly/pohly 0 2015-07-09 17:08 ./git/objects/ drwxr-xr-x pohly/pohly 0 2015-07-09 17:08 ./git/objects/info/ -rw-r--r-- pohly/pohly 97 2015-07-09 17:08 ./git/objects/info/alternates drwxr-xr-x pohly/pohly 0 2015-07-09 17:08 ./git/objects/pack/ drwxr-xr-x pohly/pohly 0 2015-07-09 17:08 ./git/branches/ -rw-r--r-- pohly/pohly 73 2015-07-09 17:08 ./git/description drwxr-xr-x pohly/pohly 0 2015-07-09 17:08 ./git/refs/ drwxr-xr-x pohly/pohly 0 2015-07-09 17:08 ./git/refs/heads/ drwxr-xr-x pohly/pohly 0 2015-07-09 17:08 ./git/refs/tags/ -rw-r--r-- pohly/pohly 23 2015-07-09 17:08 ./git/HEAD There's been a number of changes to the archive in the 2.1 cycle, is this still a problem? Seems to work now. Verified on master: d2c96caa40d6979792b7b73f37e81e2bc67f6735 |