]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 years agovulkan-samples: Qualify move as std::move
Khem Raj [Tue, 16 Aug 2022 16:58:52 +0000 (09:58 -0700)] 
vulkan-samples: Qualify move as std::move

Fixes build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoboost: Compile out stdlib unary/binary_functions for c++11 and newer
Khem Raj [Tue, 16 Aug 2022 16:58:51 +0000 (09:58 -0700)] 
boost: Compile out stdlib unary/binary_functions for c++11 and newer

These base classes are deprecated/removed from libcpp15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agospirv-tools: Remove default copy constructor in header
Khem Raj [Tue, 16 Aug 2022 17:27:54 +0000 (10:27 -0700)] 
spirv-tools: Remove default copy constructor in header

Fixes build with when clang libc++ runtime is used.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoshaderc: upgrade 2022.1 -> 2022.2
Jose Quaresma [Tue, 16 Aug 2022 08:14:57 +0000 (09:14 +0100)] 
shaderc: upgrade 2022.1 -> 2022.2

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpect: Fix implicit-function-declaration warnings
Khem Raj [Tue, 16 Aug 2022 03:30:03 +0000 (20:30 -0700)] 
expect: Fix implicit-function-declaration warnings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosetserial: Fix build with clang
Khem Raj [Tue, 16 Aug 2022 03:30:02 +0000 (20:30 -0700)] 
setserial: Fix build with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscreen: Add missing include files in configure checks
Khem Raj [Tue, 16 Aug 2022 03:30:01 +0000 (20:30 -0700)] 
screen: Add missing include files in configure checks

Fixes builds with -Werror

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotime: Add missing include for memset
Khem Raj [Tue, 16 Aug 2022 03:30:00 +0000 (20:30 -0700)] 
time: Add missing include for memset

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Upgrade to 251.4 and fix build with binutils 2.39
Khem Raj [Tue, 16 Aug 2022 03:35:51 +0000 (20:35 -0700)] 
systemd: Upgrade to 251.4 and fix build with binutils 2.39

The mount.h conflict patch is now upstream so drop it.
Additionally this version fixes build with binutils-2.39 [1]

[1] https://github.com/systemd/systemd-stable/commit/8a6f966be404897b5333c218701965ac3b5a0806

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomsmtp: upgrade 1.8.20 -> 1.8.22
wangmy [Tue, 16 Aug 2022 00:05:39 +0000 (08:05 +0800)] 
msmtp: upgrade 1.8.20 -> 1.8.22

Changelog:
==========
- The msmtpq script was updated.
- Added a new configuration command 'eval' to replace the current configuration
  file line with the output of a command (similar to passwordeval, but more
  general).
- Added a new configuration command 'set_msgid_header' with the default setting
  'auto'. This adds a Message-ID header to the mail if none is present.
- msmtpd now adds a Received header

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoskeleton/service: Ensure debug path handling works as intended
Richard Purdie [Tue, 16 Aug 2022 09:30:25 +0000 (10:30 +0100)] 
skeleton/service: Ensure debug path handling works as intended

DEBUG_PREFIX_MAP uses ${S} but that wasn't set correctly for this
recipe meaning cwd during the build (WORKDIR) was encoded into the
binary leading to buildpath warnings in debug symbols. Set S correctly
to avoid this issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: Update to match debug file layout changes
Richard Purdie [Wed, 17 Aug 2022 17:18:31 +0000 (18:18 +0100)] 
valgrind: Update to match debug file layout changes

Update the recpie to match the recent debug files layout change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovalgrind: Disable drd/tests/std_thread2 ptest
Richard Purdie [Wed, 17 Aug 2022 17:17:39 +0000 (18:17 +0100)] 
valgrind: Disable drd/tests/std_thread2 ptest

After improvements to debug sources handling I suspect that extra debug
information became available and is confusing this test. Disable it
for now until someone with more knowledge can resolve the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Update patch status to submitted for two patches
Richard Purdie [Wed, 17 Aug 2022 12:17:48 +0000 (13:17 +0100)] 
gcc: Update patch status to submitted for two patches

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Add a patch to avoid hardcoded paths in libgcc on powerpc
Richard Purdie [Tue, 16 Aug 2022 09:29:14 +0000 (10:29 +0100)] 
gcc: Add a patch to avoid hardcoded paths in libgcc on powerpc

Tweak the powerpc code to just include filenames rather than full paths
to avoid build reproducibility issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Resolve relative prefix-map filenames
Richard Purdie [Fri, 12 Aug 2022 16:17:20 +0000 (17:17 +0100)] 
gcc: Resolve relative prefix-map filenames

Add a patch to gcc so that relative paths are handled by -fdebug-prefix-map
and friends. In OE we use relative paths in autotools and removing that
creates a lot of issues we'd have to fix. This alternative allows us to
fix the paths within gcc and improve our debug file coverage (and SPDX
manifests) accordingly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-cross: Fix relative links
Richard Purdie [Thu, 21 Jul 2022 14:27:10 +0000 (15:27 +0100)] 
gcc-cross: Fix relative links

Now that we're using absolute paths to run configure, there are absolute
path symlinks within gcc's output. Use our script that fixes these so
that the sstate objects work correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cython: Update code to match debug path changes
Richard Purdie [Tue, 16 Aug 2022 09:30:02 +0000 (10:30 +0100)] 
python3-cython: Update code to match debug path changes

Match the changes to debug prefixes in bitbake.conf.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Handle S and B separately for debug mapping
Richard Purdie [Wed, 20 Jul 2022 12:28:03 +0000 (13:28 +0100)] 
bitbake.conf: Handle S and B separately for debug mapping

We don't really need to keep S and B separate for debug source purposes
and there shouldn't be source references in WORKDIR that isn't S and B
either.

Separating these out simplifies the shared-work directory handling for
gcc and should also help fix external source usage. Therefore handle
S and B in DEBUG_PREFIX_MAP separately and clean up other code.

Indentation is reduced here as it is introduced on every compiler
commandline so minimising it is helpful.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgcc/gcc-runtime: Improve source reference handling
Richard Purdie [Wed, 20 Jul 2022 11:29:39 +0000 (12:29 +0100)] 
libgcc/gcc-runtime: Improve source reference handling

This code was some of the earliest reproducible build work we did. To
correctly handle the encoding of file paths, we used relative build
paths to run configure which resulted in relative build paths in the
binaries.

We now have more modern approaches used elsewhere with the prefix remapping
options. These work best with absolute paths, not relative ones. As such,
drop the relative path mangling and switch to using prefix mapping
exclusively on absolute paths.

This makes the code matc the rest of the system and triggers the correct
code to be added in /usr/src/debug.

We have to include both file-prefix and debug-prefix since the assembler
only looks at debug-prefix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage: Switch debug source handling to use prefix map
Richard Purdie [Tue, 19 Jul 2022 16:32:32 +0000 (17:32 +0100)] 
package: Switch debug source handling to use prefix map

Reproducible builds are no longer a configuration option but are required.
We also rely on the prefix mapping capability of the compilers now.

As such, rewrite the source locating code to use the prefix maps instead
of taking a guess about WORKDIR which isn't correct for kernels, gcc,
externalsrc and probably more.

Instead, iterate the maps to locate any matching source code, keeping
in mind that multiple maps may map to one target location.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconnman: Backports for security fixes
Khem Raj [Sun, 14 Aug 2022 23:43:04 +0000 (16:43 -0700)] 
connman: Backports for security fixes

Fixes
CVE: CVE-2022-32292, CVE-2022-32293

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackagegroup-self-hosted: update for strace
Kai Kang [Sun, 14 Aug 2022 15:18:02 +0000 (23:18 +0800)] 
packagegroup-self-hosted: update for strace

strace has been set imcompatible with riscv32, so update in
packagegroup-self-hosted.bb accordingly.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperf: Add packageconfig for libbfd support and use disabled as default
Khem Raj [Mon, 15 Aug 2022 03:48:46 +0000 (20:48 -0700)] 
perf: Add packageconfig for libbfd support and use disabled as default

Disable it by default, libbfd changes with binutils major releases and
sometimes it creates a dependency to fix it. See [1]

This will help building with binutils 2.39

[1] https://lore.kernel.org/lkml/20210910225756.729087-1-irogers@google.com/T/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibtirpc: Upgrade to 1.3.3
Khem Raj [Sun, 14 Aug 2022 22:20:37 +0000 (15:20 -0700)] 
libtirpc: Upgrade to 1.3.3

In this release a large number of deadlocks in the
in the multi-thread code were fix. A number of
memory leaks were plugged and a DoS was eliminated.
As well as a large number of bug fixes.

Release notes:

http://sourceforge.net/projects/libtirpc/files/libtirpc/1.3.3/Release-1.3.3.txt

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotiff: Backport a patch for CVE-2022-34526
Khem Raj [Sun, 14 Aug 2022 22:20:36 +0000 (15:20 -0700)] 
tiff: Backport a patch for CVE-2022-34526

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: Ignore CVE-2016-3709
Khem Raj [Sun, 14 Aug 2022 22:20:35 +0000 (15:20 -0700)] 
libxml2: Ignore CVE-2016-3709

This is fixed via a revert in 2.9.11 [1]

[1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/c1ba6f54d32b707ca6d91cb3257ce9de82876b6f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibtirpc: Backport fix for CVE-2021-46828
Khem Raj [Sun, 14 Aug 2022 22:20:34 +0000 (15:20 -0700)] 
libtirpc: Backport fix for CVE-2021-46828

CVE: CVE-2021-46828
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorsync: Upgrade to 3.2.5
Khem Raj [Sun, 14 Aug 2022 22:20:32 +0000 (15:20 -0700)] 
rsync: Upgrade to 3.2.5

Changlog is here [1]
[1] https://download.samba.org/pub/rsync/NEWS#3.2.5

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorsync: Backport fix to address CVE-2022-29154
Khem Raj [Sun, 14 Aug 2022 22:20:31 +0000 (15:20 -0700)] 
rsync: Backport fix to address CVE-2022-29154

CVE: CVE-2022-29154

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agojson-c: Fix function prototypes
Khem Raj [Sun, 14 Aug 2022 22:20:28 +0000 (15:20 -0700)] 
json-c: Fix function prototypes

This is flagged with clang 15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agozlib: Resolve CVE-2022-37434
Khem Raj [Mon, 15 Aug 2022 02:49:50 +0000 (19:49 -0700)] 
zlib: Resolve CVE-2022-37434

Backport needed fixes

CVE: CVE-2022-37434

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodefault-distrovars: Remove largefile from defualt DISTRO_FEATURES
Khem Raj [Sat, 13 Aug 2022 04:28:07 +0000 (21:28 -0700)] 
default-distrovars: Remove largefile from defualt DISTRO_FEATURES

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolocal.conf.sample.extended: Remove largefile from DISTRO_FEATURES
Khem Raj [Sat, 13 Aug 2022 04:28:06 +0000 (21:28 -0700)] 
local.conf.sample.extended: Remove largefile from DISTRO_FEATURES

This feature is removed therefore lets remove it from samples and
templates

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agounzip: Always enable largefile support
Khem Raj [Sat, 13 Aug 2022 04:28:05 +0000 (21:28 -0700)] 
unzip: Always enable largefile support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibmicrohttpd: Enable largefile support unconditionally
Khem Raj [Sat, 13 Aug 2022 04:28:04 +0000 (21:28 -0700)] 
libmicrohttpd: Enable largefile support unconditionally

the distro feature knob is deprecated

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agozip: Always enable LARGE_FILE_SUPPORT
Khem Raj [Sat, 13 Aug 2022 04:28:03 +0000 (21:28 -0700)] 
zip: Always enable LARGE_FILE_SUPPORT

largefile distro feature is deprecated

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomusl: Upgrade to latest tip of trunk
Khem Raj [Sun, 14 Aug 2022 03:08:50 +0000 (20:08 -0700)] 
musl: Upgrade to latest tip of trunk

Rebase existing patches

Brings in following changes

46d1c780 fix strings.h feature test macro usage due to missing features.h
baaf257f fix ESRCH error handling for clock_getcpuclockid
4f48da00 aarch64: add vfork
7d568410 fix mishandling of errno in getaddrinfo AI_ADDRCONFIG logic
d16d7b10 early stage ldso: remove symbolic references via error handling function
63c67053 in early stage ldso before __dls2b, call mprotect with __syscall
a23a3da2 avoid limited space of random temp file names if clock resolution is low
41002798 remove random filename obfuscation that leaks ASLR information
6c858d6f ensure distinct query id for parallel A and AAAA queries in resolver
8974ef21 mntent: fix potential mishandling of extremely long lines
751bee0e mntent: fix parsing lines with optional fields
dcb31f6b fix constraint violation in qsort wrapper around qsort_r

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-base: Include required system headers for isspace() and sscanf()
Khem Raj [Sat, 13 Aug 2022 17:01:55 +0000 (10:01 -0700)] 
gstreamer1.0-plugins-base: Include required system headers for isspace() and sscanf()

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: Bump to latest 2.36 branch
Khem Raj [Fri, 12 Aug 2022 19:27:25 +0000 (12:27 -0700)] 
glibc: Bump to latest 2.36 branch

Drop upstreamed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agojson-c: Add ptest for json-c
Simone Weiss [Fri, 12 Aug 2022 09:39:24 +0000 (11:39 +0200)] 
json-c: Add ptest for json-c

Adapt json-c recipe to compile and deploy a ptest for json-c.
Also add a small script for executing the tests.
All tests were successful on a trial and took around 20 seconds.

Signed-off-by: Simone Weiß <simone.weiss@elektrobit.com>
Signed-off-by: Kai Tomerius <kai.tomerius@elektrobit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: Don't use f-strings
Ernst Sjöstrand [Fri, 12 Aug 2022 06:05:06 +0000 (08:05 +0200)] 
cve-check: Don't use f-strings

Since we're keeping cve-check aligned between the active branches,
and dunfell is supported on Python 3.5, we can't use f-strings.

Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemux86-64: Allow higher tunes
Tom Rini [Thu, 11 Aug 2022 15:40:05 +0000 (11:40 -0400)] 
qemux86-64: Allow higher tunes

Back in 0be64e54a0e6 ("qemux86: Allow higher tunes") we moved the
qemux86 machine to using the core-i7 tune file, for maximum flexibility
and to allow for enabling advanced processor features if desired or
required by various packagess, without changing the default tune. Do the
same now for qemux86-64.

Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreate-spdx: handle links to inaccessible locations
Peter Marko [Thu, 11 Aug 2022 12:35:13 +0000 (14:35 +0200)] 
create-spdx: handle links to inaccessible locations

When a link is pointing to location inaccessible to build user (e.g. "/root/something"),
filepath.is_file() throws "PermissionError: [Errno 13] Permission denied".
Fix this by first checking if it is a link.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoweston: exclude pre-releases from version check
Alexander Kanavin [Thu, 11 Aug 2022 19:58:06 +0000 (21:58 +0200)] 
weston: exclude pre-releases from version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopatchelf: replace a rejected patch with an equivalent uninative.bbclass tweak
Alexander Kanavin [Thu, 11 Aug 2022 19:58:05 +0000 (21:58 +0200)] 
patchelf: replace a rejected patch with an equivalent uninative.bbclass tweak

This was the original reason to add the patch:
https://git.openembedded.org/openembedded-core/commit/?id=18efcbcb896239c64fedd009ce57f3f0c668cbc0

and this is the upstream discussion which suggests handling
read-only files explicitly outside of patchelf:
https://github.com/NixOS/patchelf/pull/89

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopatchelf: update 0.14.5 -> 0.15.0
Alexander Kanavin [Thu, 11 Aug 2022 19:58:04 +0000 (21:58 +0200)] 
patchelf: update 0.14.5 -> 0.15.0

Rebase handle-read-only-files.patch

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoweston: upgrade 10.0.1 -> 10.0.2
Alexander Kanavin [Thu, 11 Aug 2022 19:58:03 +0000 (21:58 +0200)] 
weston: upgrade 10.0.1 -> 10.0.2

Drop dont-use-plane-add-prop.patch as issue is fixed elsewhere
(see the link in the patch).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: update 3.23.2 -> 3.24.0
Alexander Kanavin [Thu, 11 Aug 2022 19:58:02 +0000 (21:58 +0200)] 
cmake: update 3.23.2 -> 3.24.0

License-Update: additional copyright holders

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: update 1.62.0 -> 1.62.1
Alexander Kanavin [Thu, 11 Aug 2022 19:58:01 +0000 (21:58 +0200)] 
rust: update 1.62.0 -> 1.62.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodropbear: merge .inc into .bb
Alexander Kanavin [Thu, 11 Aug 2022 19:58:00 +0000 (21:58 +0200)] 
dropbear: merge .inc into .bb

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto: prepend the the value with a space when append to KERNEL_EXTRA_ARGS
Jose Quaresma [Fri, 12 Aug 2022 14:43:38 +0000 (14:43 +0000)] 
linux-yocto: prepend the the value with a space when append to KERNEL_EXTRA_ARGS

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouninative: Upgrade to 3.7 to work with glibc 2.36
Michael Halstead [Fri, 12 Aug 2022 21:57:36 +0000 (14:57 -0700)] 
uninative: Upgrade to 3.7 to work with glibc 2.36

Update uninative to work with the new glibc 2.36 version

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiproute2: Fix netns check during configure
Khem Raj [Thu, 11 Aug 2022 05:54:33 +0000 (22:54 -0700)] 
iproute2: Fix netns check during configure

Check would fail with compilers using -Werror since _GNU_SOURCE is
needed for this function.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agounzip: Enable largefile support when enabled in distro
Khem Raj [Thu, 11 Aug 2022 05:54:32 +0000 (22:54 -0700)] 
unzip: Enable largefile support when enabled in distro

The test to determine largefile support is a runtime test which wont
work during cross-compile, therefore override the test result from
recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agounzip: Fix configure tests to use modern C
Khem Raj [Thu, 11 Aug 2022 05:54:31 +0000 (22:54 -0700)] 
unzip: Fix configure tests to use modern C

Newer compilers end up with errors while compiling these test snippets
and build results in failures.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agozip: Make configure checks to be more robust
Khem Raj [Thu, 11 Aug 2022 05:54:30 +0000 (22:54 -0700)] 
zip: Make configure checks to be more robust

Newer compilers are strict and have turned some warnings into hard
errors which results in subtle configure check failures. Therefore fix
these tests and also enable largefile support via cflags when its
desired

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agozip: Enable largefile support based on distro feature
Khem Raj [Thu, 11 Aug 2022 05:54:29 +0000 (22:54 -0700)] 
zip: Enable largefile support based on distro feature

The configure test tries to run a binary during build to determine
largefile support, which wont work in cross-compile mode, therefore
specify it when largefile DISTRO_FEATURE is on.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolttng-modules: replace mips compaction fix with upstream change
Bruce Ashfield [Wed, 10 Aug 2022 17:51:12 +0000 (13:51 -0400)] 
lttng-modules: replace mips compaction fix with upstream change

lttng upstream had a different solution to the compaction build isses
seen on mips.

We switch our patch for a backport of the upstream solution.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agowic: add 'none' fstype for custom image
JeongBong Seo [Wed, 10 Aug 2022 08:56:15 +0000 (08:56 +0000)] 
wic: add 'none' fstype for custom image

It's not possible to set the label (of gpt entry) normally
when I want to use non-listed fstype as a rawcopy.

Example)
part ? --source rawcopy --ondisk mmcblk0 --label mypart --sourceparams file=mypart.raw

To resolve this problem, this patch addes a 'none' fstype
and ignore do_image_label on rawcopy (that actually set the partition label.)

Signed-off-by: JeongBong Seo <jb.seo@lge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoapt: fix nativesdk-apt build failure during the second time build
Changqing Li [Tue, 9 Aug 2022 11:47:22 +0000 (19:47 +0800)] 
apt: fix nativesdk-apt build failure during the second time build

Run following commands:
bitbake nativesdk-apt
bitbake nativesdk-apt -c install -f

The second command's do_install will fail with following error:
| /build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot-native/usr/bin/x86_64-wrlinuxsdk-linux/x86_64-wrlinuxsdk-linux-g++ -D_WITH_GETLINE=1 -Dapt_pkg_EXPORTS -I/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/include -I/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/include/apt-pkg --sysroot=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot  -O2 -pipe -fmacro-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0=/usr/src/debug/nativesdk-apt/2.4.5-r0                      -fdebug-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0=/usr/src/debug/nativesdk-apt/2.4.5-r0                      -fdebug-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot=                      -fdebug-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot-native=  -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef -Wdouble-promotion -Wsuggest-override -Werror=suggest-override -Werror=return-type -std=gnu++17 -MD -MT apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o -MF apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o.d -o apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o -c /build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/apt-pkg/tagfile-keys.cc
| /build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/apt-pkg/tagfile-keys.cc:1:10: fatal error: /include/apt-pkg/tagfile-keys.h: No such file or directory
|     1 | #include "/include/apt-pkg/tagfile-keys.h"
0/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/apt-pkg/tagfile-keys.cc

During the first command, do_install task changed tagfile-keys.cc, this
will make tagfile-keys.cc is newer than the built tagfile-keys.cc.o. So the second
do_install will rebuild tagfile-keys.cc.o. But the header path is
replaced wrongly, so fix the header path

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agouboot-config.bbclass: Don't bail out early in multi configs
Kevin Hao [Tue, 9 Aug 2022 10:28:19 +0000 (18:28 +0800)] 
uboot-config.bbclass: Don't bail out early in multi configs

Previously we had the support to build multiple u-boot configs for a
machine, but after the change in the commit 801a27d73b10
("uboot-config.bbclass: Raise error for bad key"), this anonymous
function would bail out after handling the first config in UBOOT_CONFIG.
This is definitely not what we want. Fix it by making sure all the
configs are handled.

Fixed: 801a27d73b10 ("uboot-config.bbclass: Raise error for bad key")
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoglibc: Update patch status
Khem Raj [Tue, 9 Aug 2022 14:50:42 +0000 (07:50 -0700)] 
glibc: Update patch status

These patches were appplied in master

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoglibc: fix new upstream build issue with DEBUG_BUILD build
Martin Jansa [Tue, 9 Aug 2022 05:43:40 +0000 (22:43 -0700)] 
glibc: fix new upstream build issue with DEBUG_BUILD build

* refresh 0001-Revert-Linux-Implement-a-useful-version-of-_startup_.patch
  (just different commit SHA in master and 2.35 branch)

* add proposed fixes for build failure with DEBUG_BUILD:
  http://errors.yoctoproject.org/Errors/Details/663898/

86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse  --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0                      -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0                      -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot=                      -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot-native=  -Wl,-z,relro,-z,now -fuse-ld=bfd  -nostdlib -nostartfiles -r -o TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os '-Wl,-(' TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/dl-allobjs.os TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/rtld-libc.a -lgcc '-Wl,-)' \
  -Wl,-Map,TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os.map
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse  --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0                      -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0=/usr/src/debug/glibc/2.36-r0                      -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot=                      -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot-native=  -Wl,-z,relro,-z,now -fuse-ld=bfd  -nostdlib -nostartfiles -shared -o TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/ld.so.new \
  -Wl,-z,relro -Wl,-z,defs -Wl,-z,now \
  -Wl,-z,pack-relative-relocs \
  TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os -Wl,--version-script=TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/ld.map \
  -Wl,-soname=ld-linux-x86-64.so.2
TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/12.1.0/ld.bfd: TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.36-r0/build-x86_64-oe-linux/elf/librtld.os: in function `_dl_load_cache_lookup':
/usr/src/debug/glibc/2.36-r0/git/elf/dl-cache.c:513: undefined reference to `strcpy'
collect2: error: ld returned 1 exit status

  introduced in 2.36 version, with:
  https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=6b9006bfb0

  upstream report with this fix proposed:
  https://sourceware.org/bugzilla/show_bug.cgi?id=29454

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoglibc: Bump to 2.36
Khem Raj [Tue, 9 Aug 2022 05:43:39 +0000 (22:43 -0700)] 
glibc: Bump to 2.36

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosysvinit: Fix mount.h conflicts seen with glibc 2.36+
Khem Raj [Tue, 9 Aug 2022 07:32:16 +0000 (00:32 -0700)] 
sysvinit: Fix mount.h conflicts seen with glibc 2.36+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoperl: Pass additional flags to enable lfs and gnu source
Khem Raj [Tue, 9 Aug 2022 05:41:20 +0000 (22:41 -0700)] 
perl: Pass additional flags to enable lfs and gnu source

These defines are needed to enable some GNU APIs and large file support
is default in OE anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoperl-cross: Correct function signatures in configure_func.sh
Khem Raj [Tue, 9 Aug 2022 05:41:19 +0000 (22:41 -0700)] 
perl-cross: Correct function signatures in configure_func.sh

There are latent issues in function detection which were succeeding due
to compiler being lenient, but this is fast changing e.g. clang-15 has
turned the -Wimplicit-function-declaration into error which ends up
failing these tests and rightly so. Therefore try to improve the tests
to have proper prototypes known during compilation

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoclasses: rootfs-postcommands: autologin root on serial-getty
Johannes Schneider [Tue, 2 Aug 2022 09:40:19 +0000 (11:40 +0200)] 
classes: rootfs-postcommands: autologin root on serial-getty

when empty-root-password AND serial-autologin-root are part of the
IMAGE_FEATURES, save some of the developers time by not having to type
the (then still sole) 'root' username on the serial console after each
and every reboot

this is done by inserting '--autologin root' into the command line of
the responsible 'getty' service

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoarchiver.bbclass: some recipes that uses the kernelsrc bbclass uses the shared source
Jose Quaresma [Fri, 22 Jul 2022 12:31:24 +0000 (13:31 +0100)] 
archiver.bbclass: some recipes that uses the kernelsrc bbclass uses the shared source

This fix a race that happens when building some of the followning recipes
with kernel at same time.

The kernelsrc uses the kernel shared source dir as their source
S = "${STAGING_KERNEL_DIR}" and this will cause a race in the
do_unpack_and_patch task, when bitbake runs the
bb.build.exec_func('do_unpack', d) because do_unpack will
clean the source dir on startup.

| ok: note that S != "${STAGING_KERNEL_DIR} for this ones
openembedded-core/meta/recipes-kernel/perf/perf.bb:inherit kernelsrc
meta-openembedded/meta-oe/recipes-kernel/usbip-tools/usbip-tools.bb:inherit kernelsrc autotools-brokensep

| broken
meta-openembedded/meta-oe/recipes-kernel/cpupower/cpupower.bb:inherit kernelsrc kernel-arch bash-completion
meta-openembedded/meta-oe/recipes-kernel/spidev-test/spidev-test.bb:inherit bash-completion kernelsrc kernel-arch
meta-openembedded/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb:inherit kernelsrc
meta-openembedded/meta-oe/recipes-kernel/bpftool/bpftool.bb:inherit bash-completion kernelsrc kernel-arch

The issue can be replicated with:

INHERIT += "archiver"
ARCHIVER_MODE[src] = "original"
ARCHIVER_MODE[diff] = "1"

And:

R=<recipe> bitbake -c cleansstate virtual/kernel $R && bitbake $R

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorecipetool: Update for class changes
Richard Purdie [Thu, 11 Aug 2022 14:27:27 +0000 (15:27 +0100)] 
recipetool: Update for class changes

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses: Update classes to match new bitbake class scope functionality
Richard Purdie [Wed, 10 Aug 2022 13:35:29 +0000 (14:35 +0100)] 
classes: Update classes to match new bitbake class scope functionality

Move classes to classes-global or classes-recipe as appropriate to take
advantage of new bitbake functionality to check class scope/usage.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinsane: Update to allow for class layout changes
Richard Purdie [Thu, 11 Aug 2022 14:17:07 +0000 (15:17 +0100)] 
insane: Update to allow for class layout changes

Make the code more generic to allow for the potential incomming class
layout changes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolib: Add copyright statements to files without one
Richard Purdie [Wed, 10 Aug 2022 19:40:57 +0000 (20:40 +0100)] 
lib: Add copyright statements to files without one

Where there isn't a copyright statement, add one to make it explicit.
Also add license identifiers as MIT if there isn't one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses: Add SPDX license identifiers
Richard Purdie [Wed, 10 Aug 2022 17:55:54 +0000 (18:55 +0100)] 
classes: Add SPDX license identifiers

As stated in our top level license files, the license is MIT unless
otherwise stated. Add SPDX identifers accordingly. Replace older
license statementa with the standardised syntax. Also drop "All
Rights Reserved" expression as it isn't used now, doesn't mean anything
and is confusing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts: Add copyright statements to files without one
Richard Purdie [Wed, 10 Aug 2022 17:32:28 +0000 (18:32 +0100)] 
scripts: Add copyright statements to files without one

Where there isn't a copyright statement, add one to make it explicit.
Also drop editor config lines where they were present and add license
identifiers as MIT if there isn't one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses: Add copyright statements to files without one
Richard Purdie [Wed, 10 Aug 2022 17:21:38 +0000 (18:21 +0100)] 
classes: Add copyright statements to files without one

Where there isn't a copyright statement, add one to make it explicit.
Also drop editor config lines where they were present.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest/runtime_test: Use testexport in IMAGE_CLASSES, not globally
Richard Purdie [Thu, 11 Aug 2022 20:54:24 +0000 (21:54 +0100)] 
selftest/runtime_test: Use testexport in IMAGE_CLASSES, not globally

testexport doesn't make sense outside the scope of SDKs and images so
use via IMAGE_CLASSES instead of in the global scope.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotestexport: Use IMAGE_CLASSES for testimage
Richard Purdie [Thu, 11 Aug 2022 15:39:02 +0000 (16:39 +0100)] 
testexport: Use IMAGE_CLASSES for testimage

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotestexport: Fix to work as an image class
Richard Purdie [Fri, 12 Aug 2022 07:11:00 +0000 (08:11 +0100)] 
testexport: Fix to work as an image class

The class is mainly an image based class but one recipe does need to look
at values shared with the class and isn't an image. Move this to a conf
file instead, avoiding the need to pollute all recipes globally.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest/runtime_test/incompatible_lic: Use IMAGE_CLASSES for testimage
Richard Purdie [Thu, 11 Aug 2022 14:26:49 +0000 (15:26 +0100)] 
selftest/runtime_test/incompatible_lic: Use IMAGE_CLASSES for testimage

testimage should be included via IMAGE_CLASSES, not globally with INHERIT.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperf: Fix reproducibility issues with 5.19 onwards
Richard Purdie [Thu, 11 Aug 2022 13:27:36 +0000 (14:27 +0100)] 
perf: Fix reproducibility issues with 5.19 onwards

In 5.19 onwards the build process changed and encoded full build paths
into the output. Adapt the code to look more like our setuptools class
calls. This seems to work ok with older kernels too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa-skeleton/hello-mod: Switch to SPDX-License-Identifier
Richard Purdie [Thu, 11 Aug 2022 14:13:03 +0000 (15:13 +0100)] 
meta-skeleton/hello-mod: Switch to SPDX-License-Identifier

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: Remove unneeded RUST_TARGETGENS settings
Richard Purdie [Wed, 10 Aug 2022 20:46:19 +0000 (21:46 +0100)] 
rust: Remove unneeded RUST_TARGETGENS settings

These match the default from the class so drop them. We then always
generate all targets so remove the configuration from the class.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuildhistory: Only use image-artifact-names as an image class
Richard Purdie [Wed, 10 Aug 2022 16:40:48 +0000 (17:40 +0100)] 
buildhistory: Only use image-artifact-names as an image class

The class only makes sense in the conext of images, not globally so
include as such.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorng-tools: Replace obsolete "wants systemd-udev-settle"
Drew Moseley [Thu, 4 Aug 2022 15:09:52 +0000 (11:09 -0400)] 
rng-tools: Replace obsolete "wants systemd-udev-settle"

The systemd-udev-settle service is listed as obsolete and does in
some cases result in a significant boot time.  Replace that with a
specific wait for the random source hardware device to be loaded.

Before this change:

   Startup finished in 4.025s (kernel) + 2min 13.236s (userspace) = 2min 17.262s
   multi-user.target reached after 2min 8.153s in userspace

After this change:

   Startup finished in 3.956s (kernel) + 13.294s (userspace) = 17.250s
   multi-user.target reached after 9.522s in userspace

Signed-off-by: Drew Moseley <drew@moseleynet.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibpam: use /run instead of /var/run in systemd tmpfiles
Beniamin Sandu [Thu, 4 Aug 2022 11:38:18 +0000 (14:38 +0300)] 
libpam: use /run instead of /var/run in systemd tmpfiles

Update the deprecated path to remove the systemd warning:

/etc/tmpfiles.d/pam.conf:2: Line references path below
legacy directory /var/run/, updating /var/run/console
/run/console; please update the tmpfiles.d/

Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosyslinux: refresh patches with devtool
Martin Jansa [Sat, 6 Aug 2022 12:09:39 +0000 (14:09 +0200)] 
syslinux: refresh patches with devtool

* add git headers so that all can be applied with git am

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>
3 years agosyslinux: Fix build with glibc-2.36
Martin Jansa [Mon, 8 Aug 2022 16:06:12 +0000 (18:06 +0200)] 
syslinux: Fix build with glibc-2.36

* add only necessary definitions from linux/fs.h, because including
  whole file causes conflicts with sys/mount.h since glibc-2.36:
  http://errors.yoctoproject.org/Errors/Details/664535/

  https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E

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>
3 years agowebkitgtk: upgrade 2.36.4 -> 2.36.5
Alexander Kanavin [Mon, 8 Aug 2022 06:42:36 +0000 (08:42 +0200)] 
webkitgtk: upgrade 2.36.4 -> 2.36.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosysklogd: upgrade 2.4.0 -> 2.4.2
Alexander Kanavin [Mon, 8 Aug 2022 06:42:35 +0000 (08:42 +0200)] 
sysklogd: upgrade 2.4.0 -> 2.4.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosqlite3: upgrade 3.39.1 -> 3.39.2
Alexander Kanavin [Mon, 8 Aug 2022 06:42:33 +0000 (08:42 +0200)] 
sqlite3: upgrade 3.39.1 -> 3.39.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-urllib3: upgrade 1.26.10 -> 1.26.11
Alexander Kanavin [Mon, 8 Aug 2022 06:42:32 +0000 (08:42 +0200)] 
python3-urllib3: upgrade 1.26.10 -> 1.26.11

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-sphinx: upgrade 5.0.2 -> 5.1.1
Alexander Kanavin [Mon, 8 Aug 2022 06:42:31 +0000 (08:42 +0200)] 
python3-sphinx: upgrade 5.0.2 -> 5.1.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools: upgrade 63.3.0 -> 63.4.1
Alexander Kanavin [Mon, 8 Aug 2022 06:42:30 +0000 (08:42 +0200)] 
python3-setuptools: upgrade 63.3.0 -> 63.4.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-markdown: upgrade 3.3.7 -> 3.4.1
Alexander Kanavin [Mon, 8 Aug 2022 06:42:29 +0000 (08:42 +0200)] 
python3-markdown: upgrade 3.3.7 -> 3.4.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-jsonschema: upgrade 4.9.0 -> 4.9.1
Alexander Kanavin [Mon, 8 Aug 2022 06:42:28 +0000 (08:42 +0200)] 
python3-jsonschema: upgrade 4.9.0 -> 4.9.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.50.1 -> 6.54.1
Alexander Kanavin [Mon, 8 Aug 2022 06:42:27 +0000 (08:42 +0200)] 
python3-hypothesis: upgrade 6.50.1 -> 6.54.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-dtschema: upgrade 2022.7 -> 2022.8
Alexander Kanavin [Mon, 8 Aug 2022 06:42:26 +0000 (08:42 +0200)] 
python3-dtschema: upgrade 2022.7 -> 2022.8

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3: upgrade 3.10.5 -> 3.10.6
Alexander Kanavin [Mon, 8 Aug 2022 06:42:25 +0000 (08:42 +0200)] 
python3: upgrade 3.10.5 -> 3.10.6

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>