<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes, branch langdale</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=langdale</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=langdale'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2023-04-14T16:30:30+00:00</updated>
<entry>
<title>report-error: catch Nothing PROVIDES error</title>
<updated>2023-04-14T16:30:30+00:00</updated>
<author>
<name>Mingli Yu</name>
<email>mingli.yu@windriver.com</email>
</author>
<published>2023-04-03T09:35:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0f1f69eabe06033d7d15f52725c99491ece77ba7'/>
<id>urn:sha1:0f1f69eabe06033d7d15f52725c99491ece77ba7</id>
<content type='text'>
Make the report-error catch Nothing PROVIDES error and then
we can check it directly via error report web.

(From OE-Core rev: 5f2d74856e6790e8742f7d6049f7a21c4c17d987)

Signed-off-by: Mingli Yu &lt;mingli.yu@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit a57d8f82b83554c821a83eacc02f9c73b263ff02)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>cve-check: Fix false negative version issue</title>
<updated>2023-04-04T16:46:24+00:00</updated>
<author>
<name>Geoffrey GIRY</name>
<email>geoffrey.giry@smile.fr</email>
</author>
<published>2023-03-28T10:23:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8c4d029f75c947645ed94dde1053c7f75ceb32fd'/>
<id>urn:sha1:8c4d029f75c947645ed94dde1053c7f75ceb32fd</id>
<content type='text'>
NVD DB store version and update in the same value, separated by '_'.
The proposed patch check if the version from NVD DB contains a "_",
ie 9.2.0_p1 is convert to 9.2.0p1 before version comparison.

[YOCTO #14127]

Reviewed-by: Yoann CONGAL &lt;yoann.congal@smile.fr&gt;
(From OE-Core rev: 423ba02b0c2a15bf771db2271df17e12c5adabb2)

Signed-off-by: Geoffrey GIRY &lt;geoffrey.giry@smile.fr&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
(cherry picked from commit 7d00f6ec578084a0a0e5caf36241d53036d996c4)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging/multilib: Fix manifest corruption</title>
<updated>2023-03-21T14:26:31+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2023-03-08T10:12:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2c7ac273d38e2ea0a724bb997dfa72d7f08bee0a'/>
<id>urn:sha1:2c7ac273d38e2ea0a724bb997dfa72d7f08bee0a</id>
<content type='text'>
The previous fix wasn't enough to address all the possible ways the
manifests might be ordered. Rework the previous fix so it is tied
to the multilib cross-canadian code which is causing the problem.

RECIPE_SYSROOT_MANIFEST_SUBDIR is not documented as I'd hope nobody
ever needs to use this outside the core multilib code.

(From OE-Core rev: 2b2da04c5e88529c74b44569919fdcc136c48cca)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit beab42e00713880cd95a04729c892f8662fbcbed)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>recipe_sanity: fix old override syntax</title>
<updated>2023-02-15T21:47:00+00:00</updated>
<author>
<name>Ulrich Ölmann</name>
<email>u.oelmann@pengutronix.de</email>
</author>
<published>2023-02-07T14:31:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7ff0e3f58726df8c989cbf87fecefa40743b8ed9'/>
<id>urn:sha1:7ff0e3f58726df8c989cbf87fecefa40743b8ed9</id>
<content type='text'>
(From OE-Core rev: 6779319cfae0ea75cba3419f0aedf94838ccf80f)

Signed-off-by: Ulrich Ölmann &lt;u.oelmann@pengutronix.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 18eeea6fcd8ade49390a978134f51646da2f7764)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>devtool: fix devtool finish when gitmodules file is empty</title>
<updated>2023-02-04T23:32:27+00:00</updated>
<author>
<name>Thomas Roos</name>
<email>throos@amazon.de</email>
</author>
<published>2023-01-16T14:30:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1168dc921100a97d7c0099657a573483f337c683'/>
<id>urn:sha1:1168dc921100a97d7c0099657a573483f337c683</id>
<content type='text'>
When a .gitmodules file exists but is empty then devtool finish fails.
Add an additional check for this.

[YOCTO #14999]

(From OE-Core rev: 7bc6bb2d3f01f3c9fe42417b6cfad194f9931a3a)

Signed-off-by: Thomas Roos &lt;throos@amazon.de&gt;
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit b4f0f7c4934bade9e4d4a1086f9d8b29d8e9ad45)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cve-check: write the cve manifest to IMGDEPLOYDIR</title>
<updated>2023-01-26T23:39:06+00:00</updated>
<author>
<name>Jermain Horsman</name>
<email>jermain.horsman@nedap.com</email>
</author>
<published>2023-01-16T11:46:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a2d03c259951d77181c181b06e88958bdf0249d4'/>
<id>urn:sha1:a2d03c259951d77181c181b06e88958bdf0249d4</id>
<content type='text'>
When building an image cve_check_write_rootfs_manifest() would sometimes fail
with a FileNotFoundError when writing the manifest.cve due to the parent
directory (DEPLOY_DIR_IMAGE) not (yet) existing.

The image task will provide the manifest in the deploy directory afterwards,
so other recipes depending on the manifest being in DEPLOY_DIR_IMAGE should
continue to function properly.

(From OE-Core rev: 7d4179576c32c3464cb1a612840fd6aa37f7ff1f)

Signed-off-by: Jermain Horsman &lt;jermain.horsman@nedap.com&gt;
Signed-off-by: Luca Ceresoli &lt;luca.ceresoli@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 00fb2aae22ce0d7ff5f3f8766fa770eeb4e73483)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rm_work.bbclass: use HOSTTOOLS 'rm' binary exclusively</title>
<updated>2023-01-15T11:05:19+00:00</updated>
<author>
<name>Luis</name>
<email>luis.pinto.martins@gmail.com</email>
</author>
<published>2022-12-24T01:49:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d67c0e657c9b042f482a060e20b92e581b333b63'/>
<id>urn:sha1:d67c0e657c9b042f482a060e20b92e581b333b63</id>
<content type='text'>
The do_rm_work() task is using the first available 'rm' binary
available in PATH to remove files and folders.
However, depending on the PATH setup and RECIPE_SYSROOT_NATIVE
contents, the function can be using the 'rm' binary available
in RECIPE_SYSROOT_NATIVE, a folder that will get removed.
This causes a sporadic race-condition when trying to access the
'rm' binary of a folder already deleted.
Solve this by exclusively using the HOSTTOOLS 'rm' binary, as
this folder will not get removed.

(From OE-Core rev: bfa7e82d0b53644293173571c4e149717a015eb3)

Signed-off-by: Luis Martins &lt;luis.pinto.martins@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit edcd9ad333bc4e504594e8af83e8cb7007d2e35c)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>externalsrc: fix lookup for .gitmodules</title>
<updated>2022-12-23T23:05:57+00:00</updated>
<author>
<name>Peter Marko</name>
<email>peter.marko@siemens.com</email>
</author>
<published>2022-12-01T14:04:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1db7ae86af8b943a0192c0a3a101b8d68074c89a'/>
<id>urn:sha1:1db7ae86af8b943a0192c0a3a101b8d68074c89a</id>
<content type='text'>
Commit 0533edac277080e1bd130c14df0cbac61ba01a0c broke
bitbake parsing when bitbake is executed from directory with existing .gitmodules
and the recipe in externalsrc does not have .gitmodules

The check needs to search for .gitmodules in sources path, not cwd.

iParsing recipes...ERROR: ExpansionError during parsing &lt;path to recipe&gt;
...
bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception CalledProcessError: Command '['git', 'config', '--file', '.gitmodules', '--get-regexp', 'path']' returned non-zero exit status 1.

(From OE-Core rev: 61153027d56b420303868b5d3be9c5b82920f687)

Signed-off-by: Peter Marko &lt;peter.marko@siemens.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
(cherry picked from commit 66ff3d1f65cd2e7f5319e98fa41f47a59b714c72)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rm_work: adjust dependency to make do_rm_work_all depend on do_rm_work</title>
<updated>2022-12-23T23:05:57+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2022-12-05T04:58:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3399c194d4d4f76175cd24a39bdcbba119af6f4a'/>
<id>urn:sha1:3399c194d4d4f76175cd24a39bdcbba119af6f4a</id>
<content type='text'>
For now, if we use rm_work and `bitbake core-image-minimal', some
recipes' WORKDIRs are not cleaned up, e.g., makedevs-native.

Adjust the dependency to make do_rm_work_all depend on do_rm_work
to solve this problem.

Below are the detailed explanation of why this would work.

Without this patch, the dependency chain is like:
[other deps] -&gt; [do_rm_work] -+-&gt; [do_build]
                              |
[do_rm_work_all] -------------+

With this patch, the depedency chain is like:
[other deps] -&gt; [do_rm_work] -&gt; [do_rm_work_all] -&gt; [do_build]

Such dependency chain adjustment fixes the issue because do_rm_work_all
now depends on [other deps] and thus the [depends] of these [other deps].
Take core-image-minimal as an example. Before this adjustment,
do_rm_work_all does not have any relationship with do_rootfs, and we have
do_rootfs[depends] += "makedevs-native:do_populate_sysroot ..."
This essentially prevents 'recrdeptask' setting of do_rm_work_all extend
to makedevs-native. With this patch, the do_rm_work_all now depends
on do_rm_work which in turn depends on do_rootfs, and so do_rm_work_all's
recrdeptask could have effect on makedevs-native.

With this patch, all built recipes WORKDIR will be cleaned up with
a few expected exceptions such as kernel and qemu-helper-native.

(From OE-Core rev: 298a74b9d8c1643e7a9b69c64dcad928520680d2)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
(cherry picked from commit b25cc45c9b39f79ba0a03c4556cb2e2431677b4e)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>create-spdx: default share_src for shared sources</title>
<updated>2022-12-01T19:35:11+00:00</updated>
<author>
<name>Konrad Weihmann</name>
<email>kweihmann@witekio.com</email>
</author>
<published>2022-11-09T14:37:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0ef7288f7e6c5befea6b9bf55548c12a40f9120d'/>
<id>urn:sha1:0ef7288f7e6c5befea6b9bf55548c12a40f9120d</id>
<content type='text'>
if a source is using work-shared but isn't a kernel,
like for instance llvm-source from meta-clang, share_src was
previously undefined leading to a crash of the python code.
Default to WORKDIR and just override it in case the source being
a kernel recipe.
Additionally changes the variable names in the following, as
they imply that it's only about the kernel, which is not the case
in every case

(From OE-Core rev: 34fa68a0b07328c4ed4eef81f8cde80137a91f18)

(From OE-Core rev: 30cdb7fbec8e9cf5c5a25e28a1102fa562a7f6c2)

Signed-off-by: Konrad Weihmann &lt;kweihmann@witekio.com&gt;
On-behalf-of: Avnet Embedded &lt;AvnetEmbedded@avnet.eu&gt;
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
