]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agoqemu: Upgrade 6.1.0 -> 6.2.0
Richard Purdie [Sun, 19 Dec 2021 14:57:27 +0000 (14:57 +0000)]
qemu: Upgrade 6.1.0 -> 6.2.0

Add config option for pulseaudio
Change audio to default mode since quoting of list of devices is broken in meson
Drop patch where code changed completed upstream
Refresh other patches

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotzdata: Clean up
Peter Kjellerstedt [Wed, 15 Dec 2021 15:20:41 +0000 (16:20 +0100)]
tzdata: Clean up

* Whitespace and indentation clean up.
* Change shell variables from "${foo}" to "$foo".
* Remove "/*" from directories specified in FILES.
* Move RCONFLICTS:${PN} to the end of the recipe.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotzdata: Remove unnecessary RPROVIDES
Peter Kjellerstedt [Wed, 15 Dec 2021 15:20:40 +0000 (16:20 +0100)]
tzdata: Remove unnecessary RPROVIDES

The name of the package is provided automatically.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotzdata: Make it compatible with devtool modify
Peter Kjellerstedt [Wed, 15 Dec 2021 15:20:39 +0000 (16:20 +0100)]
tzdata: Make it compatible with devtool modify

This avoids the following build error after having run `devtool modify
tzdata`:

  cp: cannot stat '.../qemux86-64/workspace/sources/tzdata//usr': No
  such file or directory

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest: recipetool: Add test for handle_license_vars function
Stefan Herbrechtsmeier [Wed, 15 Dec 2021 16:08:13 +0000 (17:08 +0100)]
selftest: recipetool: Add test for handle_license_vars function

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest: recipetool: Add test for split_pkg_licenses function
Stefan Herbrechtsmeier [Wed, 15 Dec 2021 16:08:12 +0000 (17:08 +0100)]
selftest: recipetool: Add test for split_pkg_licenses function

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorecipetool: Separate licenses with & operator
Stefan Herbrechtsmeier [Wed, 15 Dec 2021 16:08:11 +0000 (17:08 +0100)]
recipetool: Separate licenses with & operator

Separate licenses with & operator since it should be satisfied most use
cases and it is a reasonable assumption that all the licenses apply.
Furthermore flat, split and sort the licenses to minimize license string
changes.

Separate package licenses with & operator:
-LICENSE:${PN} = "MIT ISC"
+LICENSE:${PN} = "ISC & MIT"

Respect | and brackets in LICENSE:
-LICENSE = "BSD-3-Clause & (ISC & | & MIT)"
+LICENSE = "BSD-3-Clause & (ISC | MIT)"

Sort licenses:
-LICENSE = "MIT & BSD-3-Clause & ISC"
+LICENSE = "BSD-3-Clause & ISC & MIT"

Remove duplicates:
-LICENSE = "MIT & ISC & MIT"
+LICENSE = "ISC & MIT"

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorecipetool: Sort output of guess_license function to be deterministic
Stefan Herbrechtsmeier [Wed, 15 Dec 2021 16:08:10 +0000 (17:08 +0100)]
recipetool: Sort output of guess_license function to be deterministic

Sort the output of guess_license function by license file to be
deterministic and to support self-testing.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: add patch to set minimum kernel version for riscv32
Matt Madison [Thu, 16 Dec 2021 11:48:36 +0000 (03:48 -0800)]
qemu: add patch to set minimum kernel version for riscv32

which enables us to drop the -r option on qemu-static-riscv32
invocations.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu.bbclass: drop OLDEST_KERNEL reference
Matt Madison [Thu, 16 Dec 2021 11:48:35 +0000 (03:48 -0800)]
qemu.bbclass: drop OLDEST_KERNEL reference

which is introducing task hash changes for some
allarch package builds, and should no longer
be needed with recent versions of qemu.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomanpages: Fix override/append ordering and hence task signatures
Richard Purdie [Mon, 20 Dec 2021 11:10:55 +0000 (11:10 +0000)]
manpages: Fix override/append ordering and hence task signatures

The append/override ordering was meaning that whilst the data was being picked
up later in the package processing, it wasn't being picked up by do_package.
This means changes to qemu options were not causing task signatures to change.
Fix the variable ordering with the append to correct this.

The whitespace fix is deliberate to cause output to change and hopefully avoid
hash invalidation issues from unchanged output.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pyelftools: Depend on debugger, pprint
Chaitanya Vadrevu [Thu, 16 Dec 2021 23:58:25 +0000 (17:58 -0600)]
python3-pyelftools: Depend on debugger, pprint

python3-pyelftools uses python3-debugger, python3-pprint.
So add dependencies on these packages.

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocantarell-fonts: update 0.301 -> 0.303.1
Alexander Kanavin [Wed, 15 Dec 2021 22:40:30 +0000 (23:40 +0100)]
cantarell-fonts: update 0.301 -> 0.303.1

[RP: Drop hashequiv version bump]
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-idna: Update license to Unicode-TOU
Richard Purdie [Thu, 16 Dec 2021 17:58:29 +0000 (17:58 +0000)]
python3-idna: Update license to Unicode-TOU

The correct SPDX license for the test data contained in this code appears
to be Unicode-TOU. Update the LICENSE field to match and avoid package
QA warnings.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorunqemu: additional setting to force software rendering with sdl 2.0.18
Alexander Kanavin [Wed, 15 Dec 2021 22:40:34 +0000 (23:40 +0100)]
runqemu: additional setting to force software rendering with sdl 2.0.18

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsdl2: update 2.0.16 -> 2.0.18
Alexander Kanavin [Wed, 15 Dec 2021 22:40:33 +0000 (23:40 +0100)]
libsdl2: update 2.0.16 -> 2.0.18

sdl-dlopen option is no longer supported.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibx11: update 1.7.3 -> 1.7.3.1
Alexander Kanavin [Wed, 15 Dec 2021 22:40:31 +0000 (23:40 +0100)]
libx11: update 1.7.3 -> 1.7.3.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodebianutils: update 4.11.2 -> 5.5
Alexander Kanavin [Wed, 15 Dec 2021 22:40:32 +0000 (23:40 +0100)]
debianutils: update 4.11.2 -> 5.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 194 -> 196
Alexander Kanavin [Wed, 15 Dec 2021 22:40:29 +0000 (23:40 +0100)]
diffoscope: upgrade 194 -> 196

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorxvt-unicode: upgrade 9.26 -> 9.30
Alexander Kanavin [Wed, 15 Dec 2021 22:40:28 +0000 (23:40 +0100)]
rxvt-unicode: upgrade 9.26 -> 9.30

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoboost: update 1.77.0 -> 1.78.0
Alexander Kanavin [Wed, 15 Dec 2021 22:40:26 +0000 (23:40 +0100)]
boost: update 1.77.0 -> 1.78.0

Drop backports.

Drop 0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch as
it is difficult to rebase and needs to land upstream first.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibptytty: add recipe
Alexander Kanavin [Wed, 15 Dec 2021 22:40:27 +0000 (23:40 +0100)]
libptytty: add recipe

It is a dependency of new rxvt-unicode.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorepo: update 2.18 -> 2.19
Alexander Kanavin [Wed, 15 Dec 2021 22:40:25 +0000 (23:40 +0100)]
repo: update 2.18 -> 2.19

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: upgrade 1.17.4 -> 1.17.5
Alexander Kanavin [Wed, 15 Dec 2021 22:40:24 +0000 (23:40 +0100)]
go: upgrade 1.17.4 -> 1.17.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopiglit: upgrade to latest revision
Alexander Kanavin [Wed, 15 Dec 2021 22:40:21 +0000 (23:40 +0100)]
piglit: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodpkg: update 1.20.9 -> 1.21.1
Alexander Kanavin [Wed, 15 Dec 2021 22:40:23 +0000 (23:40 +0100)]
dpkg: update 1.20.9 -> 1.21.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoalsa: upgrade 1.2.5 -> 1.2.6
Alexander Kanavin [Wed, 15 Dec 2021 22:40:22 +0000 (23:40 +0100)]
alsa: upgrade 1.2.5 -> 1.2.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoless: upgrade 590 -> 598
Alexander Kanavin [Wed, 15 Dec 2021 22:40:18 +0000 (23:40 +0100)]
less: upgrade 590 -> 598

License-Update: http->https

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoharfbuzz: upgrade 3.1.2 -> 3.2.0
Alexander Kanavin [Wed, 15 Dec 2021 22:40:20 +0000 (23:40 +0100)]
harfbuzz: upgrade 3.1.2 -> 3.2.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: do not report upstream version check as broken
Alexander Kanavin [Wed, 15 Dec 2021 22:40:14 +0000 (23:40 +0100)]
vim: do not report upstream version check as broken

As upstream tags point releases with every commit and
the version check still reports 8.2, it should not be considered
broken (e.g. current version newer than latest version)
until 8.3 is released.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolighttpd: upgrade 1.4.61 -> 1.4.63
Alexander Kanavin [Wed, 15 Dec 2021 22:40:19 +0000 (23:40 +0100)]
lighttpd: upgrade 1.4.61 -> 1.4.63

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools: upgrade 59.4.0 -> 59.5.0
Alexander Kanavin [Wed, 15 Dec 2021 22:40:17 +0000 (23:40 +0100)]
python3-setuptools: upgrade 59.4.0 -> 59.5.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoelfutils: update patch submitted upstream
Alexander Kanavin [Wed, 15 Dec 2021 22:40:12 +0000 (23:40 +0100)]
elfutils: update patch submitted upstream

As that's what upstream prefers.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.30.0 -> 6.31.4
Alexander Kanavin [Wed, 15 Dec 2021 22:40:16 +0000 (23:40 +0100)]
python3-hypothesis: upgrade 6.30.0 -> 6.31.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobtrfs-tools: upgrade 5.15 -> 5.15.1
Alexander Kanavin [Wed, 15 Dec 2021 22:40:15 +0000 (23:40 +0100)]
btrfs-tools: upgrade 5.15 -> 5.15.1

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-hello-world: test at runtime
Alexander Kanavin [Wed, 15 Dec 2021 22:40:13 +0000 (23:40 +0100)]
rust-hello-world: test at runtime

This adds a smoke check for whether the rust toolchain actually
produces working executables across a range of architectures.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoserf: mark upstream as inactive
Alexander Kanavin [Wed, 15 Dec 2021 22:40:10 +0000 (23:40 +0100)]
serf: mark upstream as inactive

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Fix CVE-2021-42574
pgowda [Tue, 14 Dec 2021 10:46:13 +0000 (02:46 -0800)]
gcc: Fix CVE-2021-42574

Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=bd5e882cf6e0def3dd1bc106075d59a303fe0d1e]
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=51c500269bf53749b107807d84271385fad35628]
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=1a7f2c0774129750fdf73e9f1b78f0ce983c9ab3]
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=bef32d4a28595e933f24fef378cf052a30b674a7]

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinsane: move src-uri-bad checks to unpack stage
Konrad Weihmann [Tue, 14 Dec 2021 16:39:20 +0000 (17:39 +0100)]
insane: move src-uri-bad checks to unpack stage

previously used package_qa_check_src_uri was triggered during
package_qa stage, which implies having packages.
This isn't the case for native-only recipes or recipe that inherit
nopackages.

Still the checks performed (src-uri-bad) apply to those as well.
Therefore move the check from package_qa stage to unpack stage.

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinsane: add Inactive-Upstream to Upstream-Status
Konrad Weihmann [Tue, 14 Dec 2021 16:39:21 +0000 (17:39 +0100)]
insane: add Inactive-Upstream to Upstream-Status

as defined by latest addition to the commit message guideline

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Fix systemd-journal-gateway user/groups
Florian Amstutz [Thu, 9 Dec 2021 17:53:15 +0000 (17:53 +0000)]
systemd: Fix systemd-journal-gateway user/groups

The systemd-journal-gateway user and group are never added to an image
since the package name added to USERADD_PACKES is wrong.

Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocups: fix typo in flags to disable avahi
S. Lockwood-Childs [Tue, 14 Dec 2021 10:28:59 +0000 (02:28 -0800)]
cups: fix typo in flags to disable avahi

one too many 's': dnsssd -> dnssd

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibcap: upgrade 2.61 -> 2.62
wangmy [Tue, 14 Dec 2021 03:40:38 +0000 (11:40 +0800)]
libcap: upgrade 2.61 -> 2.62

Replace BUILD_GPERF with USE_GPERF since it is now reserved.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-tools: Disable problem tests
Richard Purdie [Tue, 14 Dec 2021 12:34:04 +0000 (12:34 +0000)]
lttng-tools: Disable problem tests

There is a pattern of the notification tests hanging. Whilst we need to get to the
bottom of that, disable them for now as it is causing high load for triage/SWAT
and masking other failures.

[YOCTO #14263]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-tools: Backport ptest fix
Richard Purdie [Mon, 13 Dec 2021 22:59:23 +0000 (22:59 +0000)]
lttng-tools: Backport ptest fix

Add a backport and a dependency from upstream to help address one of the lttng-tools
ptest relayd hangs we've been seeing on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: make ligles3-dev RDEPENDS on libgles2-dev
Quentin Schulz [Mon, 13 Dec 2021 09:16:28 +0000 (10:16 +0100)]
mesa: make ligles3-dev RDEPENDS on libgles2-dev

Khronos documentation[1] says that include/GLES2/gl2ext.h can be used
for OpenGL ES 3 specification as well as for OpenGL ES 2.
There can be applications including GLES2/gl2ext.h instead of
GLES3/gl3ext.h meaning we should probably bring in GLES2/gl2ext.h if
someone asks for development package of libgles3.

[1] https://www.khronos.org/registry/OpenGL/index_es.php#headers

Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokmscube: add build dependency on virtual/libgles3
Quentin Schulz [Mon, 13 Dec 2021 09:16:27 +0000 (10:16 +0100)]
kmscube: add build dependency on virtual/libgles3

texturator requires GLES 3 headers and libs so let's explicit this
dependency. This was not detected until now because mesa, the default
provider, actually provides both Open GLES 2 and 3 compliant
implementations.

Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: PROVIDES virtual/libgles3
Quentin Schulz [Mon, 13 Dec 2021 09:16:26 +0000 (10:16 +0100)]
mesa: PROVIDES virtual/libgles3

It's assumed that not all OpenGL ES implementation are compliant with
the 3.x specification. Therefore an additional virtual providers is
created to explicit compatibility with OpenGL ES 3 specification.

Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokmscube: fix build on OpenGL ES 3 dependencies not providing GLES3/gl3ext.h
Quentin Schulz [Mon, 13 Dec 2021 09:16:25 +0000 (10:16 +0100)]
kmscube: fix build on OpenGL ES 3 dependencies not providing GLES3/gl3ext.h

According to Khronos documentation[1], gl2ext.h can be used for OpenGL
ES 3. Some vendor implementation of OpenGL ES 3, such as
Rockchip's libmali[2], do not have a gl3ext.h but only a gl2ext.h while
being OpenGL ES 3 compliant.

This fixes the header files to be included from gl3ext.h to gl2ext.h to
be compatible with (hopefully) all OpenGL ES 3 implementations.

[1] https://www.khronos.org/registry/OpenGL/index_es.php#headers
[2] https://github.com/rockchip-linux/libmali

Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobootchart2: remove wait_boot logic
Mingli Yu [Mon, 13 Dec 2021 05:45:28 +0000 (13:45 +0800)]
bootchart2: remove wait_boot logic

When boot with "init=/sbin/bootchartd" as below:
 # runqemu qemux86 bootparams="init=/sbin/bootchartd"

There are two bootchartd process after boot [1].
 # ps -ef | grep bootchart
root       101     1  0 03:27 ?        00:00:00 /bin/sh /sbin/bootchartd
root       103   101  8 03:27 ?        00:00:02 /lib64/bootchart/bootchart-collector 50
root       106     1  0 03:27 ?        00:00:00 /bin/sh /sbin/bootchartd
root       792   106  0 03:27 ?        00:00:00 /lib64/bootchart/bootchart-collector --usleep 1000000
root       794   725  0 03:27 ttyS0    00:00:00 grep bootchart

 # /sbin/bootchartd stop
[bootchart] bootchart-collector started as pid 596 with 2 args:
[bootchart] '--dump'
[bootchart] '/tmp/bootchart.3lXpVDAq3v'
[bootchart] Extracting profile data from pid 204
[bootchart] map 0xbed9a000 -> 0xbedbb000 size: 132k from 'bed9a000' 'bedbb000'
[bootchart] read 135168 bytes of 135168
[bootchart] reading 150 chunks (of 150) ...
[bootchart] wrote 18760 kbB
[bootchart] bootchart-collector pid: 596 unmounted proc / clean exit

But there still one process exist after the above stop command finish.
 # ps -ef | grep bootchartd
root 202 1 0 09:09 ? 00:00:00 /bin/sh /sbin/bootchartd
root 629 516 0 09:10 ? 00:00:00 grep bootchartd

Remove the wait_boot which used to wait the boot process to finish to
make sure only one bootchartd process and meanwhile we don't need the
wait_boot logic because we either use "/sbin/bootchartd stop" to stop
the bootchartd manually or install package bootchartd-stop-initscript
altogether with bootchart2 to stop bootchartd automatically after boot.

After patch:
 # ps -ef | grep bootchart
 root       101     1  0 03:36 ?        00:00:00 /bin/sh /sbin/bootchartd
 root       103   101  6 03:36 ?        00:00:04 /lib64/bootchart/bootchart-collector 50
 root       596   592  0 03:37 ttyS0    00:00:00 grep bootchart

[1] https://github.com/xrmx/bootchart/issues/94

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agort-tests: upgrade 2.2 -> 2.3
zhengruoqin [Mon, 13 Dec 2021 22:31:04 +0000 (06:31 +0800)]
rt-tests: upgrade 2.2 -> 2.3

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovte: upgrade 0.66.0 -> 0.66.2
zhengruoqin [Mon, 13 Dec 2021 22:30:44 +0000 (06:30 +0800)]
vte: upgrade 0.66.0 -> 0.66.2

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostress-ng: upgrade 0.13.07 -> 0.13.08
zhengruoqin [Mon, 13 Dec 2021 22:30:03 +0000 (06:30 +0800)]
stress-ng: upgrade 0.13.07 -> 0.13.08

0001-Do-not-preserve-ownership-when-installing-example-jo.patch
removed since it is included in 0.13.08

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-networking: upgrade 2.70.0 -> 2.70.1
zhengruoqin [Mon, 13 Dec 2021 22:29:42 +0000 (06:29 +0800)]
glib-networking: upgrade 2.70.0 -> 2.70.1

Changelog:
====================
 - Fix crashes when handshake is cancelled (#97, #176)
 - OpenSSL: fix spurious certificate expired verification errors (#179)
 - GnuTLS: Fix tests on 32-bit systems (!188, Simon McVittie)
 - GnuTLS: Fix crash when invalid priority string is forced (!189)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cython: upgrade 0.29.24 -> 0.29.25
wangmy [Mon, 13 Dec 2021 13:16:11 +0000 (21:16 +0800)]
python3-cython: upgrade 0.29.24 -> 0.29.25

Changelog:
================
Bugs fixed
----------
* Several incompatibilities with CPython 3.11 were resolved.
  (Github issues #4411, #4414, #4415, #4416, #4420, #4428, #4473, #4479, #4480)

* Some C compiler warnings were resolved.
  (Github issue #4439)

* C++ "std::move()" should only be used automatically in MSVC versions that support it.
  (Github issue #4191)

 * The "Py_hash_t" type failed to accept arbitrary "index" values.
   (Github issue #2752)

* Avoid copying unaligned 16-bit values since some platforms require them to be aligned.
  Use memcpy() instead to let the C compiler decide how to do it.
  (Github issue #4343)

* Cython crashed on invalid truthiness tests on C++ types without "operator bool".
  (Github issue #4348)

* The declaration of "PyUnicode_CompareWithASCIIString()" in "cpython.unicode" was incorrect.
  (Github issue #4344)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agompg123: upgrade 1.29.2 -> 1.29.3
wangmy [Mon, 13 Dec 2021 13:19:38 +0000 (21:19 +0800)]
mpg123: upgrade 1.29.2 -> 1.29.3

Changelog:
====================
libmpg123: Catch more NULL pointer arguments in LFS wrappers
(most prominently: mpg123_feedseek(), bug 328).

mpg123:
-Fix regression that did _not_ enable --remote-err on -s anymore.
-Fix typos in man page.
-Drop mixed-up value limits on remote control SEQ command.
 It is up to you if you want to distort your sound.
-Add note about equalizer frequency bands to man page.
-build: add BUILD_PROGRAMS option to ports/cmake

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibical: upgrade to 3.0.12
Ross Burton [Mon, 13 Dec 2021 17:46:01 +0000 (17:46 +0000)]
libical: upgrade to 3.0.12

Disable tests to save some build time as we can't install them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopatchelf: upgrade 0.14.2 -> 0.14.3
Richard Purdie [Sun, 12 Dec 2021 07:16:35 +0000 (07:16 +0000)]
patchelf: upgrade 0.14.2 -> 0.14.3

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-ust: upgrade 2.13.0 -> 2.13.1
Richard Purdie [Sun, 12 Dec 2021 09:29:49 +0000 (09:29 +0000)]
lttng-ust: upgrade 2.13.0 -> 2.13.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopuzzles: Upgrade to latest git with patches merged
Richard Purdie [Sat, 11 Dec 2021 13:54:53 +0000 (13:54 +0000)]
puzzles: Upgrade to latest git with patches merged

This upgrades to the latest upstream version where our fixes have equivalent
fixes merged upstream so our patches are no longer needed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoapmd: remove obsolete support for renamed libtool
Ross Burton [Fri, 10 Dec 2021 14:22:42 +0000 (14:22 +0000)]
apmd: remove obsolete support for renamed libtool

libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosubversion: remove obsolete support for renamed libtool
Ross Burton [Fri, 10 Dec 2021 14:22:41 +0000 (14:22 +0000)]
subversion: remove obsolete support for renamed libtool

libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: remove obsolete support for renamed libtool
Ross Burton [Fri, 10 Dec 2021 14:22:40 +0000 (14:22 +0000)]
qemu: remove obsolete support for renamed libtool

libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoapr: remove obsolete support for renamed libtool
Ross Burton [Fri, 10 Dec 2021 14:22:39 +0000 (14:22 +0000)]
apr: remove obsolete support for renamed libtool

libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

This means that apr now installs libtool into the build-1 folder, but
as this has never been needed before (as we use the system libtool) we
can remove it (it contains build paths so is unreproducible).  Also add
a RDEPENDS on libtool for the target -dev package.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofreetype: remove obsolete support for renamed libtool
Ross Burton [Fri, 10 Dec 2021 14:22:38 +0000 (14:22 +0000)]
freetype: remove obsolete support for renamed libtool

libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodb: remove obsolete support for renamed libtool
Ross Burton [Fri, 10 Dec 2021 14:22:37 +0000 (14:22 +0000)]
db: remove obsolete support for renamed libtool

libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogtk+3: remove obsolete support for renamed libtool
Ross Burton [Fri, 10 Dec 2021 14:22:36 +0000 (14:22 +0000)]
gtk+3: remove obsolete support for renamed libtool

libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopkgconfig: remove obsolete support for renamed libtool
Ross Burton [Fri, 10 Dec 2021 14:22:35 +0000 (14:22 +0000)]
pkgconfig: remove obsolete support for renamed libtool

libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: don't expect libtool to be host-prefixed
Ross Burton [Fri, 10 Dec 2021 14:22:34 +0000 (14:22 +0000)]
binutils: don't expect libtool to be host-prefixed

We update the libtool m4 files in binutils with the latest files from
our patched libtool so that we can use the --with-libtool-sysroot option.

Remove the chunks that are specific to the libtool renaming, which now
doesn't happen.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibtool: don't prefix the installed binary
Ross Burton [Fri, 10 Dec 2021 14:22:33 +0000 (14:22 +0000)]
libtool: don't prefix the installed binary

Typically libtool installs the binary to 'libtool' in the source tree,
but we've got patches to rename this to ${host_sys}-libtool. As this
isn't standard any upstream that don't respect the LIBTOOL variable need
to be told explicitly where libtool is, which is a long-term maintenance
burden for us on top of the initial libtool patches.

The reasoning for this renaming appears to stem from the design to be
sure that we're using our new/patched libtool and not the host's binary.
However, now that we have HOSTTOOLS, there's no way to run the host
libtool so this argument is moot.

This patch removes the libtool renaming, follow-up patches remove the
required modifications from the rest of the recipes.

[RP: Remove commented patch lines]
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoelf: Discard input .note.gnu.build-id sections
Valerii Chernous [Fri, 10 Dec 2021 17:53:37 +0000 (19:53 +0200)]
elf: Discard input .note.gnu.build-id sections

Originally issue:
building of glibc 2.32 or 2.34 with option "-Wl,--build-id"
produce libc.so.6 with section ".note.gnu.build-id" that have
invalid(double, 0x48) section size. It happens because glibc
use sublibraries for linking libc.so.6
ld produce this sublibraries with build-id section and on last
linking stage loads this sections as input for linking.
ld should create new(valid) ".note.gnu.build-id" into function
ldelf_setup_build_id on last linking stage but it skip creating because
build-id section already exists.
As result libc.so.6 contain ".note.gnu.build-id" with build-ids from
sublibraries and without valid build-id

Howto solved:
1. Discard input .note.gnu.build-id sections.
2. Clear the build ID field before writing.
3. Use bfd_make_section_anyway_with_flags to create the output
   .note.gnu.build-id section.

Upstream-Status: Backport

Reference to upstream patch:
[https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=1f1d0f8888a6c944e612b416a2a6e11abcf5199f]

Signed-off-by: Valerii Chernous <vchernou@cisco.com>
Signed-off-by: Valery Chernous <valery.chernous@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: Redo tzselect bash dependency problem
Khem Raj [Fri, 10 Dec 2021 01:06:13 +0000 (17:06 -0800)]
glibc: Redo tzselect bash dependency problem

New patch adds a knob to select needed shell interpreter for tzselect
script, which then we excercise via EXTRA_OEMAKE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibx11: update to 1.7.3
Oleksandr Kravchuk [Fri, 10 Dec 2021 02:33:05 +0000 (03:33 +0100)]
libx11: update to 1.7.3

Dropped upstreamed patches.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstatetests: add a test for moving oe-core around in the filesystem
Alexander Kanavin [Thu, 9 Dec 2021 20:51:23 +0000 (21:51 +0100)]
sstatetests: add a test for moving oe-core around in the filesystem

Doing that should not change the task signatures.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3: udpate to 3.10.1
Oleksandr Kravchuk [Thu, 9 Dec 2021 20:33:16 +0000 (21:33 +0100)]
python3: udpate to 3.10.1

Refreshed patches.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooverlayfs: move templates to files directory
Vyacheslav Yurkov [Fri, 10 Dec 2021 13:01:45 +0000 (14:01 +0100)]
overlayfs: move templates to files directory

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooverlayfs: update notes on /etc
Vyacheslav Yurkov [Fri, 10 Dec 2021 13:01:44 +0000 (14:01 +0100)]
overlayfs: update notes on /etc

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest: unit tests for overlayfs-etc
Vyacheslav Yurkov [Fri, 10 Dec 2021 13:01:43 +0000 (14:01 +0100)]
oeqa/selftest: unit tests for overlayfs-etc

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest: overlayfs helper function
Vyacheslav Yurkov [Fri, 10 Dec 2021 13:01:42 +0000 (14:01 +0100)]
oeqa/selftest: overlayfs helper function

Move helper functions out of class scope so they can be used in other tests

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimage: add overlayfs-etc image feature
Vyacheslav Yurkov [Fri, 10 Dec 2021 13:01:41 +0000 (14:01 +0100)]
image: add overlayfs-etc image feature

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooverlayfs-etc: mount etc as overlayfs
Vyacheslav Yurkov [Fri, 10 Dec 2021 13:01:39 +0000 (14:01 +0100)]
overlayfs-etc: mount etc as overlayfs

This class provides an image feature that mounts /etc as an overlayfs
file system. This is an extension for existing overlayfs class, which
doesn't support /etc

Signed-off-by: Alfred Schapansky <alfred.schapansky@avantys.de>
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowic: image for overlayfs-etc tests
Vyacheslav Yurkov [Fri, 10 Dec 2021 13:01:40 +0000 (14:01 +0100)]
wic: image for overlayfs-etc tests

Introduce wic image for overlayfs-etc tests with a dedicated /data
partition and configurable kernel parameters

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofiles: add overlayfs-etc-preinit.sh.in
Vyacheslav Yurkov [Fri, 10 Dec 2021 13:01:38 +0000 (14:01 +0100)]
files: add overlayfs-etc-preinit.sh.in

A template init script for overlayfs-etc class

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoepiphany: Add packageconfig for libsoup2
Joshua Watt [Fri, 10 Dec 2021 15:38:34 +0000 (09:38 -0600)]
epiphany: Add packageconfig for libsoup2

Adds a PACKAGECONFIG option to use libsoup2 instead of libsoup3.
Including libsoup2 and libsoup3 in the same process can cause strange
runtime failures, and the latest release of each major version will
cause the process to exit if both are detected on startup.

The default is changed from libsoup3 back to libsoup2 to follow
webkitgtk.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: Add packageconfig for libsoup2
Joshua Watt [Fri, 10 Dec 2021 15:37:41 +0000 (09:37 -0600)]
webkitgtk: Add packageconfig for libsoup2

Adds a PACKAGECONFIG option to use libsoup2 instead of libsoup3.
Including libsoup2 and libsoup3 in the same process can cause strange
runtime failures, and the latest release of each major version will
cause the process to exit if both are detected on startup.

The default is changed from libsoup3 back to libsoup2. Most GNOME
packages are still using libsoup2, and a large number of these pull in
webkitgtk either directly or indirectly. If webkitgtk uses libsoup3,
this causes all of these packages to fail at startup. It appears that
most GNOME packages will have to switch to libsoup3 when they transition
to GTK4.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: upgrade 0.60.1 -> 0.60.2
Alexander Kanavin [Wed, 8 Dec 2021 21:59:28 +0000 (22:59 +0100)]
meson: upgrade 0.60.1 -> 0.60.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodocumentation: Document PACKAGE_SNAP_LIB_SYMLINKS
Mike Crowe [Tue, 7 Dec 2021 15:27:36 +0000 (15:27 +0000)]
documentation: Document PACKAGE_SNAP_LIB_SYMLINKS

PACKAGE_SNAP_LIB_SYMLINKS was added[1] originally to OpenEmbedded in
2008 and then to oe-core in 2011[2] but appears to have evaded
documentation throughout that time. Let's add something that at least
gives some clue as to what it does.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Phil Blundell <pb@pbcl.net>
[1] https://git.openembedded.org/openembedded/commit/?id=cf7114179ead8ddff8f66e84d630811920ac9add
[2] https://git.openembedded.org/openembedded-core/commit/?id=600dbb7cb384c2290af38b993a9bea3a4dfc4494

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage: Only snap libraries if they would be processed by ldconfig OS-12840
Mike Crowe [Tue, 7 Dec 2021 15:27:35 +0000 (15:27 +0000)]
package: Only snap libraries if they would be processed by ldconfig OS-12840

PACKAGE_SNAP_LIB_SYMLINKS renames libraries based on their SONAME so
that they can be found directly rather than going via symlinks that
would be created by ldconfig. For example, without
PACKAGE_SNAP_LIB_SYMLINKS in ${libdir} we have:

 libharfbuzz.so.0 -> libharfbuzz.so.0.20600.4
 libharfbuzz.so.0.20600.4

but with PACKAGE_SNAP_LIB_SYMLINKS="1" we have just:

 libharfbuzz.so.0

Unfortunately, this renaming is done based on the SONAME which breaks
packages like mesa which install a single library with multiple hard
links:

-rwxr-xr-x root/root  13593488 2021-12-07 12:26 ./usr/lib/dri/i915_dri.so
-rwxr-xr-x root/root  13137328 2021-12-07 12:26 ./usr/lib/dri/i965_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/iris_dri.so link to ./usr/lib/dri/i915_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/kms_swrast_dri.so link to ./usr/lib/dri/i915_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/nouveau_vieux_dri.so link to ./usr/lib/dri/i965_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/r200_dri.so link to ./usr/lib/dri/i965_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/radeon_dri.so link to ./usr/lib/dri/i965_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/swrast_dri.so link to ./usr/lib/dri/i915_dri.so

The SONAME for i915_dri.so (and therefore all the other names that link
to the same file) is libgallium_dri.so. This means that
PACKAGE_SNAP_LIB_SYMLINKS causes do_package to successfully rename the
first name found to libgallium_dri.so. A similar thing happens to
i965_dri.so with its SONAME of libmesa_dri_drivers.so. The order is not
deterministic, so this means that although every build will be missing
one name, it's not always the same one.

-rwxr-xr-x root/root  13593488 2021-11-30 15:17 ./usr/lib/dri/i915_dri.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/kms_swrast_dri.so link to ./usr/lib/dri/i915_dri.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/libgallium_dri.so link to ./usr/lib/dri/i915_dri.so
-rwxr-xr-x root/root  13137328 2021-11-30 15:17 ./usr/lib/dri/libmesa_dri_drivers.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/nouveau_vieux_dri.so link to ./usr/lib/dri/libmesa_dri_drivers.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/r200_dri.so link to ./usr/lib/dri/libmesa_dri_drivers.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/radeon_dri.so link to ./usr/lib/dri/libmesa_dri_drivers.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/swrast_dri.so link to ./usr/lib/dri/i915_dri.so

This renaming means that the library cannot be found at runtime.

The simplest way to avoid this renaming is to only snap libraries that
would be processed by ldconfig.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: upgrade 3.22.0 -> 3.22.1
Changqing Li [Wed, 8 Dec 2021 02:33:27 +0000 (10:33 +0800)]
cmake: upgrade 3.22.0 -> 3.22.1

This upgrade include a bug fix:
Refer:
https://gitlab.kitware.com/cmake/cmake/-/issues/22963
https://gitlab.kitware.com/cmake/cmake/-/commit/643fc46bdc13dd57584d5d77eee30a99308ba896

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibhandy: Backport a makefile header race
Mingli Yu [Wed, 8 Dec 2021 08:13:21 +0000 (16:13 +0800)]
libhandy: Backport a makefile header race

After the commit(8157ecc Separate public and private enums) introduced,
there comes a race as below:
 | In file included from ../git/src/hdy-settings.c:11:
 | ../git/src/hdy-settings-private.h:16:10: fatal error: hdy-enums-private.h: No such file or directory
 |    16 | #include "hdy-enums-private.h"

So also add private headers like private sources did now to libhandy_sources
to fix the issue.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibpam: Backport ptest fix checking whether files exist
Mingli Yu [Wed, 8 Dec 2021 08:59:44 +0000 (16:59 +0800)]
libpam: Backport ptest fix checking whether files exist

Backport a patch to check whether files exist.

Before the patch:
 # ./run-xtests.sh . tst-pam_access1
 mv: cannot stat '/etc/security/opasswd': No such file or directory
 PASS: tst-pam_access1
 mv: cannot stat '/etc/security/opasswd-pam-xtests': No such file or directory
 ==================
 1 tests passed
 0 tests not run
 ==================

After the patch:
 # ./run-xtests.sh . tst-pam_access1
 PASS: tst-pam_access1
 ==================
 1 tests passed
 0 tests not run
 ==================

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Drop mips XLP support patch
Richard Purdie [Thu, 9 Dec 2021 17:22:55 +0000 (17:22 +0000)]
binutils: Drop mips XLP support patch

The kernel has dropped this as of 5.16 and we don't want to carry such patches
without active maintainers for such targets.

It isn't clear who would even have such hardware and it isn't something we can
support. It would be best maintained as a separate layer by those who can test
it if needed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperf: Tweak for mips n64
Richard Purdie [Fri, 10 Dec 2021 12:03:42 +0000 (12:03 +0000)]
perf: Tweak for mips n64

With the changes to binutils, perf's direct calls to ld break for mips n64.
We already have tweaks for n32 so match those with the ones for n64.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Drop mips default target patch
Richard Purdie [Thu, 9 Dec 2021 17:19:48 +0000 (17:19 +0000)]
binutils: Drop mips default target patch

Similarly to the recent gcc change, we make gcc default to the 64 bit target
through configuration now so we don't need to patch this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Add more detail to the ppc patch
Richard Purdie [Thu, 9 Dec 2021 17:16:38 +0000 (17:16 +0000)]
binutils: Add more detail to the ppc patch

This adds useful detail from the orginal commit.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: Drop mips gold patch
Richard Purdie [Thu, 9 Dec 2021 17:15:32 +0000 (17:15 +0000)]
binutils: Drop mips gold patch

As mentioned in a followup to the patch upstream:

https://sourceware.org/legacy-ml/binutils/2016-08/msg00215.html

"With 2.16.1, --enable-gold is just ignored when building on mips"

so we don't need the patch since 2.16.1.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibva: move PACKAGECONFIG options to libva.inc
Markus Volk [Sat, 11 Dec 2021 16:35:21 +0000 (17:35 +0100)]
libva: move PACKAGECONFIG options to libva.inc

This fixes an error in libva-initial build if 'systemd' is in DISTRO_FEATURES
and libdrm is set to be built with udev support.

| Run-time dependency xfixes found: NO (tried pkgconfig and cmake)
| Run-time dependency wayland-client found: YES 1.19.0
| Program wayland-scanner /usr/bin/wayland-scanner found: NO
|
| ../libva-2.13.0/meson.build:107:4: ERROR: Program 'wayland-scanner /usr/bin/wayland-scanner' not found
|
| A full log can be found at /home/flk/build/poky/build-rock/tmp/work/cortexa72-cortexa53-crypto-poky-linux/libva-initial/2.13.0-r0/build/meson-logs/meson-log.txt
| ERROR: meson failed
| WARNING: exit code 1 from a shell command.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 9 Dec 2021 13:56:07 +0000 (13:56 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouboot-sign: fix the concatenation when multiple U-BOOT configurations are specified
Thomas Perrot [Wed, 27 Oct 2021 14:04:12 +0000 (16:04 +0200)]
uboot-sign: fix the concatenation when multiple U-BOOT configurations are specified

Some BSPs, especially those of meta-freescale and meta-ti allow to build U-Boot
binaries using different configuration for a given target, for example:
- UBOOT_CONFIG ??= "tfa-secure-boot tfa"
- UBOOT_CONFIG ??= "nand sdcard spi nor"

When this is the case the public key wasn't concatenated to all U-Boot binaries
built.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agokernel: improve transformation from KERNEL_IMAGETYPE_FOR_MAKE
Mike Crowe [Thu, 7 Oct 2021 13:17:57 +0000 (14:17 +0100)]
kernel: improve transformation from KERNEL_IMAGETYPE_FOR_MAKE

In 526bdd88ccd758204452579333ba188e29270bde the imageType loop in
kernel_do_deploy was changed to use KERNEL_IMAGETYPE_FOR_MAKE rather
than KERNEL_IMAGETYPES. This broke the special handling for fitImage
immediately below because KERNEL_IMAGETYPE_FOR_MAKE never contains
fitImage.

It has always been my understanding that KERNEL_IMAGETYPE_FOR_MAKE
controlled what was passed to make, but KERNEL_IMAGETYPE controlled what
was installed/deployed. When the two are different then it's the
responsibility of whoever set KERNEL_IMAGETYPE_FOR_MAKE to ensure that
whatever comes out of the kernel build system has been transformed in to
the requested form by the time of installation. This is what happens for
kernel.bbclass's own support for vmlinux.gz.

I think this means that for KERNEL_IMAGETYPE vmlinux.gz, kernel.bbclass
is responsible for generating vmlinux.gz.initramfs[1] so that
kernel_do_deploy can deploy it. This means that the change in
526bdd88ccd758204452579333ba188e29270bde can be reverted, fixing
KERNEL_IMAGETYPE = "fitImage".

In addition, it ought to be possible for recipes and other classes that
use kernel.bbclass to hook into this mechanism by setting
KERNEL_IMAGETYPE_FOR_MAKE and performing their own transformations.

do_bundle_initramfs calls kernel_do_compile and we don't want it to
transform vmlinux to vmlinux.gz at that point, since it will fight
against the careful renaming and preserving that do_bundle_initramfs
does. Let's separate the transformation out of kernel_do_compile to a
new do_transform_kernel task that can be run at the right time. This
means that it's also logical to perform the equivalent translation for
the kernel with the initramfs in a separate
do_transform_bundled_initramfs task too.

This leaves two clear customisation points for recipes and other classes
to hook into the process and perform their transformations:
do_transform_kernel and do_transform_bundled_initramfs.

(I care about this because our recipes that use kernel.bbclass also set
KERNEL_IMAGETYPE_FOR_MAKE and transform vmlinux into a form suitable for
our bootloader after do_compile and do_bundle_initramfs into the format
matching KERNEL_IMAGETYPE. I'm unable to successfully bundle an
initramfs after 526bdd88ccd758204452579333ba188e29270bde, but I didn't
want to just revert that change to reintroduce the bug that it was
fixing.)

I can't say that I'm entirely happy with this change, but I'm unsure
what to do to improve it. I find the way that both the bare kernel and
the one with the initramfs both get deployed to be confusing, and a
waste of build time. I would like to not actually generate a publishable
kernel image at all during do_compile when an initramfs is in use, but I
suspect that this would affect valid use cases that I'm not aware of.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
[1] It could be argued that this should be vmlinux.initramfs.gz, but
that would require another special case in kernel_do_deploy and the
filename is only visible within this class and the recipes that use it
anyway.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>