Commit Graph

52800 Commits

Author SHA1 Message Date
Michael Opdenacker
0769ff28db systemd-compat-units.bb: fix postinstall script
This fixes an issue running "opkg upgrade" on a system with systemd
(and when there is an update to "systemd-compat-units",
for example between yocto 4.2.2 and 4.2.3):

//var/lib/opkg/info/systemd-compat-units.postinst: cd: line 3: can't cd to /etc/init.d: No such file or directory

The existence of /etc/init.d is now tested
without causing an error if doesn't exist.

Fixes [YOCTO #15292]

(From OE-Core rev: 0330331a1386fd2a34b410a7f62b29bfc8dc23c4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-27 22:54:59 +00:00
Tim Orling
e59dcbc114 python3-sphinxcontrib-serializinghtml: 1.1.5 -> 1.1.9
* Upstream download filename changed from sphinxcontrib-serializinghtml*
  to sphinxcontrib_serializinghtml*
* build-backend is now flit (inherit python_flit_core)

Release 1.1.9 (2023-08-20)
==========================

* Serialise context["script_files"] and context["css_files"] as their filenames
  on Sphinx 7.2.0.

  Release 1.1.8 (2023-08-14)
  ==========================

  * Use ``os.PathLike`` over ``pathlib.Path``

  Release 1.1.7 (2023-08-09)
  ==========================

  * Fix tests for Sphinx 7.1 and below

  Release 1.1.6 (2023-08-07)
  ==========================

  * Drop support for Python 3.5, 3.6, 3.7, and 3.8
  * Raise minimum required Sphinx version to 5.0

https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/compare/1.1.5...1.1.9

(From OE-Core rev: 38e035e1165a7d58a7de8b129b3f9e4a9faa275f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-27 22:54:59 +00:00
Tim Orling
54a972040d python3-sphinxcontrib-qthelp: 1.0.3 -> 1.0.6
* Upstream download filename changed from sphinxcontrib-qthelp*
  to sphinxcontrib_qthelp*
* build-backend changed to flit (inherit python_flit_core)

Release 1.0.6 (2023-08-14)
==========================

* Use ``os.PathLike`` over ``pathlib.Path``

Release 1.0.5 (2023-08-09)
==========================

* Fix tests for Sphinx 7.1 and below

Release 1.0.4 (2023-08-07)
==========================

* Drop support for Python 3.5, 3.6, 3.7, and 3.8
* Raise minimum required Sphinx version to 5.0

https://github.com/sphinx-doc/sphinxcontrib-qthelp/compare/1.0.3...1.0.6

(From OE-Core rev: a38ec60aa0a3eece7060cc86f1aae161072e212e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-27 22:54:59 +00:00
Tim Orling
4460123d04 python3-sphinxcontrib-htmlhelp: 2.0.1 -> 2.0.4
* Upstream download filename changed from sphinxcontrib-htmlhelp*
  to sphinxcontrib_htmlhelp*
* build-backend is now flit (inherit python_flit_core)

Release 2.0.4 (2023-08-14)
==========================

* Use ``os.PathLike`` over ``pathlib.Path``

Release 2.0.3 (2023-08-09)
==========================

* Fix tests for Sphinx 7.1 and below

Release 2.0.2 (2023-08-07)
==========================

* Drop support for Python 3.8
* Raise minimum required Sphinx version to 5.0

https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/compare/2.0.1...2.0.4

(From OE-Core rev: 062d5f058f6b283f612fcf745f6bb76ad51aebe2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-27 22:54:59 +00:00
Tim Orling
ba982b8ecf python3-sphinxcontrib-devhelp: 1.0.2 -> 1.0.5
* Upstream download filename changed from sphinxcontrib-devhelp*
  to sphinxcontrib_devhelp*
* build-backend is now flit (inherit python_flit_core)

Release 1.0.5 (2023-08-14)
==========================

* Use ``os.PathLike`` over ``pathlib.Path``

Release 1.0.4 (2023-08-09)
==========================

* Fix tests for Sphinx 7.1 and below

Release 1.0.3 (2023-08-07)
=========================

* Drop support for Python 3.5, 3.6, 3.7, and 3.8
* Raise minimum required Sphinx version to 5.0

https://github.com/sphinx-doc/sphinxcontrib-devhelp/compare/1.0.2...1.0.5

(From OE-Core rev: 2dfca75f697faafa84e896a2aae67071b8401ce6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-27 22:54:59 +00:00
Tim Orling
1a07f7ab5e python3-sphinxcontrib-applehelp: 1.0.4 -> 1.0.7
* Upstream changed download file name from sphinxcontrib-applelhelp* to
  sphinxcontrib_applehelp*
* build-backend is now flit (inherit python_flit_core)

Release 1.0.7 (2023-08-14)
==========================

* Use ``os.PathLike`` over ``pathlib.Path``

Release 1.0.6 (2023-08-09)
==========================

* Fix tests for Sphinx 7.1 and below

Release 1.0.5 (2023-08-07)
==========================

* Drop support for Python 3.8
* Raise minimum required Sphinx version to 5.0

https://github.com/sphinx-doc/sphinxcontrib-applehelp/compare/1.0.4...1.0.7

(From OE-Core rev: a0cc690e50b83be6e9067ef81b3aefb16580acc7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-27 22:54:59 +00:00
Richard Purdie
1872cc9d50 Revert "binutils: Fix CVE-2022-47007"
This reverts commit 3f335913bbbabf48db1749d197c3bfaac9fb7236.

This CVE shouldn't affect master, it is for binutils versions 2.34
thru 2.38, while master is 2.41

See: https://nvd.nist.gov/vuln/detail/CVE-2022-47007

Later in commit:

https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=19cacf672930cee20feaf1f3468e3d5ac3099ffd

elements of the CVE fix are reverted deliberately so match upstream for this
and drop this 'fix'.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 14:59:06 +00:00
Ross Burton
84e68041a2 rust-llvm: remove python3native dependency
LLVM doesn't actually need a native Python3 as the host Python is
sufficient, but as it then looks at the host for optional Python
dependencies explicitly disable their detection so that rust-llvm
remains deterministic.  As this is a minimal LLVM for Rust, we don't
need the optviewer tool.

(From OE-Core rev: c6971d9d9a9d9a83615508d244778ddc89a94b8a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:46:42 +00:00
Deepthi Hemraj
b7f0164393 binutils: Fix CVE-2022-47007
(From OE-Core rev: 3f335913bbbabf48db1749d197c3bfaac9fb7236)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:46:42 +00:00
Anuj Mittal
97170cf8ea vulkan: upgrade 1.3.261.1 -> 1.3.268.0
* Allow glslang to find external spirv-tools to build.
* Vulkan-validation-layers has been split. So a new recipe
Vulkan-Utility-Libraries has been added and vulkan-validation-layers now
depends on it.

(From OE-Core rev: 63bdeb74b133840f9d6f55093bf16f5a8a5d0ab7)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:46:42 +00:00
Peter Kjellerstedt
541868630f oeqa/selftest/tinfoil: Add tests that parse virtual recipes
Running `devtool search gcc` would result in errors for virtual recipes.
The reason was the newly introduced :layer-<layername> override.

When tinfoil parsed the recipes using the parseRecipeFile() function, it
failed to properly identify the layername for virtual recipes, which
resulted in the errors.

Add tests that exercise these code paths through parseRecipeFile().

(From OE-Core rev: cf7f34f93f9f90279412ea57d6d5930854d411ba)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:46:42 +00:00
Anuj Mittal
b6906962b7 sqlite3: upgrade 3.43.2 -> 3.44.0
(From OE-Core rev: 9d0aab7e94a5862e2a7003ebbc5704ec713dfb28)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:46:42 +00:00
Anuj Mittal
6e8a40e613 puzzles: upgrade to latest revision
(From OE-Core rev: 2d1364a9a590cfb84bb47ca38a6b626769e960a8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:46:42 +00:00
Anuj Mittal
3fb0fe602d mmc-utils: upgrade to latest revision
(From OE-Core rev: b7f8e818a83772ecab14655f9e0fba56960ec282)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:46:42 +00:00
Anuj Mittal
b110b7624f libtirpc: upgrade 1.3.3 -> 1.3.4
(From OE-Core rev: bfddff1bd6503729eceb905412f9c5c944a59d55)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:46:41 +00:00
Anuj Mittal
6eac376e8b libnotify: upgrade 0.8.2 -> 0.8.3
(From OE-Core rev: 4176272fe33039302f0685ba96f5202a113bce7f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:46:41 +00:00
Anuj Mittal
8aedcd7c41 harfbuzz: upgrade 8.2.2 -> 8.3.0
(From OE-Core rev: 5b5c9d86e7face83b7a5c21ca88056daaaede5e4)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:46:41 +00:00
Anuj Mittal
69ffd9d4c4 gsettings-desktop-schemas: upgrade 44.0 -> 45.0
(From OE-Core rev: 381d785bd35c11ea766c771663a1272fc359bb2c)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:46:41 +00:00
Anuj Mittal
7081513cf9 gstreamer1.0: upgrade 1.22.6 -> 1.22.7
(From OE-Core rev: f6be55ef1e862d93d8275fb5792e6c66b0a0beee)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:46:41 +00:00
Richard Purdie
18c5b54a95 package_ipk: Fix Source: field variable dependency
The Source: variable is generated from FILE but this is excluded from checksums
normally which results in a reproduciubility issue when the filename changes.

Add in a dependency by reworking the code a little to avoid this.

(From OE-Core rev: 3ea7da76c6930031a0071069027b1d71f737fbc9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:12:00 +00:00
Ross Burton
dde36b7b78 shared-mime-info: embed PV in the filename
As this recipe tracks the release tags we can embed the PV in the
filename.

(From OE-Core rev: 6eae2b57d01be9906d0933be22a99e370b529b2e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:12:00 +00:00
Richard Purdie
69ed412751 bitbake.conf: Log events by default using BB_DEFAULT_EVENTLOG
By setting this, event data from during the build is saved out. This can
be used for analytic including toaster to allow builds to be examined
later. This will use some disk space but it is worth it for the ability
to look into what happened during the build. Users can set the value to
something else in local.conf to override if they wish.

(From OE-Core rev: 4719b68bb9e3cccb85aed55350e53a439360abcb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:12:00 +00:00
Richard Purdie
938abfa570 oeqa/selftest/sstatetests: Re-enable CDN tests
I believe other fixes and cleanup means the CDN tests are now working
correctly, so enable it.

(From OE-Core rev: baabe012e158e387a692b234920eeab977c27440)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-23 12:12:00 +00:00
Tim Orling
4bc0346d8c python3-poetry-core: upgrade 1.7.0 -> 1.8.1
https://github.com/python-poetry/poetry-core/blob/1.8.1/CHANGELOG.md#181---2023-10-31
https://github.com/python-poetry/poetry-core/blob/1.8.1/CHANGELOG.md#180---2023-10-31

License-Update: add vendored fastjsonschema (BSD-3-Clause)
License-Update: drop vendored attr,attrs,jsonschema,pyrsistent (no change to LICENSEs)

(From OE-Core rev: abb8ae82f44feb1cdee489805677222322f58729)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-22 14:08:48 +00:00
Ross Burton
c15a717aa0 oeqa/selftest/debuginfod: improve selftest
This test was occasionally failing for no obvious reason, so refactor
and improve:

- While waiting for the daemon, check that it is still running and
  explicitly timeout after 10s when making the HTTP call.

- While waiting for the daemon to be ready, log the current state of the
  daemon so we can tell if we're timing out as it is still scanning.

- This was in fact the cause of the intermittant failures, because the
  TMPDIR is reused between tests and may contain a large number of
  packages. Do the tests in an isolated TMPDIR to hopefully mitigate this
  issue and increase the timeout to two minutes.

- Decorate the test using runqemu as such so that can be skipped in
  environments without runqemu

- Add a second test that doesn't use runqemu or images, which is faster
  but less realistic.

(From OE-Core rev: 88b660aaae2527736b6eccec4c952eee969e20a2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-22 14:08:48 +00:00
Javier Tia
cbdc226a99 kernel-arch: use ccache only for compiler
Attempting to use it with other tools is not beneficial, only with the
compiler. Confirmation from ccache's maintainer [1].

[1] https://github.com/ccache/ccache/discussions/1346#discussioncomment-7616180

(From OE-Core rev: 47fa8d81083f1ef594f8fe6fcab3e227e9607b3f)

Signed-off-by: Javier Tia <javier.tia@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-22 14:08:48 +00:00
Ross Burton
f841d7918d lib/oe/patch: ensure os.chdir restoring always happens
If we chdir(), do the chdir back to the original directory in a finally
block so they always run.

(From OE-Core rev: cdc40292818683b6df1c814498c7589450a163fa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-22 14:08:48 +00:00
Archana Polampalli
5e19cc0006 vim: Upgrade 9.0.2048 -> 9.0.2068
This includes CVE fix for CVE-2023-46246.
9198c1f2b (tag: v9.0.2068) patch 9.0.2068: [security] overflow in :history

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-46246

(From OE-Core rev: 63bc72ccb63d2f8eb591d7cc481657a538f0fd42)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-22 14:07:21 +00:00
Steve Sakoman
745bf44812 vim: use upstream generated .po files
A previous commit attempted to fix reproducibility errors by forcing
regeneration of .po files. Unfortunately this triggered a different
type of reproducibility issue.

Work around this by adjusting the timestamps of the troublesome .po
files so they are not regenerated and we use the shipped upstream
versions of the files.

The shipped version of ru.cp1251.po doesn't seem to have been created
with the vim tooling and specifies CP1251 instead of cp1251, fix that.

(From OE-Core rev: 13d9551ba626f001c71bf908df16caf1d739cf13)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-21 21:26:19 +00:00
Adam Johnston
cdd525b150 useradd_base: Fix sed command line for passwd-expire
A previous commit tried to add the --follow-symlinks option to
the perform_passwd_expire function in useradd_base.bbclass, however it used
a single -.

This is interpreted as --file=ollow-symlinks which results in...

sed: couldn't open file ollow-symlinks: No such file or directory

and...

ERROR: <image name>: passwd --expire operation did not succeed.

Fix by adding the missing -

(From OE-Core rev: 3c0deafcfcea3f610c7dd9a2d2884a16fbfe0497)

Signed-off-by:  Adam Johnston <adam.johnston@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-21 21:25:41 +00:00
Markus Volk
daee9d9eae ffmpeg: Upgrade 6.0 -> 6.1
-Remove patches that made it upstream

(From OE-Core rev: faa32bbb35e92a14b8064715c12e1007fd106b34)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Trevor Gamblin
a2d3b5a27f python3-numpy: upgrade 1.26.0 -> 1.26.2
There were 45 pull requests in 1.26.1 and 1.26.2. See changelog:
https://github.com/numpy/numpy/releases

(From OE-Core rev: 9bcec3b75a26e6f9c2560a156006fcc359de6f22)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Trevor Gamblin
51b7c019ea python3-trove-classifiers: upgrade 2023.10.18 -> 2023.11.14
Changelog:
0b8493f Add `Programming Language :: Go` (#159)
68d983d Update release.yml (#162)
bd86b09 Update release.yml (#160)
44d951c Added PySimpleGUI versions 4 and 5 as a Framework (#157)
29ca293 Add Odoo 17 trove classifier (#156)

(From OE-Core rev: 0b2c8e479fb1f1b666611d922c74e542a75735c4)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Trevor Gamblin
0d3640fa77 python3-mako: upgrade 1.2.4 -> 1.3.0
License-Update: Updated copyright year

Changelog: https://docs.makotemplates.org/en/latest/changelog.html#change-1.3.0

(From OE-Core rev: 990493a429b4bc542a060dbb6b8bbb57dc8c30ad)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Tim Orling
6638bfd51d python3-setuptools-scm: upgrade 7.1.0 -> 8.0.4
See 8.0.0 changelog for breaking changes.

8.0.1, 8.0.2 and 8.0.3 were bug fix releases
8.0.4 has bug fixes and other changes

https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.md#v804
https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.md#v803
https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.md#v802
https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.md#v801
https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.md#v800

* Drop PYPI_PACKAGE override (no longer needed)
* Wrap DESCRIPTION so the line length is <80 chars.

License-Update: use LICENSE file for checksum, remains MIT

(From OE-Core rev: e167dd40e54c227ea1035255e9f33674391adc38)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Tim Orling
260927ba53 python3-hypothesis: upgrade 6.88.3 -> 6.89.0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-89-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-88-4

6.89.0 - 2023-11-16
This release teaches from_type() to handle constraints implied by the
annotated-types package - as used by e.g. Pydantic. This is usually
efficient, but falls back to filtering in a few remaining cases.

Thanks to Viicos for pull request #3780!

6.88.4 - 2023-11-13
This patch adds a warning when @st.composite wraps a function annotated
as returning a SearchStrategy, since this is usually an error (issue #3786).
The function should return a value, and the decorator will convert it to a
function which returns a strategy.

(From OE-Core rev: 041e0a5ceeb55d40ab22071c5d2c358455bc8e23)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Markus Volk
7e847cb969 gtk: Add rdepend on printbackend for cups
install the required printbackends

(From OE-Core rev: 0a97892920db46043102d54ef1623669241e9780)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Martin Jansa
f9b4f9efc0 igt-gpu-tools: drop PR from /usr/src/debug paths
(From OE-Core rev: 5b13119b371090acee168b14fa651026ec71bb61)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Martin Jansa
02922c07b2 python3-cython: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: 3ab3f2782fab9b4bf60f0efe68ce04401780b8a7)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Martin Jansa
2b7e37b18c valgrind: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: cdfb7de5152fc6b8c785fb513393e566bef95288)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Martin Jansa
5d32c24baa vulkan-samples: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: 23c40b46af0ede566b854fdeaeae9675c2f48549)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Martin Jansa
d7a8a51cf5 rust: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: e4931b1d6f147fc7ced080e30c63f0aaf0d1e7ff)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Martin Jansa
c8d40d079e perf: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: 4cac17c7de064b6d4e5d7dd252c5b4c610a0c6ee)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:53 +00:00
Martin Jansa
65569df51b ffmpeg: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: 25f821023c057ed2632ed1f99a6e28dfe857a5d8)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:52 +00:00
Martin Jansa
074323cfe5 libjpeg-turbo: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: c8cc766db04f490cebfdddd0cdfa0b20ae1638f5)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:52 +00:00
Martin Jansa
fc60f21779 acpica: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: adecbeb983cd1f18082f6afca2e5ea0d5a3a4b65)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:52 +00:00
Martin Jansa
bdeaf30f8d go-cross-canadian.inc: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: 0ad662f443dfc1850d818d96f9e223086ff99ef4)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:52 +00:00
Martin Jansa
649ec73076 ovmf: drop PE, PR from /usr/src/debug paths
(From OE-Core rev: d12ee54263e3a2ed8b1a84b72a2a1423fe09c3cf)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:52 +00:00
Martin Jansa
0904c4c34a bitbake.conf: drop ${PE} and ${PR} from -f{file,macro,debug}-prefix-map
* ${EXTENDPE} and ${PR} was already dropped from ${WORKDIR} in:
  https://lists.openembedded.org/g/openembedded-core/message/185818
  adjust -fmacro-prefix-map and -fdebug-prefix-map similarly.
  As we don't depend on PR in WORKDIR maybe we don't need it in
  /usr/src/debug paths as well anymore.

* add TARGET_DBGSRC_DIR variable with "/usr/src/debug/${PN}/${PV}"
  because there is quite a few places where this location is being
  used in various recipes

* The interesting side-effect of this is that for DISTROs which still
  use PR (e.g. webOS OSE), the difference in -fdebug-prefix-map causes
  all binaries to be slightly different when rebuilt with different PR
  (due to this path, even when otherwise they are binary reproducible)
  and when the number of digits in PR changes (e.g. from r9 to r10) it
  also results in slightly bigger binaries (and more unnecessary changes
  in buildhistory diffs).

  For example this foo binary, the difference between "new" and "old" is
  extra patch applied in SRC_URI (which doesn't affect the foo binary,
  but was the reason for PR bump).

  And the binary is bigger with r10, identical with r6 and slightly
  different due to debug-prefix-map between r6 and r7:

  $ ls -la 1.0.0-175-*/image/usr/sbin/foo
  -rwxr-xr-x 1 bitbake bitbake 30182460 Nov  8 08:29 1.0.0-175-new-r10/image/usr/sbin/foo
  -rwxr-xr-x 1 bitbake bitbake 30182224 Nov  8 08:02 1.0.0-175-new-r6/image/usr/sbin/foo
  -rwxr-xr-x 1 bitbake bitbake 30182224 Nov  8 07:49 1.0.0-175-new-r7/image/usr/sbin/foo
  -rwxr-xr-x 1 bitbake bitbake 30182224 Nov  8 07:39 1.0.0-175-old-r6/image/usr/sbin/foo

  $ md5sum 1.0.0-175-*/image/usr/sbin/foo
  8e3ab67d596f8cc2f9c6320dab10af01  1.0.0-175-new-r10/image/usr/sbin/foo
  f6ff1e64fe6affb9ba0d8f278cf7ed79  1.0.0-175-new-r6/image/usr/sbin/foo
  6469a0b10aac233911e63c5ea97b03c0  1.0.0-175-new-r7/image/usr/sbin/foo
  f6ff1e64fe6affb9ba0d8f278cf7ed79  1.0.0-175-old-r6/image/usr/sbin/foo

(From OE-Core rev: c84c8ba295eeaa0e0b7592364b0978f17a44c70b)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:52 +00:00
Richard Purdie
0769e8ef6b bitbake.conf: Drop oldincludedir
Autoconf defines this as:

"The directory for installing C header files for non-GCC compilers."

Whilst this is something autoconf does allow changing, I find it hard
to believe it has much use in the wild now and that headers don't get
split like this in reality, it would probably only be useful on really
old unixes.. The values are the same in our configuration anyway.

Drop the value and just use includedir everywhere.

(From OE-Core rev: 506c91cbc6a604a84e37e53ccff430436369802e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-20 15:30:52 +00:00