<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake, branch yocto-2.4.4</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-2.4.4</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-2.4.4'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2018-08-29T14:23:58+00:00</updated>
<entry>
<title>bitbake: checksum: sanity check path when recursively checksumming</title>
<updated>2018-08-29T14:23:58+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2018-08-13T18:02:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=61da85778ab84493b3b275df7a75637cdaef76eb'/>
<id>urn:sha1:61da85778ab84493b3b275df7a75637cdaef76eb</id>
<content type='text'>
In case something goes tragically wrong, catch a request to checksum / and
refuse.

(Bitbake rev: 8bd16328a9332c57b03198826e22b48fadcd21d9)

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>bitbake: utils/md5_file: don't iterate line-by-line</title>
<updated>2018-08-29T14:23:58+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2018-08-13T18:02:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1b966ffd5fcfdc8e0fd1ed622b71016e732ee7e6'/>
<id>urn:sha1:1b966ffd5fcfdc8e0fd1ed622b71016e732ee7e6</id>
<content type='text'>
Opening a file in binary mode and iterating it seems like the simple solution
but will still break on newlines, which for binary files isn't really useful as
the size of the chunks could be huge or tiny.

Instead, let's be a bit more clever: we'll be MD5ing lots of files, but we don't
want to fill up memory: use mmap() to open the file and read the file in 8k
blocks.

(Bitbake rev: f3f28ec7e6cad5003014462feeb9178496107e08)

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>bitbake: tests/fetch: Update gnome.org urls after upstream changes</title>
<updated>2018-08-29T09:44:21+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2018-08-28T16:26:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f7a8c088ae1db6c2ebaa5e0aa4c7c8ed352bb045'/>
<id>urn:sha1:f7a8c088ae1db6c2ebaa5e0aa4c7c8ed352bb045</id>
<content type='text'>
(Bitbake rev: cdda992d4eedcf8e23b9a7222c16d49dee1586bd)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/__init__: Disable pseudo in runfetchcmd()</title>
<updated>2018-07-02T10:56:01+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2014-02-20T14:55:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9589076fed41fe9c5749445e9210406fea362277'/>
<id>urn:sha1:9589076fed41fe9c5749445e9210406fea362277</id>
<content type='text'>
If a fetcher, e.g., git, is run when pseudo is active it will think it
is running as root. If it in turn uses ssh (as git does), ssh too will
think it is running as root. This will cause it to try to read root's
ssh configuration from /root/.ssh which will fail. If ssh then needs to
ask for credentials it will hang indefinitely as there is nowhere for it
to ask the user for them (and even if there was it would not access the
correct private keys).

The solution to the above is to temporarily disable pseudo while
executing any fetcher commands. There should be no reason for them to be
executed under pseudo anyway so this should not be a problem.

RP Ammendum:

We finally did get more information about how to reproduce this problem,
something needs to trigger bb.fetch2.get_srcrev() in a pseudo context,
for example when AUTOREV is in use or the recipe doesn't have a defined
SRCREV. That SRC_URI needs to be using protocol=ssh. This would trigger
an ls-remote of the remote repo and if that happens under pseudo, the
wrong ssh credentials may be attempted which can hang.

[YOCTO #12464]

(Bitbake rev: d0fb46eead1f23356d8c3bd53a85047521ef29a7)

Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: fix import error for Python 3.6.5</title>
<updated>2018-07-02T10:44:00+00:00</updated>
<author>
<name>Tzu Hsiang Lin</name>
<email>t9360341@ntut.org.tw</email>
</author>
<published>2018-05-21T17:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=63a68b093e865dd2f39d3f798a246aef400d9d63'/>
<id>urn:sha1:63a68b093e865dd2f39d3f798a246aef400d9d63</id>
<content type='text'>
When running bitbake command with Python 3.6.5 always result in
import error causing by the change of distutils module.
This patch replaces the method to search executable in PATH by
"/usr/bin/env &lt;command&gt;".

(Bitbake rev: e4fcf4d9cef6816afac9eebb8d57c82cd1ceb293)

Signed-off-by: Tzu Hsiang Lin &lt;t9360341@ntut.org.tw&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: do not fail on optional 'custom.xml' file</title>
<updated>2018-05-29T10:41:57+00:00</updated>
<author>
<name>David Reyna</name>
<email>David.Reyna@windriver.com</email>
</author>
<published>2018-05-29T03:26:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9c3da34ec6c2c9a9abc30c72d6a8f9b996250862'/>
<id>urn:sha1:9c3da34ec6c2c9a9abc30c72d6a8f9b996250862</id>
<content type='text'>
Explicitly capture and ignore errors when trying to load the optional
'custom.xml' fixture file.

[YOCTO #12554]

(Bitbake rev: 5b26fc8e332daaed092cdbafea3f0b8e11e5e7ae)

Signed-off-by: David Reyna &lt;David.Reyna@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: Toaster: fix shutdown and extra threads</title>
<updated>2018-05-29T10:41:57+00:00</updated>
<author>
<name>David Reyna</name>
<email>David.Reyna@windriver.com</email>
</author>
<published>2018-05-29T03:26:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4c93959c55dcdb48032129b53e0ea75ddd7b1ee6'/>
<id>urn:sha1:4c93959c55dcdb48032129b53e0ea75ddd7b1ee6</id>
<content type='text'>
Fix typo in shutdown code to kill threads when "kill -0" is not enough.
Use the '--noreload' flag for 'runserver' so that there are no extra
and unaccounted threads.

[YOCTO #12555]

(Bitbake rev: 14079cb1fd497799548c677962d89c02a6d2bf92)

Signed-off-by: David Reyna &lt;David.Reyna@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: providers: Fix determinism issue</title>
<updated>2018-03-09T14:12:02+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2017-12-10T22:31:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fe2c3c59e3c7c98d1683a0aa81868b8696b1116b'/>
<id>urn:sha1:fe2c3c59e3c7c98d1683a0aa81868b8696b1116b</id>
<content type='text'>
We saw builds where runtime providers were sometimes changing order and the
build result was therefore non-deterministic. For example it could show:

DEBUG: providers for lib32-initd-functions are: ['lib32-lsbinitscripts', 'lib32-initscripts']
or
DEBUG: providers for lib32-initd-functions are: ['lib32-initscripts', 'lib32-lsbinitscripts']

which could cause a test to pass or fail.

This change ensures we don't rely on the random order of dictonaries in
memory and act deterministically.

(Bitbake rev: 223a0f68530571d2280f526bddbc718fa803a3dc)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: add 'nobuild' option to Toaster</title>
<updated>2017-12-18T15:05:36+00:00</updated>
<author>
<name>David Reyna</name>
<email>David.Reyna@windriver.com</email>
</author>
<published>2017-12-01T23:30:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ca5296a5e55b655d76374ed51688e74ba33592e9'/>
<id>urn:sha1:ca5296a5e55b655d76374ed51688e74ba33592e9</id>
<content type='text'>
Add a 'nobuild' option for starting Toaster without the project
and hosted builds support. This allows a Toaster host to provide
local build statistics without opening the host to external users
building projects.

[YOCTO #12315]

(Bitbake rev: 686a230d48ca666bdc0b0565f8e55cc890b90c5f)

Signed-off-by: David Reyna &lt;David.Reyna@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: landing page show cmdline capture</title>
<updated>2017-12-18T15:05:36+00:00</updated>
<author>
<name>David Reyna</name>
<email>David.Reyna@windriver.com</email>
</author>
<published>2017-12-01T23:30:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6affa391f75968e6dbd8df80b03204761f6c89bb'/>
<id>urn:sha1:6affa391f75968e6dbd8df80b03204761f6c89bb</id>
<content type='text'>
The Toaster initial landing page needs to show that it still has
the command line build capture support in addition to the new
project support.

[YOCTO #12316]

(Bitbake rev: 32f7a0df3626b36584f363897f9f092d8af1ac48)

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