<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes-recipe, branch 5.1_M2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=5.1_M2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=5.1_M2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2024-07-13T22:28:31+00:00</updated>
<entry>
<title>classes-recipe/baremetal-image: Add image file manifest</title>
<updated>2024-07-13T22:28:31+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>JPEWhacker@gmail.com</email>
</author>
<published>2024-07-12T15:58:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=af8bca244faa8aefb0188609cec50944a410cb25'/>
<id>urn:sha1:af8bca244faa8aefb0188609cec50944a410cb25</id>
<content type='text'>
Downstream tasks may want to know what image files were written so write
out a manifest in do_image_complete. The format of the manifest is the
same as the one in image.bbclass

(From OE-Core rev: 4c4f1e020533c26f90e95960745f6de90d77e64e)

Signed-off-by: Joshua Watt &lt;JPEWhacker@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes-recipe: nospdx: Add class</title>
<updated>2024-07-13T22:28:31+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>JPEWhacker@gmail.com</email>
</author>
<published>2024-07-03T13:59:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f72d264226364a874835fa526ebf31c4a1e05911'/>
<id>urn:sha1:f72d264226364a874835fa526ebf31c4a1e05911</id>
<content type='text'>
Adds a class that allows recipes to opt out of generating SPDX

(From OE-Core rev: 170277da0dc34e3f797451473ebfbde82922f593)

Signed-off-by: Joshua Watt &lt;JPEWhacker@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes-recipe/image_types: Add SPDX_IMAGE_PURPOSE to images</title>
<updated>2024-07-13T22:28:31+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>JPEWhacker@gmail.com</email>
</author>
<published>2024-07-03T13:59:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=26038959319c0b8b3098afdc5d39a4ddfb31a500'/>
<id>urn:sha1:26038959319c0b8b3098afdc5d39a4ddfb31a500</id>
<content type='text'>
Adds the variable overrides to set the SPDX image purpose for various
image types

(From OE-Core rev: e1a8f59462d88c92dfdb3632ca95ded094c9472a)

Signed-off-by: Joshua Watt &lt;JPEWhacker@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes-recipe/image: Add image file manifest</title>
<updated>2024-07-13T22:28:31+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>JPEWhacker@gmail.com</email>
</author>
<published>2024-07-03T13:59:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8ec959bb88ef909fb90f9e984f2916c214b5761c'/>
<id>urn:sha1:8ec959bb88ef909fb90f9e984f2916c214b5761c</id>
<content type='text'>
Downstream tasks may want to know what image files were written by the
do_image family of tasks (e.g. SPDX) so have each task write out a
manifest file that describes the files it produced, then aggregate them
in do_image_complete

(From OE-Core rev: 5e55ed4c5b9d5af3c96b82805af34af1512fc3d1)

Signed-off-by: Joshua Watt &lt;JPEWhacker@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>kernel-fitimage: fix handling of empty default dtb</title>
<updated>2024-07-13T22:28:30+00:00</updated>
<author>
<name>Adrian Freihofer</name>
<email>adrian.freihofer@siemens.com</email>
</author>
<published>2024-07-04T07:09:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0dfd37f2408cbdb32de5553e30b96efee5798a3b'/>
<id>urn:sha1:0dfd37f2408cbdb32de5553e30b96efee5798a3b</id>
<content type='text'>
Fix error in run.do_assemble_fitimage_initramfs.2779256:
             line 238: [: =: unary operator expected
if FIT_CONF_DEFAULT_DTB is empty.

(From OE-Core rev: 19a6eea0951404403dcb5d0deeda8558b1337f82)

Signed-off-by: Adrian Freihofer &lt;adrian.freihofer@siemens.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>testexport: fallback for empty IMAGE_LINK_NAME</title>
<updated>2024-07-08T08:17:09+00:00</updated>
<author>
<name>Konrad Weihmann</name>
<email>kweihmann@outlook.com</email>
</author>
<published>2024-07-03T04:47:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2de2968b8c142589a6fad47b9a82771ab7e5c0ab'/>
<id>urn:sha1:2de2968b8c142589a6fad47b9a82771ab7e5c0ab</id>
<content type='text'>
if IMAGE_LINK_NAME is set empty to disable the symlinking
for image artifacts in deploy, testexport fails, as the path assembly
is incorrect.
In that case fallback to IMAGE_NAME

(From OE-Core rev: 0c1d098e6dd08fa3a5aafca656457ac6badcef89)

Signed-off-by: Konrad Weihmann &lt;kweihmann@outlook.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>qemuboot: Trigger write_qemuboot_conf task on changes of kernel image realpath</title>
<updated>2024-07-04T21:56:15+00:00</updated>
<author>
<name>Weisser, Pascal.ext</name>
<email>Pascal.Weisser.ext@karlstorz.com</email>
</author>
<published>2024-07-03T10:56:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2e9e8f6fb3415f9aac6b5f96e8e7c8d9ced5beb5'/>
<id>urn:sha1:2e9e8f6fb3415f9aac6b5f96e8e7c8d9ced5beb5</id>
<content type='text'>
The qemuboot.conf file contains the realpath of the kernel image
referenced by QB_DEFAULT_KERNEL. So, it must be recreated in case the
realpath of the referenced kernel image changes.

The variables KERNEL_IMAGE_NAME and KERNEL_IMAGE_BIN_EXT determine the
realpath of the kernel image relative to DEPLOY_DIR_IMAGE. Adding both of
them to the vardeps of the write_qemuboot_conf task triggers the
write_qemuboot_conf task in case the realpath of the kernel image
referenced by QB_DEFAULT_KERNEL changes.

Fixes: [YOCTO 15525]

(From OE-Core rev: f8b3975a9ce36ea7af5fd76243a823da2842415b)

Signed-off-by: "Weisser, Pascal" &lt;pascal.weisser.ext@karlstorz.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>populate_sdk_ext.bclass: make sure OECORE_NATIVE_SYSROOT is exported.</title>
<updated>2024-07-02T21:29:13+00:00</updated>
<author>
<name>Gauthier HADERER</name>
<email>ghaderer@wyplay.com</email>
</author>
<published>2024-06-27T08:42:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=662cda7e94df152aec4ba90f3773fc5da9054c6b'/>
<id>urn:sha1:662cda7e94df152aec4ba90f3773fc5da9054c6b</id>
<content type='text'>
Fixes bug 15464.

OECORE_NATIVE_SYSROOT is correctly set up and exported in the SDK's
environment file. But it's then unset in buildtools/environment-setup-*.
The value is restored in the SDK's environment file but is not exported
again.

(From OE-Core rev: 825c996b7995d3ad510933b1a88229831ca5ea29)

Signed-off-by: Gauthier HADERER &lt;ghaderer@wyplay.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>testimage: fallback for empty IMAGE_LINK_NAME</title>
<updated>2024-07-02T21:29:13+00:00</updated>
<author>
<name>Konrad Weihmann</name>
<email>kweihmann@outlook.com</email>
</author>
<published>2024-06-30T13:45:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=309d1bd9357e91934dce1e8fe415cf945a264be8'/>
<id>urn:sha1:309d1bd9357e91934dce1e8fe415cf945a264be8</id>
<content type='text'>
if IMAGE_LINK_NAME is set empty to disable the symlinking
for image artifacts in deploy, testimage fails, as the path assembly
is incorrect.
In that case fallback to IMAGE_NAME

(From OE-Core rev: c7a4e7e294992acc589c62adcaf6cd32659f2f9b)

Signed-off-by: Konrad Weihmann &lt;kweihmann@outlook.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>native/nativesdk: Stop overriding unprefixed *FLAGS variables</title>
<updated>2024-07-01T12:58:08+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2024-06-13T08:31:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3c1c56ec07d6f507077458faf5818ff4a88dce98'/>
<id>urn:sha1:3c1c56ec07d6f507077458faf5818ff4a88dce98</id>
<content type='text'>
We're currently encouraging an "arms race" with the FLAGS variables since
a recipe might want to set a specific flag for all variants but to do so,
+= won't work due to the assignment in the native/nativesdk class files. This
means recipes are using append.

Since the default variables are constructed out of TARGET_XXX variables and
we redefine these, there is no need to re-define the un-prefixed variables. If
we drop that, the += appends and similar work and recipes don't have to resort
to append.

Change the classes and cleanup a number of recipes to adapt to the change. This
change will result in some flags appearing to some native/nativesdk variants
but that is probably what was originally expected anyway.

(From OE-Core rev: a157b2f9d93428ca21265cc860a3b58b3698b3aa)

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