<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes-global/insane.bbclass, branch scarthgap-5.0.13</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=scarthgap-5.0.13</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=scarthgap-5.0.13'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2024-07-26T14:43:46+00:00</updated>
<entry>
<title>insane.bbclass: remove leftover variables and comment</title>
<updated>2024-07-26T14:43:46+00:00</updated>
<author>
<name>Emil Kronborg</name>
<email>emil.kronborg@protonmail.com</email>
</author>
<published>2024-05-23T12:56:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6879650b927c96a2464224cdc2bed8245511cbf1'/>
<id>urn:sha1:6879650b927c96a2464224cdc2bed8245511cbf1</id>
<content type='text'>
The code that used these variable and the comment was introduced in
commit b44d32ef41ef ("insane.bbclass: Portions of code were not running,
fix this and sync with OE.dev. Also add tests for bad sysroot rpaths in
binaries"). Later, in commit 17dae13fabe2 ("insane.bbclass: Fix ELF
bitsize comparison"), some of that code was removed again, but not the
variables and the comment.

(From OE-Core rev: c00a9a8f25b0042b0723a5d20b88e92d473d22bf)

Signed-off-by: Emil Kronborg &lt;emil.kronborg@protonmail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
(cherry picked from commit 730d00b0d1d1d617b62900be12fa034bb41fc48b)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>insane.bbclass: fix HOST_ variable names</title>
<updated>2024-07-26T14:43:46+00:00</updated>
<author>
<name>Emil Kronborg</name>
<email>emil.kronborg@protonmail.com</email>
</author>
<published>2024-05-23T12:55:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8cb7901a51a0e2562624fff020a392413250be0d'/>
<id>urn:sha1:8cb7901a51a0e2562624fff020a392413250be0d</id>
<content type='text'>
Commit cd25e5544ca3 ("insane: use HOST_ variables, not TARGET_ to
determine the cross system") updated the variables themselves, but not
their names. To prevent confusion, match the Python variable name to the
BitBake variable name.

(From OE-Core rev: 7fd25eaa8fd5533d03d5f10792e2e6c30c64cc3c)

Signed-off-by: Emil Kronborg &lt;emil.kronborg@protonmail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
(cherry picked from commit f5bebc96580ec74d10bc96b4265357ebc9bcd6ad)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>insane.bbclass: remove skipping of cross-compiled packages</title>
<updated>2024-07-26T14:43:46+00:00</updated>
<author>
<name>Emil Kronborg</name>
<email>emil.kronborg@protonmail.com</email>
</author>
<published>2024-05-23T12:55:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9c030951054dc589d928d45bef22160f5fa368fb'/>
<id>urn:sha1:9c030951054dc589d928d45bef22160f5fa368fb</id>
<content type='text'>
After commit cd25e5544ca3 ("insane: use HOST_ variables, not TARGET_ to
determine the cross system"), this check is no longer necessary. The
introduction of HOST_ variables ensures architecture compatibility is
correctly checked.

(From OE-Core rev: dd29c810970038e9ee427cc1b75f61e708fcd0d5)

Signed-off-by: Emil Kronborg &lt;emil.kronborg@protonmail.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
(cherry picked from commit 6e1ddeb05dcd5ff77e0f5526a6e56a484daa4864)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>insane: handle dangling symlinks in the libdir QA check</title>
<updated>2024-07-03T13:28:37+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2024-04-30T13:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=93a9928cd74b2886a70a6c79b6a321cf984e5758'/>
<id>urn:sha1:93a9928cd74b2886a70a6c79b6a321cf984e5758</id>
<content type='text'>
The "libdir" QA check tries to open every file it finds as an ELF.  If
it finds a dangling symlink that looks like a library by the filename it
will try to open it and fail with FileNotFoundError error.  As this
dangling symlink probably points to a real file, silently absorb the
error.

[ YOCTO #13949 ]

(From OE-Core rev: 0c263b207a309e9cdf6f55ce72e3cc751041a47c)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit f044290f98ea66f2cecfbffd7d392dbc3d986da9)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>insane.bbclass: Allow the warning about virtual/ to be disabled</title>
<updated>2024-02-20T11:39:45+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2024-01-22T05:52:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1648d0e8f7327eb8ff34da2352e16f2591654be3'/>
<id>urn:sha1:1648d0e8f7327eb8ff34da2352e16f2591654be3</id>
<content type='text'>
Commit f673d3d239799fb1ab50f4aa5d44187666aa0cd7 introduced a warning for
virtual/ being used in RPROVIDES and RDEPENDS. Make it possible to
disable the warning by removing "virtual-slash from WARN_QA.

(From OE-Core rev: 968ffdb9fee5017eecce36ce878ea604c869ce95)

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: Clarify runtime/ warning</title>
<updated>2024-02-13T13:51:41+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2024-02-10T07:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9b5b62879979de3488c920f21ea358e72ff1e443'/>
<id>urn:sha1:9b5b62879979de3488c920f21ea358e72ff1e443</id>
<content type='text'>
We should be pointing people at VIRTUAL-RUNTIME, not virtual so tweak
the warning. Try and make it clear the difference between the build
dependencies and the runtime ones.

(From OE-Core rev: 01d815aa2c0bea113fb79b51bf67c0ff90d57dd2)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes-global/insane: Add check for "virtual/" in RPROVIDES and RDEPENDS</title>
<updated>2024-01-19T00:16:42+00:00</updated>
<author>
<name>Simone Weiß</name>
<email>simone.p.weiss@posteo.com</email>
</author>
<published>2024-01-14T17:19:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6e00774a79b3df07c5e6732c6929ee2e77950592'/>
<id>urn:sha1:6e00774a79b3df07c5e6732c6929ee2e77950592</id>
<content type='text'>
Fixes [YOCTO #14538]

Recipes shouldn't use "virtual/" in RPROVIDES and RDEPENDS. This was
addressed already in recipes in meta-oe and oe-core. Add a test for
this in insane.bbclass to ensure no regressions occur.

(From OE-Core rev: f673d3d239799fb1ab50f4aa5d44187666aa0cd7)

Signed-off-by: Simone Weiß &lt;simone.p.weiss@posteo.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>insane.bbclass: Python code cleanup in check_32bit_symbols</title>
<updated>2024-01-15T21:42:15+00:00</updated>
<author>
<name>Ola x Nilsson</name>
<email>olani@axis.com</email>
</author>
<published>2024-01-12T15:14:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fc2d534e38a75a99396e63bf374f92167d6331dc'/>
<id>urn:sha1:fc2d534e38a75a99396e63bf374f92167d6331dc</id>
<content type='text'>
(From OE-Core rev: 67b06035326048323f972107f66eb50cf74def0b)

Signed-off-by: Ola x Nilsson &lt;olani@axis.com&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>
<entry>
<title>insane.bbclass: Check for adjtime in check_32_bit_symbols</title>
<updated>2024-01-15T21:42:15+00:00</updated>
<author>
<name>Ola x Nilsson</name>
<email>olani@axis.com</email>
</author>
<published>2024-01-12T15:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ad3eb83b56fd9adc96bfc000f589eb95bc35bcaf'/>
<id>urn:sha1:ad3eb83b56fd9adc96bfc000f589eb95bc35bcaf</id>
<content type='text'>
adjtime was overlooked in the original commit.

(From OE-Core rev: 07faecd87e77716cfedffeadc52e0982edfd6c7e)

Signed-off-by: Ola x Nilsson &lt;olani@axis.com&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>
<entry>
<title>classes-global/insane: Look up all runtime providers for file-rdeps</title>
<updated>2023-12-24T10:39:07+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>JPEWhacker@gmail.com</email>
</author>
<published>2023-12-20T18:02:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cd125f1703fcf06c995cc6c74990a6a70fdc9536'/>
<id>urn:sha1:cd125f1703fcf06c995cc6c74990a6a70fdc9536</id>
<content type='text'>
Uses the new foreach_runtime_provider_pkgdata() API to look up all
possible runtime providers of a given dependency when resolving
file-rdeps. This allows the check to correctly handle RPROVIDES for
non-virtual dependencies

(From OE-Core rev: 018fa1b7cb5e6a362ebb45b93e52b0909a782ac9)

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