<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/insane.bbclass, branch 3.5_M1</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=3.5_M1</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=3.5_M1'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2021-12-01T16:23:45+00:00</updated>
<entry>
<title>insane.bbclass: add a check that Upstream-Status patch tag is present and correctly formed</title>
<updated>2021-12-01T16:23:45+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2021-11-17T15:35:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b825ea5ced69c5776732e63246de27d0e5026178'/>
<id>urn:sha1:b825ea5ced69c5776732e63246de27d0e5026178</id>
<content type='text'>
(From OE-Core rev: d679c35e087499075a5b8c2222d8e7007fc3e75d)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>insane: remove unrecognised option check for Meson</title>
<updated>2021-11-13T16:11:27+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2021-11-12T12:07:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=39906f5d4d83d4fbed872f4dad66915a11276f65'/>
<id>urn:sha1:39906f5d4d83d4fbed872f4dad66915a11276f65</id>
<content type='text'>
Meson 0.60 onwards no longer simply warns when an unrecognised option is
passed, it errors out instead. This means we can remove the logic in
insane.bbclass to check for the warnings.

(From OE-Core rev: 472acf29abd4cdc9d8ef10a1940a541275d508cf)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>insane.bbclass: Add a check for directories that are expected to be empty</title>
<updated>2021-11-03T11:12:26+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2021-11-02T19:57:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3e9c4801216111496acffdfdccf1deae3b3d6b96'/>
<id>urn:sha1:3e9c4801216111496acffdfdccf1deae3b3d6b96</id>
<content type='text'>
The empty-dirs QA check verifies that all directories specified in
QA_EMPTY_DIRS are empty. It is possible to specify why a directory is
expected to be empty by defining QA_EMPTY_DIRS_RECOMMENDATION:&lt;path&gt;,
which will then be included in the error message if the directory is
not empty. If it is not specified for a directory, then "but it is
expected to be empty" will be used.

(From OE-Core rev: a454fda9c3d6b11cfdc54a49a7bb3f8a76a5ed58)

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>insane,license,license_image: Allow treating license problems as errors</title>
<updated>2021-10-17T10:56:33+00:00</updated>
<author>
<name>Mike Crowe</name>
<email>mac@mcrowe.com</email>
</author>
<published>2021-10-15T14:39:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cdeb02654fbaa47677b5c68521d05a5a575ac90d'/>
<id>urn:sha1:cdeb02654fbaa47677b5c68521d05a5a575ac90d</id>
<content type='text'>
Use the same WARN_WA and ERROR_QA variables as insane.bbclass to allow
individual recipes, the distro or other configuration to determine
whether the various detected license errors should be treated as a
warning (as now) or as an error.

oe.qa.handle_error isn't immediately fatal, so oe.qa.exit_if_errors must
be called at the end of do_populate_lic to fail the task.

(From OE-Core rev: bb164adca94b5a43751aabe6b6d702a3d60dfdc7)

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>lib/oe/qa,insane: Move extra error handling functions to library</title>
<updated>2021-10-17T10:56:32+00:00</updated>
<author>
<name>Mike Crowe</name>
<email>mac@mcrowe.com</email>
</author>
<published>2021-10-15T14:39:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=51b1611e204b32b3e65176ef86d4562e2f330835'/>
<id>urn:sha1:51b1611e204b32b3e65176ef86d4562e2f330835</id>
<content type='text'>
Extract package_qa_write_error, package_qa_handle_error and
package_qa_add_message functions from insane.bbclass to lib/oe/qa.py and
drop the package_qa_ prefixes.

Update various bbclasses to use the new functions. No import is required
since base.bbclass puts oe.qa in OE_IMPORTS.

Stop requiring callers to manually track whether a fatal error has been
encountered via a "sane" flag. Instead replace the QA_SANE variable with
QA_ERRORS_FOUND and call oe.qa.exit_if_errors or
oe.qa.exit_with_message_if_errors at the end of each task.

Inspired by discussion resulting from
https://lists.openembedded.org/g/openembedded-core/message/156793 and
https://lists.openembedded.org/g/openembedded-core/message/156900

(From OE-Core rev: f0ad152ef4cc15c042bc9eeefb6af096d054b220)

Signed-off-by: Mike Crowe &lt;mac@mcrowe.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>base/insane: Import oe.qa by default</title>
<updated>2021-10-14T21:32:50+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-10-13T22:12:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=188a6e5895488f30caa6ce357e65266af31a938b'/>
<id>urn:sha1:188a6e5895488f30caa6ce357e65266af31a938b</id>
<content type='text'>
(From OE-Core rev: 3b4ce5f69cd962cd219aa3c0e7a2de9096e2ecb8)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>insane.bbclass: add FILERDEPENDS related check back</title>
<updated>2021-09-16T08:50:34+00:00</updated>
<author>
<name>Mingli Yu</name>
<email>mingli.yu@windriver.com</email>
</author>
<published>2021-09-14T07:06:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=46757ac1e866af5949d60d47d7071f9455054612'/>
<id>urn:sha1:46757ac1e866af5949d60d47d7071f9455054612</id>
<content type='text'>
Instead of FILERDEPENDS_*, the FILERDEPENDS should be FILERDEPENDS:*
such as FILERDEPENDS:/usr/bin/python3.9:lib32-python3-core as an example,
so switch to new override syntax to make sure the related check in effect.

(From OE-Core rev: 6e5650be0ce5575da1ce5b6ea8b24a82ec7b1210)

Signed-off-by: Mingli Yu &lt;mingli.yu@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ptest: allow the ptest-packagelists.inc warning to be disabled</title>
<updated>2021-09-02T11:12:08+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2021-09-01T16:57:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b3dcbdc4d63f968966ef118d5e073349adeae22c'/>
<id>urn:sha1:b3dcbdc4d63f968966ef118d5e073349adeae22c</id>
<content type='text'>
ptest.bbclass has a sanity check that all recipes in oe-core which
inherit ptest are also listed in the ptest-packagelists.inc file, and
the build fails if this is not the case.

Whilst this is a laudable goal, it is over-zealous as if the recipe has
a bbappend in another layer which inherits ptest, the build will fail.

By changing the combination of anonymous Python and bb.error() to a
recipe-scope QA test, this can be handled with the other sanity checks
and bbappends can skip the test if desired.

(From OE-Core rev: abe45c8c0a6da56a278796654d0520250dfd2a97)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>package/scripts: Fix FILES_INFO handling</title>
<updated>2021-08-17T08:53:04+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-08-16T15:01:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=dd6b55d70c0616e69ecc7366650cd0f7e1678bd8'/>
<id>urn:sha1:dd6b55d70c0616e69ecc7366650cd0f7e1678bd8</id>
<content type='text'>
There is a long standing bug where FILES_INFO isn't written into pkgdata
with a package suffix. This means if the files are read into the datastore
as intended, the last one "wins".

Fix this to work as intended. Most of the call sites using the data need
to be updated to handle this and the overrides change correctly.

Also fix some other problematic references noticed along the way.

(From OE-Core rev: a1190903e0a61a12c9854c96af918ae8d12c6327)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>insane.bbclass: fix new override syntax migration</title>
<updated>2021-08-13T13:44:06+00:00</updated>
<author>
<name>Quentin Schulz</name>
<email>foss@0leil.net</email>
</author>
<published>2021-08-11T19:59:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3ae80177fb78799f6b42240a6ac8fb4753521aec'/>
<id>urn:sha1:3ae80177fb78799f6b42240a6ac8fb4753521aec</id>
<content type='text'>
A few variables and messages were not migrated over to the new override
syntax (_ to :).

Let's fix that.

(From OE-Core rev: c595d6040d2e0ef94d7da043b41226e90dddf318)

Signed-off-by: Quentin Schulz &lt;foss@0leil.net&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
