<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes, branch hardknott-next</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=hardknott-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=hardknott-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2021-06-02T22:32:45+00:00</updated>
<entry>
<title>package_rpm: pass XZ_THREADS to rpm</title>
<updated>2021-06-02T22:32:45+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross@burtonini.com</email>
</author>
<published>2021-05-26T14:59:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=eb766b57aa7963ef7dc227d175e67084ca5f4a50'/>
<id>urn:sha1:eb766b57aa7963ef7dc227d175e67084ca5f4a50</id>
<content type='text'>
By default RPM uses the number of cores as the number of threads to use,
which can result in quite antisocial memory usage.

As we control the macros for compression anyway, we can pass XZ_THREADS
to limit the number of threads if needed.

(From OE-Core rev: 959e1faa911ee67d5d84a57b932135b76cac6a53)

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>sstate: Ignore sstate signing key</title>
<updated>2021-05-30T07:19:35+00:00</updated>
<author>
<name>Daniel McGregor</name>
<email>daniel.mcgregor@vecima.com</email>
</author>
<published>2021-05-18T22:09:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bf706462a02fe1daaeca4046b4055f7265b6dd35'/>
<id>urn:sha1:bf706462a02fe1daaeca4046b4055f7265b6dd35</id>
<content type='text'>
What key is used to sign sstate artefacts should not affect the hash of
the object, otherwise everyone would need to use the same signing key.

(From OE-Core rev: 01a9358abe821c1da06c3243ccbcc93348042937)

Signed-off-by: Daniel McGregor &lt;daniel.mcgregor@vecima.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>baremetal-image: Fix post process command rootfs_update_timestamp</title>
<updated>2021-05-30T07:19:35+00:00</updated>
<author>
<name>Alejandro Hernandez Samaniego</name>
<email>alejandro@enedino.org</email>
</author>
<published>2021-05-19T15:59:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e9f9ca2da778aa0ab3ff4980c42022b5ef23fae9'/>
<id>urn:sha1:e9f9ca2da778aa0ab3ff4980c42022b5ef23fae9</id>
<content type='text'>
When running:

execute_pre_post_process(d, d.getVar(ROOTFS_POSTPROCESS_COMMAND))

rootfs_update_timestamp is run, which assumes that rootfs/${sysconfdir}
is already created (usually done through the do_rootfs task on linux).

This causes the build to fail if ${sysconfdir} does not exist.

This may be overlooked if debug-tweaks is enabled since some other
commands are added, one of which creates the required path
(see postinst_enable_logging).

See [1] for more info:

[1] https://github.com/aehs29/meta-freertos/issues/4

(From OE-Core rev: 179a912bf10ba02448e8d603043c454ca678ac60)

Signed-off-by: Alejandro Enedino Hernandez Samaniego &lt;alejandro@enedino.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sstate: Handle manifest 'corruption' issue</title>
<updated>2021-05-22T09:03:10+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-05-14T17:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1170b40cd23978aac9d8e73ee6e30e8ee77e2a50'/>
<id>urn:sha1:1170b40cd23978aac9d8e73ee6e30e8ee77e2a50</id>
<content type='text'>
Under certain build patterns, warnings about missing manifests can appear. These
are real issues where the manifest was removed and shouldn't have been.

Martin Jansa was able to find a reproducer of:

MACHINE=qemux86 bitbake zlib-native
echo 'PR = "r1"' &gt;&gt; meta/recipes-core/zlib/zlib_1.2.11.bb
MACHINE=qemux86-64 bitbake zlib-native
MACHINE=qemux86 bitbake zlib-native
&lt;the zlib-native manifest is now removed along with the sysroot-components contents&gt;

The code maintains a per machine list of stamps but a per PACAGE_ARCH list of
stamp/manifest/workdir mappings. The latter is only appended to for speed with
the assumption that once stamps are gone, the code wouldn't trigger.

The code only ever appends to the mapping list (for speed/efficency under lock)
meaning that multiple entries can result where the stamp/workdir differs due to
version changes but the manifest remains the same.

By switching MACHINE part way through the build, the older stamp is referenced
and the manifest is incorrectly removed as it matches an now obsolete entry in
the mapping file.

There are two possible fixes, one is to rewrite the mapping file every time
which means adding regexs, iterating and generally complicating that code. The
second option is to only use the last mapping entry in the file for a given
manifest and ignore any earlier ones. This patch implments the latter.

Also drop the stale entries if we are rewriting it.

(From OE-Core rev: fe468802f697d0be41cf3407df2460e1473e35f8)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>image.bbclass: fix comment "pacackages" -&gt; "packages"</title>
<updated>2021-05-22T09:01:03+00:00</updated>
<author>
<name>Robert P. J. Day</name>
<email>rpjday@crashcourse.ca</email>
</author>
<published>2021-05-13T09:30:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b8d87e1f00a43162c2cea36488ce41bc0689fdf3'/>
<id>urn:sha1:b8d87e1f00a43162c2cea36488ce41bc0689fdf3</id>
<content type='text'>
(From OE-Core rev: 114bdccb2723f1479e68e9a0da39c87ef9c51be1)

Signed-off-by: Robert P. J. Day &lt;rpjday@crashcourse.ca&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sanity.bbclass: mention CONNECTIVITY_CHECK_URIS in network failure message</title>
<updated>2021-05-15T16:18:21+00:00</updated>
<author>
<name>Michael Opdenacker</name>
<email>michael.opdenacker@bootlin.com</email>
</author>
<published>2021-05-05T17:56:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6f1d6448c5b2711f04e6b3798aef10b39669bcac'/>
<id>urn:sha1:6f1d6448c5b2711f04e6b3798aef10b39669bcac</id>
<content type='text'>
This expands the error message when a network failure is detected.
It happens that some ISPs or networks block the default example.com
domain. Therefore, instead of disabling network access, it
lets the user know how to modify the test URL.

(From OE-Core rev: f54eaf65ff549a98ff98157d6b3aa48f9adc9ca5)

Signed-off-by: Michael Opdenacker &lt;michael.opdenacker@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 62c94bb925543c1e1c5af3c751913d9f06d9597d)
Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes/image: Use xargs to set file timestamps</title>
<updated>2021-05-11T11:02:29+00:00</updated>
<author>
<name>Joshua Watt</name>
<email>JPEWhacker@gmail.com</email>
</author>
<published>2021-05-05T21:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cc5c08c1bbdf4c95dfc72b8800178e14ce1ab323'/>
<id>urn:sha1:cc5c08c1bbdf4c95dfc72b8800178e14ce1ab323</id>
<content type='text'>
Instead of having find directly invoke touch for each file in the root
file system, pass a list to xargs for batching. This significantly
reduces the number of times the touch program is invoked and speeds up
the do_image task time:

    PKG           TASK      ABSDIFF  RELDIFF  CPUTIME1 -&gt; CPUTIME2
    my-image      do_image   -45.3s   -94.2%     48.1s -&gt; 2.8s

    Cumulative cputime:
      -44.3s    -92.3%    00:48.1 (48.1s) -&gt; 00:03.7 (3.7s)

(From OE-Core rev: caa63cae723b9025943f3d60dd8ae852fc52addc)

Signed-off-by: Joshua Watt &lt;JPEWhacker@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 15c65f90a3aa1e98c2beab2539403157df1fca08)
Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>license_image.bbclass: Fix symlink to generic license files</title>
<updated>2021-05-11T11:02:29+00:00</updated>
<author>
<name>Reto Schneider</name>
<email>reto.schneider@husqvarnagroup.com</email>
</author>
<published>2021-04-26T21:27:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=344481289bc35212504f96920528925645d84fd1'/>
<id>urn:sha1:344481289bc35212504f96920528925645d84fd1</id>
<content type='text'>
Link to the canonical filename of a license as only this one exists.

Fixes commit 670fe71dd18ea675f35581db4a61fda137f8bf00
[license_image.bbclass: use canonical name for license files].

(From OE-Core rev: e24510fbb1439d56a278e2b5fc036d11a24e23df)

Signed-off-by: Reto Schneider &lt;reto.schneider@husqvarnagroup.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 64b1ba978e079c345e1f7fbd1bf44052fc3dd857)
Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>license_image.bbclass: Detect broken symlinks</title>
<updated>2021-05-11T11:02:28+00:00</updated>
<author>
<name>Reto Schneider</name>
<email>reto.schneider@husqvarnagroup.com</email>
</author>
<published>2021-04-26T21:27:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ba3ea82f68993f00dfc9baa38b750fc7d3beee7c'/>
<id>urn:sha1:ba3ea82f68993f00dfc9baa38b750fc7d3beee7c</id>
<content type='text'>
Find and report symlinks which point to a non-existing file.

(From OE-Core rev: afeefde357e468ba79570208bd67d097b9cb9ee1)

Signed-off-by: Reto Schneider &lt;reto.schneider@husqvarnagroup.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 81809a1ffe67aade1b2ed66fe95044ffbf7d3df8)
Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cmake.bbclass: remove ${B} before cmake_do_configure</title>
<updated>2021-05-04T21:57:51+00:00</updated>
<author>
<name>Kai Kang</name>
<email>kai.kang@windriver.com</email>
</author>
<published>2021-04-23T03:29:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=509dd69bad77320e6e910c8e6dc4091d5c482f6a'/>
<id>urn:sha1:509dd69bad77320e6e910c8e6dc4091d5c482f6a</id>
<content type='text'>
It is fallible to remove ${B} in directory ${B} itself. And it does fail
when call bitbake by third-party wrapper script.

Use flag 'cleandirs' to remove ${B} first if build out of source tree.

(From OE-Core rev: db6a315e5f6de02e226e582f878a83c427fd87cc)

Signed-off-by: Kai Kang &lt;kai.kang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 0fb6280432a36985590d9a714a5f11164aaebb51)
Signed-off-by: Anuj Mittal &lt;anuj.mittal@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
