]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 years agogcc: remove obsolete poisoned calloc workaround
Ross Burton [Thu, 8 Sep 2022 10:45:30 +0000 (11:45 +0100)] 
gcc: remove obsolete poisoned calloc workaround

This was fixed upstream in de6f402a, as part of 12.2.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooe-setup-builddir: do not suggest local.conf as a source of examples
Alexander Kanavin [Wed, 7 Sep 2022 08:55:52 +0000 (10:55 +0200)] 
oe-setup-builddir: do not suggest local.conf as a source of examples

This holds true for the default core/poky template, but not
anything else. Eventually there will be fragments and associated
tooling.

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 agooeqa/selftest: Add lower layer test for overlayfs-etc
Vyacheslav Yurkov [Wed, 7 Sep 2022 19:51:39 +0000 (21:51 +0200)] 
oeqa/selftest: Add lower layer test for overlayfs-etc

Place a test file on the /etc by means of overlayfs-user recipe.
Perform QA checks to make sure that:
- When lower layer is exposed, that it's read-only to avoid undefined behavior
- By default lower layer is not exposed

Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses: files: Extend overlayfs-etc class
Vyacheslav Yurkov [Wed, 7 Sep 2022 19:51:38 +0000 (21:51 +0200)] 
classes: files: Extend overlayfs-etc class

Add the ability to expose the lower layer of /etc when mounting overlay.
This is the similar to what overlayroot script from initramfs-framework does.

By default, this option is turned off to keep an old behavior intact.

Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofiles: overlayfs-etc: refactor preinit template
Vyacheslav Yurkov [Wed, 7 Sep 2022 19:51:37 +0000 (21:51 +0200)] 
files: overlayfs-etc: refactor preinit template

Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoclasses: Update overlayfs classes to use new bitbake functionality
Vyacheslav Yurkov [Wed, 7 Sep 2022 19:51:36 +0000 (21:51 +0200)] 
classes: Update overlayfs classes to use new bitbake functionality

OverlayFS classes belong to a recipe scope

Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest: drop image_feature test from overlayfs
Vyacheslav Yurkov [Wed, 7 Sep 2022 19:51:35 +0000 (21:51 +0200)] 
oeqa/selftest: drop image_feature test from overlayfs

The test checked the incorrect class use with INHERIT. This
functionality is now covered by bitbake

Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconnman: Drop redundant nfsroot handling
Tom Hochstein [Wed, 7 Sep 2022 18:38:33 +0000 (13:38 -0500)] 
connman: Drop redundant nfsroot handling

connman has nfsroot support built in since version 1.34 [1], so the
nfsroot handling in the init script is redundant.

[1] https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=ef0d26e6ef2b883193469f016117d8238c1c9658

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: Fix CMAKE_SYSTEM_PROCESSOR setting for SDK
Tom Hochstein [Wed, 7 Sep 2022 22:38:51 +0000 (17:38 -0500)] 
cmake: Fix CMAKE_SYSTEM_PROCESSOR setting for SDK

When building using an SDK, cmake complains that the target
architecture 'cortexa53-crypto' is unknown. The same build in bitbake
uses the target architecture 'aarch64'.

Set CMAKE_SYSTEM_PROCESSOR the same as for bitbake.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooe-setup-builddir: Always update templateconf.cfg
Peter Kjellerstedt [Tue, 6 Sep 2022 16:43:35 +0000 (18:43 +0200)] 
oe-setup-builddir: Always update templateconf.cfg

The intent of the templateconf.cfg file is to cache the value of
$TEMPLATECONF. To do this, it needs to be updated in case TEMPLATECONF
is manually specified.

Before, the following commands:

  TEMPLATECONF=foo . oe-init-build-env
  TEMPLATECONF=bar . oe-init-build-env
  . oe-init-build-env

would cause the templates in foo to be used for the last source of
oe-init-build-env, while afterwards, bar is used as expected.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooe-setup-builddir: Keep templateconf.cfg relative if $TEMPLATECONF is
Peter Kjellerstedt [Tue, 6 Sep 2022 16:43:34 +0000 (18:43 +0200)] 
oe-setup-builddir: Keep templateconf.cfg relative if $TEMPLATECONF is

Before commit 7b96dc80 (scripts/oe-setup-builddir: write to
conf/templateconf.cfg after the build is set up), the path written to
templateconf.cfg was relative if $TEMPLATECONF was relative, but
afterwards it became absolute.

Restore the original behavior of saving the relative path to
templateconf.cfg.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooe-setup-builddir: Avoid shellcheck warnings
Peter Kjellerstedt [Tue, 6 Sep 2022 14:58:53 +0000 (16:58 +0200)] 
oe-setup-builddir: Avoid shellcheck warnings

This avoid the following warnings:

* SC2086: Double quote to prevent globbing and word splitting.
* SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
* SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
* SC2236: Use -n instead of ! -z.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooe-setup-builddir: Simplify error handling
Peter Kjellerstedt [Tue, 6 Sep 2022 14:58:52 +0000 (16:58 +0200)] 
oe-setup-builddir: Simplify error handling

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooe-setup-builddir: Correct when validation of the templates dir is run
Peter Kjellerstedt [Tue, 6 Sep 2022 14:58:51 +0000 (16:58 +0200)] 
oe-setup-builddir: Correct when validation of the templates dir is run

The validation of the templates directory is supposed to be run as long
as $TEMPLATECONF is defined, but it was only done if the directory did
not exist.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocairo: Adapt the license information based on what is being built
Peter Kjellerstedt [Tue, 6 Sep 2022 13:33:54 +0000 (15:33 +0200)] 
cairo: Adapt the license information based on what is being built

If the "trace" PACKAGECONFIG is removed to disable cairo-trace (the
only part of the code licensed as GPL-3.0), we can adapt the licenses
for cairo-dbg and cairo-src so that they do not include
"GPL-3.0-or-later" and thus they can be used also when, e.g., GPL-3.0
is blacklisted in INCOMPATIBLE_LICENSE. Also drop the GPL-3.0 license
text from LIC_FILES_CHKSUM in this case.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsdl2: update 2.0.22 -> 2.24.0
Markus Volk [Tue, 6 Sep 2022 10:59:29 +0000 (12:59 +0200)] 
libsdl2: update 2.0.22 -> 2.24.0

In addition to lots of bug fixes, here are the major changes in this release:

General:

New version numbering scheme, similar to GLib and Flatpak.
An even number in the minor version (second component) indicates a production-ready stable release such as 2.24.0, which would have been 2.0.24 under the old system.
The patchlevel (micro version, third component) indicates a bugfix-only update: for example, 2.24.1 would be a bugfix-only release to fix bugs in 2.24.0, without adding new features.
An odd number in the minor version indicates a prerelease such as 2.23.0. Stable distributions should not use these prereleases.
The patchlevel indicates successive prereleases, for example 2.23.1 and 2.23.2 would be prereleases during development of the SDL 2.24.0 stable release.
Added SDL_GetPointDisplayIndex() and SDL_GetRectDisplayIndex() to get the display associated with a point and rectangle in screen space
Added SDL_bsearch(), SDL_crc16(), and SDL_utf8strnlen() to the stdlib routines
Added SDL_CPUPauseInstruction() as a macro in SDL_atomic.h
Added SDL_size_mul_overflow() and SDL_size_add_overflow() for better size overflow protection
Added SDL_ResetHint() to reset a hint to the default value
Added SDL_ResetKeyboard() to reset SDL's internal keyboard state, generating key up events for all currently pressed keys
Added the hint SDL_HINT_MOUSE_RELATIVE_WARP_MOTION to control whether mouse warping generates motion events in relative mode. This hint defaults off.
Added the hint SDL_HINT_TRACKPAD_IS_TOUCH_ONLY to control whether trackpads are treated as touch devices or mice. By default touchpads are treated as mouse input.
The hint SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS now defaults on
Added support for mini-gamepad mode for Nintendo Joy-Con controllers using the HIDAPI driver
Added the hint SDL_HINT_JOYSTICK_HIDAPI_COMBINE_JOY_CONS to control whether Joy-Con controllers are automatically merged into a unified gamepad when using the HIDAPI driver. This hint defaults on.
The hint SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED can be set to a floating point value to set the brightness of the Home LED on Nintendo Switch controllers
Added the hint SDL_HINT_JOYSTICK_HIDAPI_JOYCON_HOME_LED to set the Home LED brightness for the Nintendo Joy-Con controllers. By default the Home LED is not modified.
Added the hint SDL_HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED to control whether the player LED should be lit on the Nintendo Joy-Con controllers
Added support for Nintendo Online classic controllers using the HIDAPI driver
Added the hint SDL_HINT_JOYSTICK_HIDAPI_NINTENDO_CLASSIC to control whether the HIDAPI driver for Nintendo Online classic controllers should be used
Added support for the NVIDIA Shield Controller to the HIDAPI driver, supporting rumble and battery status
Added support for NVIDIA SHIELD controller to the HIDAPI driver, and a hint SDL_HINT_JOYSTICK_HIDAPI_SHIELD to control whether this is used
Added functions to get the platform dependent name for a joystick or game controller:
SDL_JoystickPathForIndex()
SDL_JoystickPath()
SDL_GameControllerPathForIndex()
SDL_GameControllerPath()
Added SDL_GameControllerGetFirmwareVersion() and SDL_JoystickGetFirmwareVersion(), currently implemented for DualSense(tm) Wireless Controllers using HIDAPI
Added SDL_JoystickAttachVirtualEx() for extended virtual controller support
Added joystick event SDL_JOYBATTERYUPDATED for when battery status changes
Added SDL_GUIDToString() and SDL_GUIDFromString() to convert between SDL GUID and string
Added SDL_HasLSX() and SDL_HasLASX() to detect LoongArch SIMD support
Added SDL_GetOriginalMemoryFunctions()
Added SDL_GetDefaultAudioInfo() to get the name and format of the default audio device, currently implemented for PipeWire, PulseAudio, WASAPI, and DirectSound
Added HIDAPI driver for the NVIDIA SHIELD controller (2017 model) to enable support for battery status and rumble
Added support for opening audio devices with 3 or 5 channels (2.1, 4.1). All channel counts from Mono to 7.1 are now supported.
Rewrote audio channel converters used by SDL_AudioCVT, based on the channel matrix coefficients used as the default for FAudio voices
SDL log messages are no longer limited to 4K and can be any length
Fixed a long-standing calling convention issue with dynapi affecting OpenWatcom or OS/2 builds
Windows:

Added initial support for building for Windows and Xbox with Microsoft's Game Development Kit (GDK), see docs/README-gdk.md for details
Added a D3D12 renderer implementation and SDL_RenderGetD3D12Device() to retrieve the D3D12 device associated with it
Added the hint SDL_HINT_WINDOWS_DPI_AWARENESS to set whether the application is DPI-aware. This hint must be set before initializing the video subsystem
Added the hint SDL_HINT_WINDOWS_DPI_SCALING to control whether the SDL coordinates are in DPI-scaled points or pixels
Added the hint SDL_HINT_DIRECTINPUT_ENABLED to control whether the DirectInput driver should be used
Added support for SDL_GetAudioDeviceSpec to the DirectSound backend
Linux:

Support for XVidMode has been removed, mode changes are only supported using the XRandR extension
Added the hint SDL_HINT_VIDEO_WAYLAND_MODE_EMULATION to control whether to expose a set of emulated modes in addition to the native resolution modes available on Wayland
Added the hint SDL_HINT_KMSDRM_DEVICE_INDEX to specify which KMSDRM device to use if the default is not desired
Added the hint SDL_HINT_LINUX_DIGITAL_HATS to control whether to treat hats as digital rather than checking to see if they may be analog
Added the hint SDL_HINT_LINUX_HAT_DEADZONES to control whether to use deadzones on analog hats
macOS:

Bumped minimum OS deployment version to macOS 10.9
Added SDL_GL_FLOATBUFFERS to allow Cocoa GL contexts to use EDR
Added the hint SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH to control whether dispatching OpenGL context updates should block the dispatching thread until the main thread finishes processing. This hint defaults to blocking, which is the safer option on modern macOS.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovala: upgrade 0.56.2 -> 0.56.3
wangmy [Mon, 5 Sep 2022 09:06:22 +0000 (17:06 +0800)] 
vala: upgrade 0.56.2 -> 0.56.3

Changelog:
==========
 * Various improvements and bug fixes:
  - vala: Don't unconditionally expect ObjectType of Class [#1341]
  - vala: Make try-statement parsing more resilient [#1304]
  - vala: Avoid problems with '\' in #line directives on Windows [#1353]
  - gidlparser: Set source reference of parameters

 * Bindings:
  - atspi-2: Fix a few binding errors
  - glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50 [#1350]
  - gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pytest: upgrade 7.1.2 -> 7.1.3
wangmy [Mon, 5 Sep 2022 09:06:21 +0000 (17:06 +0800)] 
python3-pytest: upgrade 7.1.2 -> 7.1.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pathspec: upgrade 0.9.0 -> 0.10.1
wangmy [Mon, 5 Sep 2022 09:06:20 +0000 (17:06 +0800)] 
python3-pathspec: upgrade 0.9.0 -> 0.10.1

Changelog:
==========
Bug fixes:
------------
Fix documentation on pathspec.pattern.RegexPattern.match_file().
Issue #60: Remove redundant wheel dep from pyproject.toml.
Issue #61: Dist failure for Fedora, CentOS, EPEL.
Issue #62: Since version 0.10.0 pure wildcard does not work in some cases.

Improvements:
-------------
Restore support for legacy installations using setup.py. See Issue #61.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-mako: upgrade 1.2.1 -> 1.2.2
wangmy [Mon, 5 Sep 2022 09:06:19 +0000 (17:06 +0800)] 
python3-mako: upgrade 1.2.1 -> 1.2.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-dtschema: upgrade 2022.8.1 -> 2022.8.3
wangmy [Mon, 5 Sep 2022 09:03:21 +0000 (17:03 +0800)] 
python3-dtschema: upgrade 2022.8.1 -> 2022.8.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopiglit: upgrade to latest revision
wangmy [Mon, 5 Sep 2022 09:03:20 +0000 (17:03 +0800)] 
piglit: upgrade to latest revision

0004-CMakeLists.txt-add-missing-endian.h-check.patch
removed sinct it's included in new version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokmscube: upgrade to latest revision
wangmy [Mon, 5 Sep 2022 09:03:18 +0000 (17:03 +0800)] 
kmscube: upgrade to latest revision

0001-drm-common.c-do-not-use-invalid-modifier.patch
0001-texturator-Use-correct-GL-extension-header.patch
removed since they're included in new version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocracklib: upgrade 2.9.7 -> 2.9.8
wangmy [Mon, 5 Sep 2022 09:03:17 +0000 (17:03 +0800)] 
cracklib: upgrade 2.9.7 -> 2.9.8

0001-rules-Drop-using-register-keyword.patch
0002-rules-Correct-parameter-types-to-Debug-calls.patch
removed since they're included in 2.9.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorootfs-postcommands.bbclass: avoid moving ssh host keys if etc is writable
Peter Bergin [Mon, 5 Sep 2022 18:40:40 +0000 (20:40 +0200)] 
rootfs-postcommands.bbclass: avoid moving ssh host keys if etc is writable

When using IMAGE_FEATURE read-only-rootfs ssh host keys are moved to volatile
storage. If the feature overlayfs-etc is used in addition to read-only-rootfs
/etc is writable and the move is not wanted. But in the case also the IMAGE_FEATURE
stateless-rootfs is used the keys will be moved as storage of keys should not
be wanted in a stateless-rootfs.

This change only takes effect in the case IMAGE_FEATURE contains read-only-rootfs.
In adddition the following cases are handled:

  IMAGE_FEATURES = "read-only-rootfs" --> ssh keys/config handled as ro root
  IMAGE_FEATURES = "read-only-rootfs overlayfs-etc" --> ssh keys/config handled as rw root
  IMAGE_FEATURES = "read-only-rootfs stateless-rootfs" --> ssh keys/config handled as ro root
  IMAGE_FEATURES = "read-only-rootfs overlayfs-etc stateless-rootfs" --> ssh keys/config handled as ro root

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocore-image.bbclass: Exclude openssh complementary packages
Pavel Zhukov [Mon, 5 Sep 2022 16:24:48 +0000 (18:24 +0200)] 
core-image.bbclass: Exclude openssh complementary packages

Openssh (main) package may be marked for installation via complementary
packages mechanism if sftp-server is installed
and this causes conflict with dropbear [Yocto #14858] [1].
Excluding openssh complementary packages if packagegroup-core-ssh-dropbear
is in PACKAGE_INSTALL fixes this issue.
To install openssh complementary packages in the images with
ssh-server-dropbear they may be added manually into the list because
they will be excluded from the installation even if corresonding class
(dev-pkg or dbg-pkgs) inherited.

[1]
Error:
 Problem: problem with installed package dropbear-2020.81-r0.core2_64
  - package dropbear-2020.81-r0.core2_64 conflicts with openssh provided by openssh-8.9p1-r0.core2_64
  - package openssh-8.9p1-r0.core2_64 conflicts with dropbear provided by dropbear-2020.81-r0.core2_64
  - package openssh-ptest-8.9p1-r0.core2_64 requires openssh, but none of the providers can be installed
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Fix unwritable /var/lock when no sysvinit handling
niko.mauno@vaisala.com [Mon, 5 Sep 2022 12:26:11 +0000 (12:26 +0000)] 
systemd: Fix unwritable /var/lock when no sysvinit handling

Commit 8089cefed8e83c0348037768c292058f1bcbbbe5 ("systemd: Add
PACKAGECONFIG for sysvinit") decoupled enabling of systemd's sysvinit
handling behavior behind a distinct PACKAGECONFIG feature.

This new option affects among other things the installing of
tmpfiles.d/legacy.conf, which is responsible for creating /run/lock
directory, which is pointed to by /var/lock symlink provided by
base-files package.

In case the option is not enabled, then base-files provided /var/lock
is a dangling symlink on resulting rootfs, causing problems with
certain Linux userspace components that rely on existence of writable
/var/lock directory. As an example:

  # fw_printenv
  Error opening lock file /var/lock/fw_printenv.lock

Since Filesystem Hierarchy Standard Version 3.0 states in
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s09.html that

  Lock files should be stored within the /var/lock directory structure.

Ensure the /run/lock directory is always created, so that lock files
can be stored under /var/lock also when 'sysvinit' handling is
disabled.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils : CVE-2022-38533
pgowda [Mon, 5 Sep 2022 15:20:28 +0000 (20:50 +0530)] 
binutils : CVE-2022-38533

Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ef186fe54aa6d281a3ff8a9528417e5cc614c797]

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoselftest/cases/bblayers.py: build python3-jsonschema only once
Alexander Kanavin [Mon, 5 Sep 2022 18:21:41 +0000 (20:21 +0200)] 
selftest/cases/bblayers.py: build python3-jsonschema only once

setUpLocal runs before every testcase, setUpClass runs only once in
the beginning.

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 agotiff: backport fix for CVE-2022-2953
Ross Burton [Mon, 5 Sep 2022 11:28:13 +0000 (12:28 +0100)] 
tiff: backport fix for CVE-2022-2953

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxmlto: remove redundant patches
Ross Burton [Mon, 5 Sep 2022 10:19:53 +0000 (11:19 +0100)] 
xmlto: remove redundant patches

0001-Skip-validating-xmlto-output isn't needed as xmllint will use the
local catalogues correctly now[1].

configure.in-drop-the-test-of-xmllint-and-xsltproc can be dropped if we
pre-load the result of AC_PATH_PROG with ac_cv_path_XMLLINT.

[1] oe-core 8159b47e7ddddaca57ade2ecf24d8ff9a0abf26a

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: Fix sstate file mirroring checksum issue
Richard Purdie [Wed, 7 Sep 2022 11:02:22 +0000 (12:02 +0100)] 
sstate: Fix sstate file mirroring checksum issue

After a recent fix in bitbake, the checksums may be checked for local file
fetches at an earlier code point. The underlying recipe checksums won't
match sstate values so ensure these aren't set via SRC_URI flags when
reconfiguring the fetch for sstate.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoicecc.bbclass: delete 'rm' command
Ulrich Ölmann [Wed, 7 Sep 2022 10:57:51 +0000 (12:57 +0200)] 
icecc.bbclass: delete 'rm' command

The removed command was explicitly marked as transitional in commit [1] roughly
three years ago, so finally clean up.

[1] 40d74cb1d0dd ("icecc: Export ICECC_CC and friends via wrapper-script")

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoicecc.bbclass: fix typos
Ulrich Ölmann [Wed, 7 Sep 2022 10:57:50 +0000 (12:57 +0200)] 
icecc.bbclass: fix typos

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Add 'no-dns-fallback' PACKAGECONFIG option
niko.mauno@vaisala.com [Wed, 7 Sep 2022 09:23:33 +0000 (09:23 +0000)] 
systemd: Add 'no-dns-fallback' PACKAGECONFIG option

systemd defines a default set of fallback DNS servers in
https://github.com/systemd/systemd/blob/v251/meson_options.txt#L328-L330

By adding a PACKAGECONFIG knob providing a convenient way to opt out,
and then adding that value to systemd's PACKAGECONFIG, the output from
runtime 'resolvectl status' command no longer contains the following
line:

  Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google 1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2001:4860:4860::8888#dns.google 2606:4700:4700::1001#cloudflare-dns.com 2001:4860:4860::8844#dns.google

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: remove obsolete 0012-export-CPP.patch
Ross Burton [Wed, 7 Sep 2022 13:02:07 +0000 (14:02 +0100)] 
gcc: remove obsolete 0012-export-CPP.patch

This patch is no longer needed, the upstream Makefile exports CPP from
CPP_FOR_BUILD since 12.1.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-cross: pass -Werror=poison-system-directories to compiler stages
Ross Burton [Wed, 7 Sep 2022 13:02:06 +0000 (14:02 +0100)] 
gcc-cross: pass -Werror=poison-system-directories to compiler stages

The -Werror=poison-system-directories argument was being passed to runs
where _just_ CPP was being invoked, so it wasn't passed to runs which
also compile.  Add the options to cc1_options so that compile runs also
have fatal poisoning errors.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa-selftest/poison: improve sysroot poisoning test case
Ross Burton [Wed, 7 Sep 2022 13:02:05 +0000 (14:02 +0100)] 
meta-selftest/poison: improve sysroot poisoning test case

It was discovered by Martin Jansa that the sysroot poisoning errors are
not functioning as they should. Due to either a bug from day 1 or a
bad rebase, -Werror=poison-system-directories is only passed when GCC
is invoking _just_ the preprocessor, not the compiler.

Demonstrate this by expanding the test case to exercise not just $CPP,
but also $CC for both C and C++ languages. This improved test case now
fails.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: Port gentest.py to Python-3
Martin Jansa [Wed, 7 Sep 2022 12:30:52 +0000 (14:30 +0200)] 
libxml2: Port gentest.py to Python-3

* but it still won't work well on hosts without libxml2, make
  sure to use pre-generated testapi.c in do_compile_ptest

* this is reproducible with SOURCE_DATE_EPOCH set to 0 which
  e.g. meta-updater still sets by default for DISTROs which
  use it :(, see https://github.com/uptane/meta-updater/pull/35

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: fix gstreamer include paths
Martin Jansa [Wed, 7 Sep 2022 12:30:51 +0000 (14:30 +0200)] 
webkitgtk: fix gstreamer include paths

* fixes:
  http://errors.yoctoproject.org/Errors/Details/671441/

  cc1plus: error: include location "/usr/include/gstreamer-1.0" is unsafe for cross-compilation [-Werror=poison-system-directories]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Wed, 7 Sep 2022 09:32:11 +0000 (10:32 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-cross-canadian: Fix for the issue caused by using sdk shell
Sundeep KOKKONDA [Wed, 7 Sep 2022 02:18:17 +0000 (07:48 +0530)] 
rust-cross-canadian: Fix for the issue caused by using sdk shell

This is a fix for the fix in YOCTO #14878. When the shebang is more than
128 characters the default shell /bin/sh is used instead of SDK shell as
a fallback, which causes problems with LD_LIBRARY_PATH. With this patch
shell usage is avoided as we use a C wrapper and unset LD_LIBRARY_PATH
that way.

[YOCTO #14892]

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibfontenc: Update 1.1.4 to 1.1.6
Robert Joslyn [Mon, 5 Sep 2022 00:17:43 +0000 (17:17 -0700)] 
libfontenc: Update 1.1.4 to 1.1.6

Tarball switched from bz2 to xz.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibxau: Update 1.0.9 to 1.0.10
Robert Joslyn [Sun, 4 Sep 2022 18:53:38 +0000 (11:53 -0700)] 
libxau: Update 1.0.9 to 1.0.10

Tarball switched from bz2 to xz.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibxfont2: Update 2.0.5 to 2.0.6
Robert Joslyn [Sun, 4 Sep 2022 18:53:37 +0000 (11:53 -0700)] 
libxfont2: Update 2.0.5 to 2.0.6

Tarball switched from bz2 to xz.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoxorg-lib-common: Add variable to set tarball type
Robert Joslyn [Sun, 4 Sep 2022 18:53:36 +0000 (11:53 -0700)] 
xorg-lib-common: Add variable to set tarball type

Upstream has switched some new releases from bz2 to xz compression. Add
an XORG_EXT variable so recipes can set the file name extension needed
for the compression type.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosquashfs-tools: build with lzo support
Markus Volk [Sun, 4 Sep 2022 05:29:28 +0000 (07:29 +0200)] 
squashfs-tools: build with lzo support

This is e.g. needed to be able to install snaps.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorust: Enable verbose-tests to get the test results in readable format
pgowda [Sun, 4 Sep 2022 07:06:41 +0000 (12:36 +0530)] 
rust: Enable verbose-tests to get the test results in readable format

Emits complete details regarding the test results to understand
and debug from logfiles

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: Add linker configurations for cross compilation
pgowda [Sun, 4 Sep 2022 07:04:03 +0000 (12:34 +0530)] 
rust: Add linker configurations for cross compilation

Adds the cross compilation linker for build, host and target.
Ensure the main rust config has the appropriate sections added
to match the configurations.

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoparselogs.py: ignore systemd-logind warning message
Changqing Li [Fri, 19 Aug 2022 09:54:34 +0000 (17:54 +0800)] 
parselogs.py: ignore systemd-logind warning message

During upower.servie startup, it will send message "GetAll
org.freedesktop.DBus.Properties" to systemd-logind.service. Property
RebootToBootLoaderMenu and RebootToBootLoaderEntry will return warning
message when env SYSTEMD_REBOOT_TO_BOOT_LOADER_MENU,
SYSTEMD_REBOOT_TO_BOOT_LOADER_ENTRY are not set, and also efi boot is
not used. The message just warning and not harmful.

Since do_testimage run qemu, and use basic bios to boot, test_parselogs
failed with error:
-----------------------
Central error: Aug  8 02:53:59 qemuarm systemd-logind[383]: Failed to read LoaderConfigTimeoutOneShot variable, ignoring: Operation not supported
***********************

So just ignore this error message so that parselogs.py test case does not
fail.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: Update to 2.6.37
Khem Raj [Sat, 3 Sep 2022 09:21:00 +0000 (02:21 -0700)] 
webkitgtk: Update to 2.6.37

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 agoltp: Update list of tests not buildable on musl
Petr Vorel [Fri, 2 Sep 2022 22:31:12 +0000 (00:31 +0200)] 
ltp: Update list of tests not buildable on musl

These tests are working on musl, thus not deleted:

* getcontext01.c
fixed for musl during conversion to the new API in 20220527
(commit 0f519d0da)

* ebizzy-0.3
fixed in 20200930 (commit 967612c45)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoautoconf: Update K & R stype functions
Khem Raj [Fri, 2 Sep 2022 17:28:09 +0000 (10:28 -0700)] 
autoconf: Update K & R stype functions

This replaces the proposed patch with a backport of what got accepted upstream

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 agokernel: Use consistent make flags for menuconfig
Richard Purdie [Fri, 2 Sep 2022 16:27:12 +0000 (16:27 +0000)] 
kernel: Use consistent make flags for menuconfig

We're currently only passing in a subset of the kernel make flags to
menuconfig. Fix this to be consistent with all the other kernel
operations since these are becomming increasingly reliant on host
compilers and flags and target toolchains as well.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel: Always set CC and LD for the kernel build
Richard Purdie [Fri, 2 Sep 2022 15:12:41 +0000 (15:12 +0000)] 
kernel: Always set CC and LD for the kernel build

It as been bothering me a bit that we don't set CC and LD consistently
for the kernel make calls and this can lead to interesting bugs as the
kernel increases in complexity. Add them to EXTRA_OEMAKE so they're
always passed in. This makes everything slightly more consistent and
less likely to break in future.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts/oe-setup-builddir: make environment variable the highest priority source...
Alexander Kanavin [Fri, 2 Sep 2022 12:02:01 +0000 (14:02 +0200)] 
scripts/oe-setup-builddir: make environment variable the highest priority source for TEMPLATECONF

This sets the following order:

1. TEMPLATECONF set in the unix environment (for example as a
prefix to '. oe-init-build-env').

2. If empty then $BUILDDIR/conf/templateconf.cfg

3. If absent then $OEROOT/.templateconf (oe-init-build-env sets OEROOT
to where it is, which is poky or oe-core).

I believe this is more logical and consistent with common practice;
it also avoids situations where the user is stuck with cryptic
errors because templateconf.cfg contains something invalid and
that something cannot be overridden from command line.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts/oe-setup-builddir: write to conf/templateconf.cfg after the build is set up
Alexander Kanavin [Fri, 2 Sep 2022 12:02:02 +0000 (14:02 +0200)] 
scripts/oe-setup-builddir: write to conf/templateconf.cfg after the build is set up

This was done before any of the sanity checks or actual setup, which
resulted in templateconf.cfg always getting written out, whether it
would be valid or not, and the user becoming stuck with it.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/sdk: extend rust test to also use a build script
Peter Bergin [Tue, 23 Aug 2022 08:56:36 +0000 (10:56 +0200)] 
oeqa/sdk: extend rust test to also use a build script

The test for rust in the SDK is extended with the simplest
possible build script. This will make use of the host toolchain
for building build.rs before building the rust package for target.

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackagegroup-rust-cross-canadian: add native compiler environment
Peter Bergin [Tue, 23 Aug 2022 08:56:35 +0000 (10:56 +0200)] 
packagegroup-rust-cross-canadian: add native compiler environment

When building rust crates it is quite common to have a build script [1]
that is compiled for the host machine and then used during build for target.
Currently when adding packagegroup-rust-cross-canadian this does not work
without having the native compiler and linker added to the SDK.
Add those packages to the packagegroup to make it easier to handle.

The reason for having glibc-dev and libgcc-dev is to have version match
with the used tools. Otherwise it will work on hosts that have compatible
gcc and glibc versions but not on all.

[1] https://doc.rust-lang.org/cargo/reference/build-scripts.html

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-multilib-config: Fix i686 toolchain relocation issues
Richard Purdie [Fri, 2 Sep 2022 13:59:27 +0000 (14:59 +0100)] 
gcc-multilib-config: Fix i686 toolchain relocation issues

This code wasn't changing the linux.h on i686. Make the entry match that
for i586 which was correct.

This fixes problems where the wrong dynamic loader path was used by
nativesdk-gcc on i686 SDK targets by ensuring SYSTEMLIBS_DIR is replaced
by %r in the correct header files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxmlto: Update to use upstream tip of trunk
Khem Raj [Wed, 17 Aug 2022 16:24:36 +0000 (09:24 -0700)] 
xmlto: Update to use upstream tip of trunk

There are several fixes which are done to fix builds with newer
compilers after 0.0.28 was releases in 2015 a long time ago.

Add a patch to fix manpages builds not trying to access network during
build

Add UPSTREAM_CHECK_COMMITS = "1"

Regenerate xmlif from lex files, before configuring the build.
Run lex from sourcedir to avoid emitting absolute source paths via #line
directive into generated c source file which ends up causing
reproducability isssue

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 agoruby: drop capstone support
Alexandre Belloni [Fri, 2 Sep 2022 09:47:58 +0000 (11:47 +0200)] 
ruby: drop capstone support

Upstream dropped capstone support and this also causing us
reproducibility issues.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agometa/files/layers.schema.json: drop the layers property
Alexander Kanavin [Thu, 1 Sep 2022 18:37:49 +0000 (20:37 +0200)] 
meta/files/layers.schema.json: drop the layers property

This is a leftover from one of the RFC iterations, where
the property contained available machines, distros and templates.
As all of those were dropped from the final version, there is no
reason to list the layers either anymore.

Normally this would be a backwards incompatible change, but as
the layer setup itself was just merged, I think we can do a quick
fixup :-)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoscripts/oe-setup-builddir: migrate build/conf/templateconf.cfg to new template locations
Alexander Kanavin [Thu, 1 Sep 2022 14:23:28 +0000 (16:23 +0200)] 
scripts/oe-setup-builddir: migrate build/conf/templateconf.cfg to new template locations

This is done only for default oe-core/poky templates; for anything
else the locations themselves need to be migrated first, and there
is no way to tell where they would be.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoccache: Upgrade to 4.6.2
Khem Raj [Tue, 23 Aug 2022 18:01:51 +0000 (11:01 -0700)] 
ccache: Upgrade to 4.6.2

Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agollvm: remove 0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
Alexander Kanavin [Thu, 1 Sep 2022 12:40:46 +0000 (14:40 +0200)] 
llvm: remove 0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch

At some point this became unnecessary as llvm builds with with musl without it.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-pip: remove unneeded reproducible.patch
Alexander Kanavin [Thu, 1 Sep 2022 07:21:25 +0000 (09:21 +0200)] 
python3-pip: remove unneeded reproducible.patch

Since "python_pep517: use installer instead of pip" pip is no longer
used in builds, and therefore doesn't need to behave reproducibly.

I have submitted the patch upstream; upstream have suggested that the
way it had been used previously is non-reproducible by design, and
if pip is again brought into builds in the future, we should use
specific options for reproducibility:

https://github.com/pypa/pip/issues/11424

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-pip: submit reproducible.patch upstream
Alexander Kanavin [Thu, 1 Sep 2022 07:21:24 +0000 (09:21 +0200)] 
python3-pip: submit reproducible.patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibsdl2: follow upstream version is even rule
Alexander Kanavin [Thu, 1 Sep 2022 07:21:23 +0000 (09:21 +0200)] 
libsdl2: follow upstream version is even rule

As announced here:
https://github.com/libsdl-org/SDL/releases/tag/release-2.24.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogdk-pixbuf: submit fatal-loader.patch upstream
Alexander Kanavin [Thu, 1 Sep 2022 07:21:22 +0000 (09:21 +0200)] 
gdk-pixbuf: submit fatal-loader.patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agovalgrind: (re)send ppc instructions patch upstream
Alexander Kanavin [Thu, 1 Sep 2022 07:21:21 +0000 (09:21 +0200)] 
valgrind: (re)send ppc instructions patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosysvinit: send install.patch upstream
Alexander Kanavin [Thu, 1 Sep 2022 07:21:20 +0000 (09:21 +0200)] 
sysvinit: send install.patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomc: submit perl warnings patch upstream
Alexander Kanavin [Thu, 1 Sep 2022 07:21:19 +0000 (09:21 +0200)] 
mc: submit perl warnings patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython: submit CC to cc_basename patch upstream
Alexander Kanavin [Thu, 1 Sep 2022 07:21:18 +0000 (09:21 +0200)] 
python: submit CC to cc_basename patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoovmf: drop the force no-stack-protector patch
Alexander Kanavin [Thu, 1 Sep 2022 07:21:17 +0000 (09:21 +0200)] 
ovmf: drop the force no-stack-protector patch

This should not be necessary, as ovmf is already marked as
COMPATIBLE_HOST:class-target='(i.86|x86_64).*'
and existing upstream code handles both.

If/when ovmf is used on other targets, the situation can be revisited.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoghostscript: remove unneeded patch
Alexander Kanavin [Thu, 1 Sep 2022 07:21:16 +0000 (09:21 +0200)] 
ghostscript: remove unneeded patch

The patch has been added here
https://git.yoctoproject.org/poky/commit/?id=ca63a0158ae42010477080ad6bb776329f1230b0
and isn't necessary anymore, as cross compilation works fine
without it.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0-plugins-bad: remove an unneeded patch
Alexander Kanavin [Thu, 1 Sep 2022 07:21:15 +0000 (09:21 +0200)] 
gstreamer1.0-plugins-bad: remove an unneeded patch

Latest gcc no longer produces the warnings that this patch was
fixing.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomtd-utils: remove patch that adds -I option
Alexander Kanavin [Thu, 1 Sep 2022 07:21:14 +0000 (09:21 +0200)] 
mtd-utils: remove patch that adds -I option

The patch was added in https://git.yoctoproject.org/poky/commit/?id=f594a1145eb5b952265a3fdf6b158ef41b148b12
with no explanation for the use case or metadata.

As there are no uses of the option in poky or meta-oe, it can be removed.
In the (unlikely) event that someone is using the option privately, please cherry-pick
into a product layer, and send upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoshadow: correct the pam patch status
Alexander Kanavin [Thu, 1 Sep 2022 07:21:13 +0000 (09:21 +0200)] 
shadow: correct the pam patch status

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosyslinux: mark all pending patches as Inactive-Upstream
Alexander Kanavin [Thu, 1 Sep 2022 07:21:12 +0000 (09:21 +0200)] 
syslinux: mark all pending patches as Inactive-Upstream

As seen here https://repo.or.cz/syslinux.git/shortlog

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agocurl: Update to 7.85.0
Robert Joslyn [Wed, 31 Aug 2022 20:45:02 +0000 (13:45 -0700)] 
curl: Update to 7.85.0

Release notes are available at: https://curl.se/changes.html#7_85_0

Remove backported patches as they are included in the new release.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agovim: Upgrade 9.0.0242 -> 9.0.0341
Richard Purdie [Wed, 31 Aug 2022 16:07:12 +0000 (17:07 +0100)] 
vim: Upgrade 9.0.0242 -> 9.0.0341

Addresses CVE-2022-2980, CVE-2022-2946 and CVE-2022-2982.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agocve-check: close cursors as soon as possible
Ross Burton [Fri, 26 Aug 2022 17:35:47 +0000 (18:35 +0100)] 
cve-check: close cursors as soon as possible

We can have multiple processes reading the database at the same time, and
cursors only release their locks when they're garbage collected.

This might be the cause of random sqlite errors on the autobuilder, so
explicitly close the cursors when we're done with them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agopackagegroup-base.bb: add a configure option to set the wireless-daemon
Markus Volk [Tue, 30 Aug 2022 13:52:05 +0000 (15:52 +0200)] 
packagegroup-base.bb: add a configure option to set the wireless-daemon

Possible options would be wpa-supplicant or iwd.

iwd is a wireless daemon written by intel and supported by all major network managers.
It can be run in standalone mode and configured with 'iwctl' from the terminal, and
with 'iwgtk' or 'iwdgui' from the gui. It can also work as a wpa_supplicant drop-in
replacement for network-manager, connman or systemd-networkd.

iwd makes heavy use of the kernel api, so it is not portable but does not need
additional external libraries like openssl.

The PACKAGECONFIG name for wpa-supplicant in the connman recipe is changed accordingly,
so that it also works there when WIRELESS_DAEMON is set globally.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoimage_types: Set SOURCE_DATE_EPOCH for squashfs
William A. Kennington III [Mon, 29 Aug 2022 23:10:22 +0000 (16:10 -0700)] 
image_types: Set SOURCE_DATE_EPOCH for squashfs

We want to use the reproducible timestamp for all of the files that is
set rootfs-postcommands.bbclass, derived from
REPRODUCIBLE_TIMESTAMP_ROOTFS. Without this, we use a hardcoded time
that is built into the squashfs sources.

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorepo: upgrade 2.28 -> 2.29.1
wangmy [Tue, 30 Aug 2022 04:28:10 +0000 (12:28 +0800)] 
repo: upgrade 2.28 -> 2.29.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-urllib3: upgrade 1.26.11 -> 1.26.12
wangmy [Tue, 30 Aug 2022 04:28:09 +0000 (12:28 +0800)] 
python3-urllib3: upgrade 1.26.11 -> 1.26.12

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-hatchling: upgrade 1.8.0 -> 1.8.1
wangmy [Tue, 30 Aug 2022 04:24:54 +0000 (12:24 +0800)] 
python3-hatchling: upgrade 1.8.0 -> 1.8.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolz4: upgrade 1.9.3 -> 1.9.4
wangmy [Tue, 30 Aug 2022 04:11:52 +0000 (12:11 +0800)] 
lz4: upgrade 1.9.3 -> 1.9.4

CVE-2021-3520.patch
removed since it's included in 1.9.4

License-Update:
  Copyright year updated to 2020
  description of 3rd party applications changed

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibatomic-ops: upgrade 7.6.12 -> 7.6.14
wangmy [Tue, 30 Aug 2022 04:11:51 +0000 (12:11 +0800)] 
libatomic-ops: upgrade 7.6.12 -> 7.6.14

License-Update:  Adjust/reformat content of LICENSING.txt
=========================================================
 "libatomic_ops_gpl.a" changed to "libatomic_ops_gpl.a file"
 "sysdeps" changed to "atomic_ops/sysdeps"
 "This applies only to test code, sample applications," changed to
 "This applies only to the test code"

Changelog:
==========
 Add note to README that AO malloc code has same license as AO stack
 Adjust/reformat content of LICENSING.txt
 Avoid AO_stack_t to cross CPU cache line boundary
 Do not assume 'ordered except earlier write' for UWP/arm64
 Do not name GCC intrinsics as C11 ones in ChangeLog and configure
 Eliminate '-pedantic is not option that controls warnings' GCC-6.3 message
 Ensure result of AO_test_and_set is always AO_TS_CLEAR or AO_TS_SET
 Fix 'AO_malloc redefinition' MS VC warning caused by attributes mismatch
 Fix 'use of undeclared SIG_BLOCK' Clang error if -std=c89 on Cygwin
 Fix AO_compare_and_swap_full asm code for clang on sparc
 Fix a typo in comment of AO_stack_push_explicit_aux_release
 Fix code indentation in main() of test_stack.c
 Refine AO_UNIPROCESSOR macro description in configure
 Remove outdated comment about unsupported Win64 in atomic_ops_stack.h
 Repeat black list check on CAS fail in stack_push_explicit_aux_release

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolttng-ust: upgrade 2.13.3 -> 2.13.4
wangmy [Tue, 30 Aug 2022 04:11:49 +0000 (12:11 +0800)] 
lttng-ust: upgrade 2.13.3 -> 2.13.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolttng-tools: upgrade 2.13.7 -> 2.13.8
wangmy [Tue, 30 Aug 2022 04:11:48 +0000 (12:11 +0800)] 
lttng-tools: upgrade 2.13.7 -> 2.13.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibwpe: upgrade 1.12.2 -> 1.12.3
wangmy [Tue, 30 Aug 2022 04:09:21 +0000 (12:09 +0800)] 
libwpe: upgrade 1.12.2 -> 1.12.3

Changelog:
  Fix the build when using Clang's libc++ or the Musl libc.

0001-Fix-build-failure-due-to-libc-using-libc-functions.patch
removed since it's included in 1.12.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoliburcu: upgrade 0.13.1 -> 0.13.2
wangmy [Tue, 30 Aug 2022 04:09:20 +0000 (12:09 +0800)] 
liburcu: upgrade 0.13.1 -> 0.13.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibtasn1: upgrade 4.18.0 -> 4.19.0
wangmy [Tue, 30 Aug 2022 04:09:19 +0000 (12:09 +0800)] 
libtasn1: upgrade 4.18.0 -> 4.19.0

Changelog:
===========
- Clarify libtasn1.map license.  Closes: #38.
- Fix ETYPE_OK out of bounds read.  Closes: #32.
- Update gnulib files and various maintenance fixes.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibrsvg: upgrade 2.54.4 -> 2.54.5
wangmy [Tue, 30 Aug 2022 04:09:18 +0000 (12:09 +0800)] 
librsvg: upgrade 2.54.4 -> 2.54.5

Changelog:
- #880 - Accept patterns with userSpaceOnUse units for the stroke of
  axis-aligned lines.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoethtool: upgrade 5.18 -> 5.19
wangmy [Tue, 30 Aug 2022 04:09:17 +0000 (12:09 +0800)] 
ethtool: upgrade 5.18 -> 5.19

avoid_parallel_tests.patch
refreshed for new version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorsync: Turn on -pedantic-errors at the end of 'configure'
Khem Raj [Tue, 30 Aug 2022 03:32:16 +0000 (20:32 -0700)] 
rsync: Turn on -pedantic-errors at the end of 'configure'

This helps in building rsync without autoconf patch, since it will be a
while that the round trip is made, better to apply this patch here until
next release of autoconf.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibrepo: Fix build on musl
Khem Raj [Sat, 27 Aug 2022 16:22:02 +0000 (09:22 -0700)] 
librepo: Fix build on musl

Add missing header file

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorust-llvm: Update to matching LLVM_VERSION from rust-source
Khem Raj [Mon, 22 Aug 2022 05:38:13 +0000 (22:38 -0700)] 
rust-llvm: Update to matching LLVM_VERSION from rust-source

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>