<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/insane.bbclass, branch 3.1_M2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=3.1_M2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=3.1_M2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2020-01-19T13:24:38+00:00</updated>
<entry>
<title>insane.bbclass: Spawn warning for missing mime-xdg in inherit</title>
<updated>2020-01-19T13:24:38+00:00</updated>
<author>
<name>Andreas Müller</name>
<email>schnitzeltony@gmail.com</email>
</author>
<published>2020-01-17T21:29:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=73cd296ac0689460b32b4edb73f705c596d481ca'/>
<id>urn:sha1:73cd296ac0689460b32b4edb73f705c596d481ca</id>
<content type='text'>
If a package signals that it can open mime-types but does not inharit mime-xdg,
a warning is created.

(From OE-Core rev: 75b4a377d6e74456bbb4b9966725de7385c74b61)

Signed-off-by: Andreas Müller &lt;schnitzeltony@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>insane.bbclass: introduce a warning for mime missing in inherit</title>
<updated>2020-01-19T13:24:38+00:00</updated>
<author>
<name>Andreas Müller</name>
<email>schnitzeltony@gmail.com</email>
</author>
<published>2020-01-17T21:29:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=38afa8f82a87684f38d6ed4d7cfb9fb808c22156'/>
<id>urn:sha1:38afa8f82a87684f38d6ed4d7cfb9fb808c22156</id>
<content type='text'>
* looking through layers it looks that usage of mime.bbclass is somewhat
  orphaned
* now that update-mime-database is called once only at image creation time,
  costs of mime.bbclass are limited

(From OE-Core rev: 856ed1dc3b6e4a082546a487818eb4c6cde1c573)

Signed-off-by: Andreas Müller &lt;schnitzeltony@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mips: Enable gnu-hash-style on glibc</title>
<updated>2020-01-19T13:24:38+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-01-14T16:24:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=45e8f1351a8e388ffbe7d50a2694a5bc530f2785'/>
<id>urn:sha1:45e8f1351a8e388ffbe7d50a2694a5bc530f2785</id>
<content type='text'>
latest glibc 2.31 [1] and binutils [2] has finally added the needed support for
gnu hash-style, which brings mips into same fold as other architectures

Fix check for MIPS specific section for gnu hash information

[1] https://sourceware.org/ml/libc-alpha/2019-06/msg00456.html
[2] https://sourceware.org/ml/binutils/2019-07/msg00098.html

(From OE-Core rev: 9ff90bf04a4c422feaea25180155e4954648f68c)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>insane: don't use cachedpath</title>
<updated>2019-12-28T23:25:41+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-12-05T21:17:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=adcc017443f3e580a0246938f89a45e47d96b0f0'/>
<id>urn:sha1:adcc017443f3e580a0246938f89a45e47d96b0f0</id>
<content type='text'>
Unless cachedpath is used correctly then it's just a glorified clone of
os.walk, but without any of the recent optimisations in os.walk.  In
this codepath there is no point to using cachedpath.

(From OE-Core rev: 460222c54e4c65352c0687f2b6c70527cc9a2b4b)

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>insane: fix GitHub /archive/ test</title>
<updated>2019-11-29T17:43:40+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-11-26T23:35:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8a3a1e4a350657050eb04564ce2c49db82af86e5'/>
<id>urn:sha1:8a3a1e4a350657050eb04564ce2c49db82af86e5</id>
<content type='text'>
This test was failing to split the URL list to individual URLs, so if
SRC_URI is something like this then the test incorrectly triggers:

SRC_URI = "git://github.com/foo http://example.com/archive/foo"

Fix this by splitting the SRC_URI list and iterating through the URIs
one at time.

[ YOCTO #13660 ]

(From OE-Core rev: ddd2c5624404848ee668dabec0f61599ab5003e4)

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>insane: improve textrel warning message</title>
<updated>2019-11-14T13:20:59+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-11-11T12:45:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3aed62d68741101ff5ac0a1276cc789d224bdfdb'/>
<id>urn:sha1:3aed62d68741101ff5ac0a1276cc789d224bdfdb</id>
<content type='text'>
Clean the displayed path so it clearly shows the package name and path in that
package.

(From OE-Core rev: 46bf5f0db164e88c2effdbf5437f4d0836e4aadd)

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>insane: add check for perllocal.pod</title>
<updated>2019-10-08T10:22:24+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-10-04T00:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a5a5708dbbb534f6624fafe9e78f96de25c10dea'/>
<id>urn:sha1:a5a5708dbbb534f6624fafe9e78f96de25c10dea</id>
<content type='text'>
perlocal.pod is an index file of locally installed modules and so shouldn't be
installed by any distribution packages.  cpan.bbclass already sets NO_PERLOCAL
to stop this file being generated by most Perl recipes, but if a recipe is using
MakeMaker directly (such as rrdtool) then they might not be doing this
correctly.

To avoid multiple packages shipping this file and then failing to install
together, add a QA test to check if this file exists and by default emit an
error if it does.

[ YOCTO #13491 ]

(From OE-Core rev: 5d16d265cc61c4e279fe3bf66016a00d9daa4068)

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>insane.bbclass: in file-rdeps do not look into RDEPENDS recursively</title>
<updated>2019-08-14T16:33:49+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2019-08-13T18:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b199dd0edf2e09ee56e8761e93933dc295758e74'/>
<id>urn:sha1:b199dd0edf2e09ee56e8761e93933dc295758e74</id>
<content type='text'>
Recursive RDEPENDS resolution requires that all of the dependent
recipes' packaging has completed. There is no mechanism to ensure that
and therefore races were observed.

This change effectively requires recipes to list their runtime file
dependencies explicitly rather than have them pulled indirectly.
This may require a bit of fixing in layers, but should result
in a better definition of runtime file dependencies.

(From OE-Core rev: 08e2b5a31b23b98459479caf6ec5f5c6fc19d57a)

Signed-off-by: Alexander Kanavin &lt;alex.kanavin@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>insane: check if the recipe incorrectly uses DEPENDS_${PN}</title>
<updated>2019-08-03T22:56:01+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-08-01T15:09:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=89a27680008dbe7a02016afc94fd62a05b0c9ff6'/>
<id>urn:sha1:89a27680008dbe7a02016afc94fd62a05b0c9ff6</id>
<content type='text'>
Some people mistakenly use DEPENDS_${PN} and wonder why the dependencies don't
work. Check for this and tell the user to use DEPENDS.

(From OE-Core rev: cfaa104955c4ad0aafbe5d59ef85e4a8e3526c69)

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>insane: use clean_path for the host contamination warnings</title>
<updated>2019-07-05T11:00:20+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-07-03T15:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=56c9e61f39f1ccf87eac594939a085e64e8877f9'/>
<id>urn:sha1:56c9e61f39f1ccf87eac594939a085e64e8877f9</id>
<content type='text'>
We've a nice function to clean up absolute build paths for display, so use it.

(From OE-Core rev: c2f2ea87592d14e7020eff19c11aae2fb644358a)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
