<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/package_rpm.bbclass, branch yocto-3.3.5</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-3.3.5</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-3.3.5'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2021-06-03T15:31:02+00:00</updated>
<entry>
<title>package_rpm: pass XZ_THREADS to rpm</title>
<updated>2021-06-03T15:31:02+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=38f227e7ad9ec301142425c0d31e0d9c09b3b658'/>
<id>urn:sha1:38f227e7ad9ec301142425c0d31e0d9c09b3b658</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>package/package_rpm: Disable font_provides configuration for reproducibilty</title>
<updated>2021-02-26T15:21:20+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-02-24T21:51:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=61d9c0b77bedf1d6d37437447eb6b154c2d84a78'/>
<id>urn:sha1:61d9c0b77bedf1d6d37437447eb6b154c2d84a78</id>
<content type='text'>
The host may or may not have fc-cache which is used for find provides
information by rpmdeps. This lead to non-deterministic build output.
Disable the font provides code so we have deterministic builds,
we have nothing using/relying on it at this point.

Need to disable this in both the rpmdeps code and in package_rpm
itself although the latter shouldn't be being used.

(From OE-Core rev: 1c0cd8012a96fd4d9caf33c6de5fd39cea6db55d)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>package_rpm: Enable use_source_date_epoch_as_buildtime in package_rpm class</title>
<updated>2021-02-19T11:17:11+00:00</updated>
<author>
<name>Jan-Simon Möller</name>
<email>jsmoeller@linuxfoundation.org</email>
</author>
<published>2021-02-18T14:25:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0ccf53d8e10c3ea50372357b2e0113c8b23703f9'/>
<id>urn:sha1:0ccf53d8e10c3ea50372357b2e0113c8b23703f9</id>
<content type='text'>
Adding --define 'use_source_date_epoch_as_buildtime 1' to rpmbuild
ensure that the rpm header does have a consistent BUILDTIME tag.

This allows the rpms to be built reproducibly.

(From OE-Core rev: f16721df6b3d0d3e681d9a1b3393417bd62b6275)

Signed-off-by: Jan-Simon Möller &lt;jsmoeller@linuxfoundation.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>classes: Drop now unneeded umask flags</title>
<updated>2021-02-16T11:28:17+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-02-14T11:47:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=522607e704876c67ed093bac47dde9238709ccae'/>
<id>urn:sha1:522607e704876c67ed093bac47dde9238709ccae</id>
<content type='text'>
Now that 022 is the default in BB_DEFAULT_UMASK in bitbake.conf, we
don't need any of these task flags, clean up.

(From OE-Core rev: 816fca781943a7dbf40391d9db34c7bf12711962)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>package_rpm: Clean up unset runtime package variable handling</title>
<updated>2021-01-29T21:21:53+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-01-27T21:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b033409243932a1d4e565d87154a436fa8531f1f'/>
<id>urn:sha1:b033409243932a1d4e565d87154a436fa8531f1f</id>
<content type='text'>
If the R* runtime package variables are unset it could cause trackbacks. There
were some fallbacks already, clean this up to handle consistently.

The code was expecting strings but setting defaults of empty lists
which silently were converted to strings by the "or" statements which
was a nightmare to understand or alter.

(From OE-Core rev: 06bf68012302330c2b14f59541f78f48c7389c37)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>nativesdk-sdk-provides-dummy: Add /bin/sh</title>
<updated>2020-08-22T14:46:55+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2020-08-20T23:19:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fd2081188ca0ebc4755a3473b64b22842333a722'/>
<id>urn:sha1:fd2081188ca0ebc4755a3473b64b22842333a722</id>
<content type='text'>
By doing this we can revert b18c32ab6bc9c4f1953e9f79aa39bc92d1c4e30d which
was a pretty ugly hack anyway and now means the different providers are all
being handled consistently.

Anyone with SDK recipes will need to ensure nativesdk-sdk-provides-dummy
is included in those builds (or an equivalent). This is a good thing to
do anyway.

(From OE-Core rev: dd2c603befdd65c92c6196d5b103568249766b3e)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>package_rpm.bbclass: add PACKAGE_ADD_METADATA_RPM to sstate variables</title>
<updated>2020-05-25T21:25:53+00:00</updated>
<author>
<name>Michael Ho</name>
<email>Michael.Ho@bmw.de</email>
</author>
<published>2020-05-25T08:23:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a3cd8fe20607705324af8e64be5ddaf48b6d5137'/>
<id>urn:sha1:a3cd8fe20607705324af8e64be5ddaf48b6d5137</id>
<content type='text'>
Refactor the addition of vardeps for this package class to use RPMEXTRAVARS
and pass the items through gen_packagevar so package name specific overrides
are accounted for. This matches the style used in package_ipk.bbclass. Since
do_package_write_rpm does not have any "extra vars" that affect the rpm
packaging yet, this commit has to add the variable.

This refactoring is needed to add PACKAGE_ADD_METADATA_RPM to RPMEXTRAVARS
so it affects the sstate hash of do_package_write_rpm.

(From OE-Core rev: 9e1907d7bd5f825d5ccca1da2a1e6ccc494088dd)

Signed-off-by: Michael Ho &lt;Michael.Ho@bmw.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>package_rpm.bbclass: respect package overrides for the main package</title>
<updated>2020-05-25T21:25:53+00:00</updated>
<author>
<name>Michael Ho</name>
<email>Michael.Ho@bmw.de</email>
</author>
<published>2020-05-25T07:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=c03dbb5afd6de0f94b0d83e7500fd738b2e5336f'/>
<id>urn:sha1:c03dbb5afd6de0f94b0d83e7500fd738b2e5336f</id>
<content type='text'>
Apply ${PN} to OVERRIDES when determining the base package spec variables.
Without this, there is a mismatch in behaviour where overrides for the base
package have no effect while overrides for subpackages do. The subpackages
should not be affected by this override as they apply their own package
overrides and will by default fetch the base variables and apply them in
the spec file.

This makes the behaviour for package overrides match the implementation
in package_deb.bbclass and package_ipk.bbclass.

(From OE-Core rev: b438a90fa4644dd3e5355f82730257ef579ceda9)

Signed-off-by: Michael Ho &lt;Michael.Ho@bmw.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>package_rpm.bbclass: Remove a misleading bb.note()</title>
<updated>2019-09-19T19:30:35+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>peter.kjellerstedt@axis.com</email>
</author>
<published>2019-09-19T16:35:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=62c67d0c0d8913871ee169578e05a6b14a51901d'/>
<id>urn:sha1:62c67d0c0d8913871ee169578e05a6b14a51901d</id>
<content type='text'>
It should have been removed in 3db9d865 (classes/package_rpm.bbclass:
Enhance diagnostic messages) when it was split in two new notes.

Also change the casing of two other notes to align them with the other
notes.

(From OE-Core rev: b40e245795cd19c7d36df096fa1f30c75490ce46)

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>package_rpm.bbclass: python2 -&gt; python3</title>
<updated>2019-06-30T21:40:52+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2019-06-28T12:23:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=dcce395782ae9adf9554892f1e5cba01f15320b1'/>
<id>urn:sha1:dcce395782ae9adf9554892f1e5cba01f15320b1</id>
<content type='text'>
(From OE-Core rev: 8208fffc95b46e03bab967462c17d83e0a687d50)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
