<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/lib/wic/plugins/source/rawcopy.py, branch 2.3_M2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=2.3_M2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=2.3_M2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2016-11-15T15:19:55+00:00</updated>
<entry>
<title>wic: make sure that partition size is always an integer in internal processing</title>
<updated>2016-11-15T15:19:55+00:00</updated>
<author>
<name>Maciej Borzecki</name>
<email>maciej.borzecki@rndity.com</email>
</author>
<published>2016-11-10T12:18:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f0181e79eda9102e11ae1ec3e4939ac5fc02cb13'/>
<id>urn:sha1:f0181e79eda9102e11ae1ec3e4939ac5fc02cb13</id>
<content type='text'>
The size field of Partition class is expected to be an integer and ought
to be set inside prepare_*() method. Make sure that this is always the
case.

(From OE-Core rev: a37838f995ae642b0b8bdd47a605a264fb3bf200)

Signed-off-by: Maciej Borzecki &lt;maciej.borzecki@rndity.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: rawcopy: make source filenames unique</title>
<updated>2016-07-21T06:47:52+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-30T16:29:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2d5b282957680828dab15dc00c33056e6011f4e0'/>
<id>urn:sha1:2d5b282957680828dab15dc00c33056e6011f4e0</id>
<content type='text'>
Rawcopy plugin copies source files to build folder before using them
to assemble result image. After assembling the image wic renames
source files to &lt;image&gt;.p&lt;partition number&gt;. If the same source file
is used in multiple partitions wic breaks trying to rename file that
doesn't exist.

Added &lt;line number&gt; suffix to the files when copying them to the
build dir. This should make filename unique even if the same source
file is used for multiple partitions.

[YOCTO #9826]

(From OE-Core rev: 43a809bfe99024083b4ab4eb9895b084c9c4fa80)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: use sparse_copy to preserve sparseness</title>
<updated>2016-05-06T09:31:13+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-04-28T10:58:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7669219652bcc10fe957114952861d450f825274'/>
<id>urn:sha1:7669219652bcc10fe957114952861d450f825274</id>
<content type='text'>
Used sparse_copy API in favor of dd/cp in rawcopy plugin to
preserve sparseness of the copied raw content.

[YOCTO #9099]

(From OE-Core rev: 04eca59068a79ae6a9969be495c4cdf0c5c3e466)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: rawcopy: Copy source file to build folder</title>
<updated>2016-01-07T13:40:16+00:00</updated>
<author>
<name>Noor Ahsan</name>
<email>noor_ahsan@mentor.com</email>
</author>
<published>2015-12-23T13:50:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a3e26f9a7a90e69cf7912911f7e7434a17cdbf4c'/>
<id>urn:sha1:a3e26f9a7a90e69cf7912911f7e7434a17cdbf4c</id>
<content type='text'>
When a file is given using --sourceparams then wic directly use that file
instead of copying them to build folder. At time of assembling it os.rename
is called which renames all the files to name. In that process the original
file is renamed. When image recipe is rebuilt then wic complains about
missing file which was renamed in previous build.

[YOCTO #8854]

(From OE-Core rev: 33c52b1f2d39feb641465bf42e8b16d0ab22a316)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: code cleanup: superfluous-parens</title>
<updated>2015-06-23T10:47:36+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2015-06-17T11:47:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a4da21d92f461e85e90a866f4a1da34ba1c9551a'/>
<id>urn:sha1:a4da21d92f461e85e90a866f4a1da34ba1c9551a</id>
<content type='text'>
Removed unncecessary parents after 'if' 'del' and 'print' keywords.
Fixed pyling warning: Unnecessary parens after 'xxx' keyword

(From OE-Core rev: a64604d11f75973b4c2347fa2669da9889e44013)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: Add missing docstrings to plugin classes</title>
<updated>2015-06-23T10:47:33+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2015-06-17T08:53:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cfe64126c8d9afce907e51093e33c9805fa71b25'/>
<id>urn:sha1:cfe64126c8d9afce907e51093e33c9805fa71b25</id>
<content type='text'>
Docstings from plugin classes are used as part of
output of 'wic help plugins'. Adding them makes help page
more informative.

(From OE-Core rev: d4414b45c81ab539f75a7bb16fc6412c30dfc45f)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: Code cleanup: bad-classmethod-argument</title>
<updated>2015-06-23T10:47:32+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2015-06-17T11:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=553f3322650235ff267627504bd49c3d04c1f39c'/>
<id>urn:sha1:553f3322650235ff267627504bd49c3d04c1f39c</id>
<content type='text'>
Fixed wrong name for the first argument in class methods.
Pylint complains about the issue this way:
    Class method should have 'cls' as first argument

(From OE-Core rev: cd7c72d6d5a5110173d0d3f60f2991b1dc30fc26)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: code cleanup: wildcard imports</title>
<updated>2015-04-24T10:06:55+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2015-04-15T20:47:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f2a0a985236af116a84cc62a4f7e1d4707aea6e9'/>
<id>urn:sha1:f2a0a985236af116a84cc62a4f7e1d4707aea6e9</id>
<content type='text'>
Here is what PEP8(Style Guide for Python Code) says about this:

Wildcard imports (from &lt;module&gt; import *) should be avoided, as they
make it unclear which names are present in the namespace, confusing
both readers and many automated tools.

(From OE-Core rev: 13416c1941f5dc8abcdb0073f2104a89eae2d6f1)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: rawcopy: ensure comparison is done on int</title>
<updated>2015-04-09T06:43:52+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2015-04-07T10:21:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8bf5afb118e837aa7f7b2108e52a6b98a8c349b5'/>
<id>urn:sha1:8bf5afb118e837aa7f7b2108e52a6b98a8c349b5</id>
<content type='text'>
The size comparison may fail because it is done on strings rather than
integers.

(From OE-Core rev: 2ef885329cfd0351f551a33dcf3f42e25f38dea7)

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wic: code cleanup: unused imports</title>
<updated>2015-04-09T06:43:52+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2015-04-07T11:51:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=dd6a1525ec378d29ddfbcba05267aa6f2da0ddad'/>
<id>urn:sha1:dd6a1525ec378d29ddfbcba05267aa6f2da0ddad</id>
<content type='text'>
Fixed pylint warning 'Unused import'

(From OE-Core rev: dfde8bdae3ae151ffed5777b920d24c774e5da2c)

Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
