<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/lib/bsp, branch uninative-1.4</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=uninative-1.4</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=uninative-1.4'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2016-08-18T08:27:54+00:00</updated>
<entry>
<title>yocto-bsp/yocto-kernel: update to work with the latest kern-tools</title>
<updated>2016-08-18T08:27:54+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2016-08-15T18:27:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3be73dcd7ac9342ad104e6af6c434f6563862053'/>
<id>urn:sha1:3be73dcd7ac9342ad104e6af6c434f6563862053</id>
<content type='text'>
With some recent changes in the kern tools, we can drop some changes in
the yocto-bsp and yocto-kernel tools that ensured proper patching and
BSP inheritance.

In particular, we no longer need to signify the start of patching, and
we must instruct the tools that we only want configuration fragments
via inheritance .. no patches (since they are already applied).

(From meta-yocto rev: 34ed5eebd0b5baab98b6b2d7b3f06ca40932b37d)

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.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>scripts/lib/bsp/help.py: Changed help of yocto-bsp to match latest syntax</title>
<updated>2016-07-07T12:38:13+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-07-04T20:33:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4e889c04ba518dac492c193224a790a877f43f40'/>
<id>urn:sha1:4e889c04ba518dac492c193224a790a877f43f40</id>
<content type='text'>
With the changes to migrate from optparse to argparse there was a syntax change that needs an update in the help. This is basically just the change of 'properties' and 'property' from positional arguments to options. This patch makes the required changes.

[YOCTO #8321]

(From meta-yocto rev: b171379b5ca54d55ea763421794a651e71bbda91)

Signed-off-by: Humberto Ibarra &lt;humberto.ibarra.lopez@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>yocto-bsp: Refactor script to use argparse instead of optparse</title>
<updated>2016-07-07T12:38:13+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-07-04T20:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=479d15b32691def9de4f4d792ee077168b956635'/>
<id>urn:sha1:479d15b32691def9de4f4d792ee077168b956635</id>
<content type='text'>
Optparse is deprecated and should be avoided. The arparse library is better suited and has more tools to handling the parsing of arguments. This patch makes necessary changes to migrate to the better library and uses arparse subcommand feature to improve organization of this script.

[YOCTO #8321]

(From meta-yocto rev: 3f45993b96d4d960da0efe8672dc323c9db091a2)

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>scripts/lib/bsp/engine.py: Add error message for wrong input file</title>
<updated>2016-07-07T12:38:13+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-07-04T19:54:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4252ec78a491f2828fb39d2087ace6e4c1339414'/>
<id>urn:sha1:4252ec78a491f2828fb39d2087ace6e4c1339414</id>
<content type='text'>
Format of properties file is expected to be a simple json detailing properties, if this format fails an exception is thrown. This patch adds a graceful error message to the case when the properties file has a wrong format.

[YOCTO #9750]

(From meta-yocto rev: 7e543aa19d0d4b2112e6316783fb31b76df3493e)

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>scripts/lib/bsp/help.py: Fixed pager for yocto-bsp help</title>
<updated>2016-07-07T12:38:13+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-07-02T18:17:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=71bc7fd8ce9ba4db13ca82f56ff7d8ab8b2a279f'/>
<id>urn:sha1:71bc7fd8ce9ba4db13ca82f56ff7d8ab8b2a279f</id>
<content type='text'>
Python3 requires strings to be encoded as bytes before sending them through a subprocess pipe. The help.py file is not considering this and fails when issuing paged help commands. This patch adds this encoding to solve the problem.

[YOCTO #9868]

(From meta-yocto rev: 35b487a47f0cbb99fdee2ec9cc8b56b814c8860e)

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>scripts/lib/bsp/engine.py: Added missing parentheses to string formatting</title>
<updated>2016-06-12T22:47:19+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-06-09T17:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a1a0ce1a0064e29159555011ebd667192132e0ce'/>
<id>urn:sha1:a1a0ce1a0064e29159555011ebd667192132e0ce</id>
<content type='text'>
Commit ab75075e7941c8c2ec429c180976702cd311c978 broke the string formatting
for multiple arguments. Since parentheses were removed the formatting considers
only first argument instead of all of them. Fixed parentheses on the formatting.

[YOCTO #9723]

(From meta-yocto rev: d6d641d5b4bb0c8b9acd5cd1341a4a3214bff086)

Signed-off-by: Humberto Ibarra &lt;humberto.ibarra.lopez@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>scripts/lib/bsp/kernel.py: python3: use explicit relative imports</title>
<updated>2016-06-12T22:47:19+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-06-09T17:07:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7fc6c4581476699243c1e1fa4d7fcee26385b642'/>
<id>urn:sha1:7fc6c4581476699243c1e1fa4d7fcee26385b642</id>
<content type='text'>
Have to convert implicit relative imports to explicit imports since
implicit relative imports are not supported on python3.

[YOCTO #9723]

(From meta-yocto rev: 89cecc603d229768428f3cb68d21235dee80efda)

Signed-off-by: Humberto Ibarra &lt;humberto.ibarra.lopez@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>scripts/lib/bsp/engine.py: Rename raw_input commands to input</title>
<updated>2016-06-12T22:47:19+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-06-09T17:07:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=dd20de9c3e70628612db1ebab36bf25fa5d80779'/>
<id>urn:sha1:dd20de9c3e70628612db1ebab36bf25fa5d80779</id>
<content type='text'>
According to https://docs.python.org/3/whatsnew/3.0.html python3
renamed 'raw_input' to 'input'. Making the appropiate changes for
this.

[YOCTO #9723]

(From meta-yocto rev: 76efeeeac7fb30b44ee7057b3b3d1fd84329dae1)

Signed-off-by: Humberto Ibarra &lt;humberto.ibarra.lopez@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>scripts/lib/bsp/engine.py: Added missing keyword to fix syntax error</title>
<updated>2016-06-07T14:16:02+00:00</updated>
<author>
<name>Humberto Ibarra</name>
<email>humberto.ibarra.lopez@intel.com</email>
</author>
<published>2016-06-06T17:33:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c2dbcbbac48127cd014592443a6ac6062c95566f'/>
<id>urn:sha1:c2dbcbbac48127cd014592443a6ac6062c95566f</id>
<content type='text'>
Commit af9f6b88fcc5d7fddff01595f9bcf2aba548720 introduced a syntax
error in engine.py by removing keyword "in". This patch adds it back.

[Yocto #9719]

(From meta-yocto rev: 49f02f3344617f8b077edf61e8f5ead05e8405eb)

Signed-off-by: Humberto Ibarra &lt;humberto.ibarra.lopez@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts: python3: decode subprocess output</title>
<updated>2016-06-03T12:13:31+00:00</updated>
<author>
<name>Ed Bartosh</name>
<email>ed.bartosh@linux.intel.com</email>
</author>
<published>2016-06-02T10:13:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3e309e0aad0628abdfb42ab1e63bad194aefa1cc'/>
<id>urn:sha1:3e309e0aad0628abdfb42ab1e63bad194aefa1cc</id>
<content type='text'>
stdeout and stderr content returned by subprocess API has different
types in Python 3(bytes) and Python 2(string). Decoding it to
'utf-8' makes it unicode on both pythons.

(From meta-yocto rev: 1de9d0b4ad289c56907d082748cdc0111988cb4f)

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>
