<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib, branch scarthgap</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=scarthgap</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=scarthgap'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2026-06-08T20:44:05+00:00</updated>
<entry>
<title>bitbake: hashserv: validate unihash values</title>
<updated>2026-06-08T20:44:05+00:00</updated>
<author>
<name>Anders Heimer</name>
<email>anders.heimer@est.tech</email>
</author>
<published>2026-06-05T04:58:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d80ddd7b9068bf65f412c7a907678446f55330fe'/>
<id>urn:sha1:d80ddd7b9068bf65f412c7a907678446f55330fe</id>
<content type='text'>
(Bitbake rev: a4daa14312d659333984aa1ae58ddfe0c96392f1)

Signed-off-by: Anders Heimer &lt;anders.heimer@est.tech&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit f9b817d8017e5d5a1d22b9aa10a3c974bc7fa33d)
Signed-off-by: Yoann Congal &lt;yoann.congal@smile.fr&gt;
Signed-off-by: Paul Barker &lt;paul@pbarker.dev&gt;
</content>
</entry>
<entry>
<title>bitbake: hashserv/tests: use valid 64-character unihashes</title>
<updated>2026-06-08T20:44:04+00:00</updated>
<author>
<name>Anders Heimer</name>
<email>anders.heimer@est.tech</email>
</author>
<published>2026-06-05T04:58:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d47ac87fb6722fc8207dea157940b55a881f75b5'/>
<id>urn:sha1:d47ac87fb6722fc8207dea157940b55a881f75b5</id>
<content type='text'>
(Bitbake rev: d0bc6eafbefcbc20657028640cd1e17584434ad3)

Signed-off-by: Anders Heimer &lt;anders.heimer@est.tech&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 16ef07c851f3438c0e6034b9a2fe2c708b766aa2)
[YC: migrated some more hash values with new_value = sha256(old_value)
matching what was done in the original patch]
Signed-off-by: Yoann Congal &lt;yoann.congal@smile.fr&gt;
Signed-off-by: Paul Barker &lt;paul@pbarker.dev&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: Unpack RPMs with --no-absolute-filenames</title>
<updated>2026-06-08T20:44:04+00:00</updated>
<author>
<name>Anders Heimer</name>
<email>anders.heimer@est.tech</email>
</author>
<published>2026-06-02T08:34:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bd4f11b2c0da3caecf6f03bebf873bb49db6fbd8'/>
<id>urn:sha1:bd4f11b2c0da3caecf6f03bebf873bb49db6fbd8</id>
<content type='text'>
Use cpio --no-absolute-filenames when unpacking RPM and SRPM archives so
absolute paths and parent-directory components in cpio member names are
extracted relative to the intended unpack directory.

(Bitbake rev: 37beb06ba9329cd16976273efbb341f781d4e749)

Signed-off-by: Anders Heimer &lt;anders.heimer@est.tech&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 1b1a71586aa93678c1d9ca40ef2c6fa518f89356)
Signed-off-by: Yoann Congal &lt;yoann.congal@smile.fr&gt;
Signed-off-by: Paul Barker &lt;paul@pbarker.dev&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/git: quote shallow extra ref arguments</title>
<updated>2026-06-08T20:44:04+00:00</updated>
<author>
<name>Anders Heimer</name>
<email>anders.heimer@est.tech</email>
</author>
<published>2026-05-21T14:36:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=33d210eb574bf286d2c347ddb324174ed1e1aacd'/>
<id>urn:sha1:33d210eb574bf286d2c347ddb324174ed1e1aacd</id>
<content type='text'>
BB_GIT_SHALLOW_EXTRA_REFS can include wildcard entries. Matching refs
advertised by the remote are later passed to git fetch and update-ref
while creating shallow tarballs.

Quote the generated command arguments and pass the fetched ref after --
so shell metacharacters and option-like ref names are not interpreted as
command syntax or git fetch options.

(Bitbake rev: 6d3f8bd4ddc955b49eaa124e0724ea589da30646)

Signed-off-by: Anders Heimer &lt;anders.heimer@est.tech&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit e9a06f79d9ec767c9d95470be78b006d6fd0d59c)
[YC: Only the quote part of the master patch applies.
The "--" part does not. This part is handled by bin/git-make-shallow
which only pass arguments to git rev-list and rev-parse through arrays]
Signed-off-by: Yoann Congal &lt;yoann.congal@smile.fr&gt;
Signed-off-by: Paul Barker &lt;paul@pbarker.dev&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: validate striplevel parameter</title>
<updated>2026-06-08T20:44:04+00:00</updated>
<author>
<name>Anders Heimer</name>
<email>anders.heimer@est.tech</email>
</author>
<published>2026-05-18T14:59:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=73f77a019a9195f732e5a1066993f922bd1551b8'/>
<id>urn:sha1:73f77a019a9195f732e5a1066993f922bd1551b8</id>
<content type='text'>
The striplevel URL parameter is appended to tar_cmd, which is later run
through the shell. Validate it as a decimal count before using it in the
tar arguments.

(Bitbake rev: 3a8937cc4b6513f9ed54fee0b0347589a892c8d7)

Signed-off-by: Anders Heimer &lt;anders.heimer@est.tech&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 934fe718bfe29c7ec921e6b598d81ec2ebe8f7c7)
[YC: Removed the striplevel="1\n" subtest case. The URL-decoding regex
in decodeurl uses `.*` without `re.DOTALL`, causing literal newlines in
parameters to be silently truncated during parsing.]
Signed-off-by: Yoann Congal &lt;yoann.congal@smile.fr&gt;
Signed-off-by: Paul Barker &lt;paul@pbarker.dev&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2: validate deb/ipk data member names</title>
<updated>2026-06-08T20:44:04+00:00</updated>
<author>
<name>Anders Heimer</name>
<email>anders.heimer@est.tech</email>
</author>
<published>2026-05-18T14:59:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a42a436300d336b7d196ce76a02fb472dbda9d94'/>
<id>urn:sha1:a42a436300d336b7d196ce76a02fb472dbda9d94</id>
<content type='text'>
The deb/ipk unpack path selects a data archive member from 'ar -t'
output and then passes that member name to a shell command. Previously,
any member beginning with data.tar. was selected.

Only select known deb/ipk data archive member names when datafile is
created. Quote the package path used in the shell command as it can come
from the local fetch path.

Add local fetcher regression coverage for quoted package filenames,
valid compressed data members, and unsupported or unsafe data member
names.

(Bitbake rev: a32064d0f10b9f5a163a25f410a4e39dccf9cb93)

Signed-off-by: Anders Heimer &lt;anders.heimer@est.tech&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 73ae3a2447ec93df39bc66cf3d8f9b2ea1bfe3bf)
Signed-off-by: Yoann Congal &lt;yoann.congal@smile.fr&gt;
Signed-off-by: Paul Barker &lt;paul@pbarker.dev&gt;
</content>
</entry>
<entry>
<title>bitbake: tests/fetch: Avoid using git protocol in tests</title>
<updated>2026-05-15T12:22:43+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2026-04-08T06:28:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3a813d72a872c2ab2b7f02035a73ae3def21f565'/>
<id>urn:sha1:3a813d72a872c2ab2b7f02035a73ae3def21f565</id>
<content type='text'>
Two of the tests were still using git protocol to access git services.
For the submodule test, the upstream repo has been updated.

In the other case, we need to pass the correct command to the manual
git commandline, we can't use a recipe url that previously just happened
to work.

(Bitbake rev: 82abbfcdbda949851a03bb2cb2049ea689564ad6)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 5d722b5d65e4eef7befe6376983385421e993f86)
Signed-off-by: Yoann Congal &lt;yoann.congal@smile.fr&gt;
Signed-off-by: Paul Barker &lt;paul@pbarker.dev&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch/git: Fix leaking of temporary directory</title>
<updated>2026-05-15T12:22:43+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2026-05-13T13:40:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=374eec6e05b7158e02df3fe213eb8cd904ab319d'/>
<id>urn:sha1:374eec6e05b7158e02df3fe213eb8cd904ab319d</id>
<content type='text'>
We create a temporary directory for holding a clone but we never clean it
up. Fix this by using a context manager areound the temporary directory.

This resolves a buildup of tmp directories in DL_DIR in builds.

(Bitbake rev: 1a62878a790ed9630d5ca2fa099d1604540e153a)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Paul Barker &lt;paul@pbarker.dev&gt;
</content>
</entry>
<entry>
<title>bitbake: fetch2/crate: use CDN for fetching crates</title>
<updated>2026-04-28T13:01:16+00:00</updated>
<author>
<name>Johan Anderholm</name>
<email>johan.anderholm@axis.com</email>
</author>
<published>2026-04-27T13:51:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d63005ebea93b0285b437100ce8b6845746641da'/>
<id>urn:sha1:d63005ebea93b0285b437100ce8b6845746641da</id>
<content type='text'>
This avoids the 1 req/sec that the API has.

Reference: https://github.com/rust-lang/crates.io/issues/13482
Reference: https://blog.rust-lang.org/2024/03/11/crates-io-download-changes/
[RP: Tweak to apply to 2.8]
(Bitbake rev: b2404004135b669f8258c85c7b5aed4570a805c7)

Signed-off-by: Johan Anderholm &lt;johanam@axis.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Paul Barker &lt;paul@pbarker.dev&gt;
</content>
</entry>
<entry>
<title>bitbake: runqueue.py: make sure we use bb multiprocessing</title>
<updated>2026-04-28T13:01:16+00:00</updated>
<author>
<name>Trevor Gamblin</name>
<email>tgamblin@baylibre.com</email>
</author>
<published>2026-03-04T14:25:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3166007a930c038380ab4c5d2d2a81572184cf29'/>
<id>urn:sha1:3166007a930c038380ab4c5d2d2a81572184cf29</id>
<content type='text'>
Otherwise, we see errors like:

|ERROR: An uncaught exception occurred in runqueue
|Traceback (most recent call last):
|  File "/srv/pokybuild/yocto-worker/check-layer/build/layers/bitbake/lib/bb/runqueue.py", line 1663, in execute_runqueue
|    return self._execute_runqueue()
|           ~~~~~~~~~~~~~~~~~~~~~~^^
|  File "/srv/pokybuild/yocto-worker/check-layer/build/layers/bitbake/lib/bb/runqueue.py", line 1607, in _execute_runqueue
|    retval = self.dump_signatures(dumpsigs)
|  File "/srv/pokybuild/yocto-worker/check-layer/build/layers/bitbake/lib/bb/runqueue.py", line 1718, in dump_signatures
|    p.start()
|    ~~~~~~~^^
|  File "/usr/lib64/python3.14/multiprocessing/process.py", line 121, in start
|    self._popen = self._Popen(self)
|                  ~~~~~~~~~~~^^^^^^
|  File "/usr/lib64/python3.14/multiprocessing/context.py", line 224, in _Popen
|    return _default_context.get_context().Process._Popen(process_obj)
|           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
|  File "/usr/lib64/python3.14/multiprocessing/context.py", line 300, in _Popen
|    return Popen(process_obj)
|  File "/usr/lib64/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__
|    super().__init__(process_obj)
|    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
|  File "/usr/lib64/python3.14/multiprocessing/popen_fork.py", line 20, in __init__
|    self._launch(process_obj)
|    ~~~~~~~~~~~~^^^^^^^^^^^^^
|  File "/usr/lib64/python3.14/multiprocessing/popen_forkserver.py", line 47, in _launch
|    reduction.dump(process_obj, buf)
|    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
|  File "/usr/lib64/python3.14/multiprocessing/reduction.py", line 60, in dump
|    ForkingPickler(file, protocol).dump(obj)
|    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
|_pickle.PicklingError: Can't pickle local object &lt;function CoreRecipeInfo.init_cacheData.&lt;locals&gt;.&lt;lambda&gt; at 0x7f7925667d70&gt;
|when serializing tuple item 0
|when serializing collections.defaultdict reconstructor arguments
|when serializing collections.defaultdict object
|when serializing dict item 'rundeps'
|when serializing bb.cache.CacheData state
|when serializing bb.cache.CacheData object
|when serializing dict item ''
|when serializing dict item 'recipecaches'
|when serializing bb.cooker.BBCooker state
|when serializing bb.cooker.BBCooker object
|when serializing dict item 'cooker'
|when serializing bb.runqueue.RunQueue state
|when serializing bb.runqueue.RunQueue object
|when serializing tuple item 0
|when serializing method reconstructor arguments
|when serializing method object
|when serializing dict item '_target'
|when serializing multiprocessing.context.Process state
|when serializing multiprocessing.context.Process object

Fixes: [YOCTO #16184]

(Bitbake rev: c118575bc4f278bc857c532089e1c66ae81234f8)

Signed-off-by: Trevor Gamblin &lt;tgamblin@baylibre.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 35866d55908009df429870b28cda0d2266074b48)
Signed-off-by: Yoann Congal &lt;yoann.congal@smile.fr&gt;
Signed-off-by: Paul Barker &lt;paul@pbarker.dev&gt;
</content>
</entry>
</feed>
