<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake, branch warrior</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=warrior</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=warrior'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2021-11-03T11:31:54+00:00</updated>
<entry>
<title>bitbake: fetch/git: Handle github dropping git:// support</title>
<updated>2021-11-03T11:31:54+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-11-02T12:40:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d4b57c68b22027c2bedff335dee06af963e4f8a8'/>
<id>urn:sha1:d4b57c68b22027c2bedff335dee06af963e4f8a8</id>
<content type='text'>
github is dropping support for git protocol in Git urls. Add code to remap
this to https in a way that could be used in older bitbake versions.

(Bitbake rev: af479e239d1e4dc93f0162c5936369a94c1c529d)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: tests/fetch: Allow wget upgrade tests to run against a local server</title>
<updated>2020-09-09T08:44:49+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2019-12-20T17:53:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d588ff814ddb7e14cabe27e28c6ca710f31d1b70'/>
<id>urn:sha1:d588ff814ddb7e14cabe27e28c6ca710f31d1b70</id>
<content type='text'>
Currently these tests rely upon multiple uptream webservers which may change
or be unavailable. Add local copies of the test data, copy the httpserver
from OE-Core (used for testing there) and run these tests against a local
server instead.

(Bitbake rev: b4860b292406698f3c8af9a3708a09df21c96300)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: Change git fetcher not to destroy old references</title>
<updated>2020-09-08T13:46:09+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2020-07-08T11:07:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b65fc3d950adb80f605c6359614afded9a2f6185'/>
<id>urn:sha1:b65fc3d950adb80f605c6359614afded9a2f6185</id>
<content type='text'>
It looks like we're about to see a lot of changes in branch names in repos. If
we have the prune option here, those old names are lost, the changes propagate
to our source mirrors and our old releases break.

We have the force option so any replaced references should be replaced, its only
orphaned branches which will now be preserved.

I believe this behaviour will cause us fewer problems given the changes that
look likely to happen.

(Bitbake rev: 4c7e0352c56dc956fc19439713e8dce9f6248c86)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: tests/fetch: Switch from git.infradead.org to a YP mirror</title>
<updated>2020-07-02T15:11:35+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2020-06-22T19:37:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5ea39eac95e00a97289eb93e7d2863a3e1de5770'/>
<id>urn:sha1:5ea39eac95e00a97289eb93e7d2863a3e1de5770</id>
<content type='text'>
Upstream is unavailable, breaking tests. Switch to a YP mirror since
if we can't reach that there are bigger problems. This should remove
a source of intermittent failures on the autobuilder.

(Bitbake rev: 417f635fca1aa2484c7ccba9ffbbfe9601d41d66)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: lib/bb/utils.py: Preserve ownership of symlink</title>
<updated>2020-03-06T17:25:34+00:00</updated>
<author>
<name>Daisuke Yamane</name>
<email>daisuke.yamane@cybertrust.co.jp</email>
</author>
<published>2020-02-22T06:17:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4c773c7b03fb4596cd3873261de438dfd7b44158'/>
<id>urn:sha1:4c773c7b03fb4596cd3873261de438dfd7b44158</id>
<content type='text'>
Yocto Bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13806

Uncomment lchown() to preserve ownership of symlink.

(Bitbake rev: 7f7126211170439ac1d7d72e980786ce0edb7bb7)

Signed-off-by: Daisuke Yamane &lt;daisuke.yamane@cybertrust.co.jp&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: cooker/siggen: Empty siggen cache during parsing</title>
<updated>2020-02-18T13:59:11+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2020-02-17T16:18:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2ce6c7b190fc418a5653085f83016b29d52a2ae5'/>
<id>urn:sha1:2ce6c7b190fc418a5653085f83016b29d52a2ae5</id>
<content type='text'>
When parsing recipes its apparent the memory usage of bitbake rises linearly
with number of recipes parsed. It shouldn't.

Using tracemalloc (thanks for the tip Joshua Lock) it was clear that the
dependency information left behind in siggen was the culprit. Add a new
method to allow us to drop this information. We don't need it after the recipe
has been parsed and hashes calculated (at runtime its different but only the
currently executing task would be in memory).

This should give signficant memory usage improvements for bitbake and that
in turn should help speed on more constrained systems, as well as when used in
multiconfig environments.

(Bitbake rev: d411b097d810c386d35dc561f8812bb3f35c9a36)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: cooker: Keep track of watched files using a set instead of a list</title>
<updated>2020-01-28T11:51:10+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2020-01-07T22:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2bd2f56d4163218662b01712feff9719ace66e31'/>
<id>urn:sha1:2bd2f56d4163218662b01712feff9719ace66e31</id>
<content type='text'>
When there are many watched files, keeping track of them using lists
is suboptimal. Using sets improves the performance considerably.

(Bitbake rev: aa770081d7d3ff678b18117a4b4e9b3da09b72be)

Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 1e96df260e47d160dbd36bfc92c31ef06266f662)
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: Ensure cached url data is matched to a datastore</title>
<updated>2019-11-13T22:00:27+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2019-11-02T17:57:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d9879a1f60ef8d87816084186fae6cd084ca3b42'/>
<id>urn:sha1:d9879a1f60ef8d87816084186fae6cd084ca3b42</id>
<content type='text'>
There was a weird error in OE-Core where "devtool modify virtual/kernel"
was showing basehash mismatch errors. This was due to SRCPV sometimes being:
AUTOINC+b867b78b50_47b80ef7bd and sometimes AUTOINC+b867b78b50_255a750d28.

The latter hash comes from KBRANCH and meant sometimes the correct branch
was seen, sometimes it was not. The issue was complicated by the execution
using a remote datastore over tinfoil.

The problem turns out to be a fetcher caching error. If the datastore
changes, the cached url data may not be valid.

We therefore ensure we match cached url data against the datastore that
generated it, which appears to fix this issue.

(Bitbake rev: 4ce50bbd34eefeabfeca89a6a66c71598d3c58f6)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: bitbake-worker child process create group before registering SIGTERM handler</title>
<updated>2019-11-07T19:46:57+00:00</updated>
<author>
<name>Ivan Efimov</name>
<email>i.efimov@inango-systems.com</email>
</author>
<published>2019-11-05T14:07:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b021992106c6b5ba02b825afa7dcc422b135b59b'/>
<id>urn:sha1:b021992106c6b5ba02b825afa7dcc422b135b59b</id>
<content type='text'>
The bitbake-worker child on the SIGTERM signal handling send the SIGTERM to all
processes in it's process group. In cases when the bitbake-worker child got
SIGTERM after registering own SIGTERM handler and before the os.setsid() call
it can send SIGTERM to unwanted processes.

In the worst case during SIGTERM processing the bitbake-worker child can be in
the group of the process that started BitBake itself. As a result it can kill
processes that not related to BitBake at all.

(Bitbake rev: b7483a7738daf69902ef590a8144a557576bbce0)

Signed-off-by: Ivan Efimov &lt;i.efimov@inango-systems.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: cookerdata: Add mc conffiles hashes to cache hash</title>
<updated>2019-10-10T15:53:33+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>jpewhacker@gmail.com</email>
</author>
<published>2019-09-23T18:21:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=07d4569049183c9d3bec33247bef1bfc82463836'/>
<id>urn:sha1:07d4569049183c9d3bec33247bef1bfc82463836</id>
<content type='text'>
The variable values that result from parsing multiconfig should be
included in the cooker data hash, otherwise changes to these files won't
be detected, which will allow the parsing cache to be loaded with the
old values for the multiconfigs. This can either manifest as the
variable values simply not updating, or getting basehash changed errors
when building.

This bug was previously undetected because all of the multiconfig base
files were a direct file dependency in all parsed recipes. This was
fixed in 34137a00f60 ("bitbake: bitbake: cooker: Rename __depends in all
multiconfigs"), exposing this bug.

[YOCTO #13541]

(Bitbake rev: 75d6648f232a06b99c54a1e33324a7fc1cd15b38)

Signed-off-by: Joshua Watt &lt;JPEWhacker@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
