<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/archiver.bbclass, branch 1.3_M1</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=1.3_M1</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=1.3_M1'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2012-06-08T10:43:22+00:00</updated>
<entry>
<title>archiver.bbclass: Reduce some duplication for function get_licenses</title>
<updated>2012-06-08T10:43:22+00:00</updated>
<author>
<name>Xiaofeng Yan</name>
<email>xiaofeng.yan@windriver.com</email>
</author>
<published>2012-06-07T23:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9a519998f4e64dc067882c9fcd4416db49fccccd'/>
<id>urn:sha1:9a519998f4e64dc067882c9fcd4416db49fccccd</id>
<content type='text'>
The content to modify this bbclass is as follow:
- Use the existing functions to get license as a directory instead of
  rewriting it for avoiding code duplication.
- Use SPDXLICENSEMAP to map licenses

[YOCTO #2473]

(From OE-Core rev: 31bee6e7b0a23efc1555ab739ef10041803d5bb1)

Signed-off-by: Xiaofeng Yan &lt;xiaofeng.yan@windriver.com&gt;
Signed-off-by: Elizabeth Flanagan &lt;elizabeth.flanagan@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>archiver.bbclass: Improve the usability for the archiver classes</title>
<updated>2012-06-05T21:56:32+00:00</updated>
<author>
<name>Xiaofeng Yan</name>
<email>xiaofeng.yan@windriver.com</email>
</author>
<published>2012-05-30T09:03:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=34f819e22e337c3ad69f72a9bd9c4422d5a61c3a'/>
<id>urn:sha1:34f819e22e337c3ad69f72a9bd9c4422d5a61c3a</id>
<content type='text'>
The usability of the archiver classes can be improved, beyond the
simple addition of default values for the variables. A user could
well inherit just archiver rather than the individual useful classes,
and not realize it will do nothing.

[YOCTO #2472]

(From OE-Core rev: ce91f495e0c4ef3bf53ee8b2ea570061da38e14f)

Signed-off-by: Xiaofeng Yan &lt;xiaofeng.yan@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>meta: replace os.system with subprocess.call</title>
<updated>2012-05-30T11:04:45+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2012-05-29T14:53:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e40995e569289598a1d9d71e19734402f2b54718'/>
<id>urn:sha1:e40995e569289598a1d9d71e19734402f2b54718</id>
<content type='text'>
Replace os.system with subprocess.call since the older function would
fail (more or less) silently if the executed program cannot be found

More info:
http://docs.python.org/library/subprocess.html#subprocess-replacements

[YOCTO #2454]

(From OE-Core rev: a07d03cc6f67c88feb9813ae7deb6e4a93552dfe)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>archiver.bbclass: Add two default set for avoiding error when missing assignment</title>
<updated>2012-05-17T20:13:09+00:00</updated>
<author>
<name>Xiaofeng Yan</name>
<email>xiaofeng.yan@windriver.com</email>
</author>
<published>2012-05-16T08:59:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9477419d52f30796d529347005b724327bdd6e54'/>
<id>urn:sha1:9477419d52f30796d529347005b724327bdd6e54</id>
<content type='text'>
Add two default set(SOURCE_ARCHIVE_LOG_WITH_SCRIPTS, \
SOURCE_ARCHIVE_PACKAGE_TYPE) to archiver.bbclass for avoiding \
building error when forgetting to assign to them.

(From OE-Core rev: 5bda8f33b6763fb519543d0f9e35c970a31d39b8)

Signed-off-by: Xiaofeng Yan &lt;xiaofeng.yan@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>archiver.bbclass: Amend the problem for moving tarballs in ${DL_DIR} to ${DEPLOY_DIR}/source when enable archiver</title>
<updated>2012-04-11T11:08:14+00:00</updated>
<author>
<name>Xiaofeng Yan</name>
<email>xiaofeng.yan@windriver.com</email>
</author>
<published>2012-04-11T06:15:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5fb36b041c612b80cf35d6ecd35bddd1e108a210'/>
<id>urn:sha1:5fb36b041c612b80cf35d6ecd35bddd1e108a210</id>
<content type='text'>
When running "bitbake core-imamge-minmal", the error information like the following  will appear:
ERROR: Error executing a python function in
/buildarea2/yzhao-test/poky-test/meta/recipes-core/zlib/zlib_1.2.6.bb:
IOError: [Errno 2] No such file or directory:
'/buildarea2/yzhao-test/poky-test/build-archive/downloads/zlib-1.2.6.tar.bz2'

An absolute path from variable "file" pointed to tarballs in ${DL_DIR} \
cause this problem. So return base-name of "file" for fixing this bug here.

[YOCTO #2272]

(From OE-Core rev: 40c34087dea6869e5ec9a655980de3c3baa01960)

Signed-off-by: Xiaofeng Yan &lt;xiaofeng.yan@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>archiver.bbclass: enhance code readability</title>
<updated>2012-04-04T16:17:52+00:00</updated>
<author>
<name>Xiaofeng Yan</name>
<email>xiaofeng.yan@windriver.com</email>
</author>
<published>2012-04-01T08:25:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0aaddbc32b7d125ea754aecfd503ce96fe6e1d0b'/>
<id>urn:sha1:0aaddbc32b7d125ea754aecfd503ce96fe6e1d0b</id>
<content type='text'>
The modification is as follow:

- Modify some codes with more preferable readability and vague description.
- Use existed functions instead of custom functions.

(From OE-Core rev: 514319c4a15156cd63a4ac3c6ee903f64c98884e)

Signed-off-by: Xiaofeng Yan &lt;xiaofeng.yan@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>archiver.bbclass:</title>
<updated>2012-03-26T22:13:20+00:00</updated>
<author>
<name>Xiaofeng Yan</name>
<email>xiaofeng.yan@windriver.com</email>
</author>
<published>2012-03-26T10:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6dd4ddf7eacc0b71f046a3086d949830918bc4c3'/>
<id>urn:sha1:6dd4ddf7eacc0b71f046a3086d949830918bc4c3</id>
<content type='text'>
1 Archive sources in ${S} in the different stage
  (do_unpack,do_patch,do_configure).
2 Archive patches including series
3 Archive logs including scripts (.bb and .inc files)
4 dump environment resources which show all variable and functions
  used to xxx.showdata.dump when running a task
5 dump all content in 's' including patches to file xxx.diff.gz

All archiving packages  will be deployed to ${DEPLOY_DIR}/sources/

[YOCTO #1977]

(From OE-Core rev: 2fdc271887db8c0ef0641472d00e850e8b3caa19)

Signed-off-by: Xiaofeng Yan &lt;xiaofeng.yan@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
