]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
2 years agomdadm: skip running known broken ptests
Ovidiu Panait [Tue, 4 Jul 2023 07:39:18 +0000 (10:39 +0300)] 
mdadm: skip running known broken ptests

Upstream marked some testcases as "KNOWN BROKEN" and introduced the
"--skip-broken" flag to ignore them when running the testsuite (commits [1]
and [2]). Backport these two commits to get rid of the last remaining ptest
failures.

Also, add the "--skip-broken" option to the run-ptest script.

[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=28520bf114b3
[2] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=daa86d663476

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomdadm: fix segfaults when running ptests
Ovidiu Panait [Tue, 4 Jul 2023 07:39:17 +0000 (10:39 +0300)] 
mdadm: fix segfaults when running ptests

Currently, some segfaults are reported when running ptest:
mdadm[12333]: segfault at 0 ip 00007fe855924060 sp 00007ffc4d6caf88 error 4 in libc.so.6[7f)
Code: d2 0f 84 b7 0f 00 00 48 83 fa 01 0f 84 b9 0f 00 00 49 89 d3 89 f1 89 f8 48 83 e1 3f 4f

Backport the following upstream commits to fix them:
679bd9508a30 ("DDF: Cleanup validate_geometry_ddf_container()")
2b93288a5650 ("DDF: Fix NULL pointer dereference in validate_geometry_ddf()")
548e9b916f86 ("mdadm/Grow: Fix use after close bug by closing after fork")
9ae62977b51d ("monitor: Avoid segfault when calling NULL get_bad_blocks")

The fixes are part of the "Bug fixes and testing improvments" patchset [1].

[1] https://www.spinics.net/lists/raid/msg70621.html

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomdadm: fix 07revert-inplace ptest
Ovidiu Panait [Tue, 4 Jul 2023 07:39:16 +0000 (10:39 +0300)] 
mdadm: fix 07revert-inplace ptest

Testcase 07revert-inplace fails if strace is not installed:
...
strace -o /tmp/str ./mdadm -A /dev/md0 --update=revert-reshape /dev/<...>
tests/07revert-inplace: line 40: strace: command not found

Add strace to mdadm-ptest RDEPENDS to make sure the testcase passes even with
a core-image-minimal build.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomdadm: fix util-linux ptest dependency
Ovidiu Panait [Tue, 4 Jul 2023 07:39:15 +0000 (10:39 +0300)] 
mdadm: fix util-linux ptest dependency

Trying to run mdadm-ptest in a core-image-minimal build will result in:
root@qemux86-64:~# ptest-runner mdadm
START: ptest-runner
BEGIN: /usr/lib/mdadm/ptest
which: no lsblk in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin)
lsblk command not found!
DURATION: 0
END: /usr/lib/mdadm/ptest
2023-06-28T10:14
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Remove util-linux from RRECOMMENDS and only add util-linux-lsblk and
util-linux-losetup to RDEPENDS.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: Add qemu-user-* and qemu-system-* to PACKAGES_DYNAMIC
Mingli Yu [Mon, 26 Jun 2023 05:58:00 +0000 (13:58 +0800)] 
qemu: Add qemu-user-* and qemu-system-* to PACKAGES_DYNAMIC

Fixes:
  Add below line to conf/local.conf
  IMAGE_INSTALL:append = " qemu-system-aarch64"
  $ bitbake core-image-base
  ERROR: Required build target 'core-image-base' has no buildable providers.
  Missing or unbuildable dependency chain was: ['core-image-base', 'qemu-system-aarch64']

(From OE-Core rev: b89201b7c163b075880a35733700c6d4205b4461)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agouboot-extlinux-config.bbclass: fix old override syntax in comment
Quentin Schulz [Mon, 26 Jun 2023 14:08:47 +0000 (16:08 +0200)] 
uboot-extlinux-config.bbclass: fix old override syntax in comment

The comment specifies how to use the variables but uses the older and
now unsupported override syntax. Let's update to match the newer syntax.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: 0a381eea4d50ff1c6e7c7d0d4df62eb581454b48)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoalsa-lib: Disable old API symbols
Khem Raj [Sat, 24 Jun 2023 05:32:22 +0000 (22:32 -0700)] 
alsa-lib: Disable old API symbols

These symbols are currently generated as undefined in the shared object,
which means we really do not need them.

(From OE-Core rev: a704ba641078d4b31da9d9af13e10c576f4a0b48)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-module-split add systemd modulesloaddir and modprobedir config
Jose Quaresma [Tue, 4 Jul 2023 10:36:09 +0000 (10:36 +0000)] 
kernel-module-split add systemd modulesloaddir and modprobedir config

Because busybox doesn't support other path than /etc [1] we can't
change the default path unconditionally so change it only for systemd.

The modules-load.d [2] - Configure kernel modules to load at boot
should install their configuration files in /usr/lib/modules-load.d.

The modprobe.d [3] - Configuration directory for modprobe
should install their configuration files in /lib/modprobe.d

[1] https://git.busybox.net/busybox/tree/modutils/modprobe.c?id=669c40ed8ebf480c95ce36135104e474e361a7e6#n658
[2] https://man7.org/linux/man-pages/man5/modules-load.d.5.html
[3] https://man7.org/linux/man-pages/man5/modprobe.d.5.html

[YOCTO #12212] https://bugzilla.yoctoproject.org/show_bug.cgi?id=12212

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibjpeg-turbo: upgrade to 3.0.0
Ross Burton [Tue, 4 Jul 2023 10:21:52 +0000 (11:21 +0100)] 
libjpeg-turbo: upgrade to 3.0.0

Remove 0001-libjpeg-turbo-fix-package_qa-error.patch, doesn't appear to
be needed anymore.

Use the full upstream license for LICENSE, and change LIC_FILES_CHKSUM
to point at just the license overview in LICENSE.md.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopkgconf: update SRC_URI
Ross Burton [Mon, 3 Jul 2023 16:18:37 +0000 (17:18 +0100)] 
pkgconf: update SRC_URI

dereferenced.org is now longer controlled by the pkgconf maintainers[1],
so use the the new hosting location.

[1] https://github.com/pkgconf/pkgconf/commit/437c2a3218bfcb1cae7fa38a4ccd0cb29575ff07

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomusl: Guard fallocate64 with _LARGEFILE64_SOURCE
Khem Raj [Wed, 28 Jun 2023 20:44:54 +0000 (13:44 -0700)] 
musl: Guard fallocate64 with _LARGEFILE64_SOURCE

Gets this fix

718f363b move fallocate64 declaration under _LARGEFILE64_SOURCE feature test

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocpio: respect MLPREFIX for PACKAGE_WRITE_DEPS
Martin Jansa [Sat, 1 Jul 2023 23:56:05 +0000 (01:56 +0200)] 
cpio: respect MLPREFIX for PACKAGE_WRITE_DEPS

* unlike DEPENDS/RDEPENDS the PACKAGE_WRITE_DEPS dependency isn't automatically
  extended with MLPREFIX, causing lib32-cpio to depend on 64bit ptest-runner (and
  all its deps)

* append it only for class-target to avoid nativesdk-cpio depending
  on target ptest-runner (before this patch) and depending on non-existent
  nativesdk-ptest-runner with this patch (as nativesdk.bbclass sets MLPREFIX to
  "nativesdk-")

  stdio: WARNING: Nothing PROVIDES 'nativesdk-ptest-runner'. Close matches:
  stdio: WARNING: Nothing RPROVIDES 'nativesdk-cpio' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-extended/cpio/cpio_2.14.bb RDEPENDS on or otherwise requires it)
  stdio: WARNING: Nothing RPROVIDES 'nativesdk-cpio-dev' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-extended/cpio/cpio_2.14.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowebkitgtk: Enable JIT on RISCV64
Khem Raj [Mon, 3 Jul 2023 18:38:47 +0000 (11:38 -0700)] 
webkitgtk: Enable JIT on RISCV64

Its supported in 2.40+ release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibssh2: disable rpath to fix curl-native build
Sudip Mukherjee [Fri, 30 Jun 2023 15:32:46 +0000 (16:32 +0100)] 
libssh2: disable rpath to fix curl-native build

When curl is built with PACKAGECONFIG:append = " libssh2", the build fails
with the error:
gcc: error: unrecognized command-line option '-R'

It was trying to set the rpath for libssh2.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoscripts/oe-setup-builddir: copy conf-notes.txt to build dir
Stéphane Veyret [Sun, 2 Jul 2023 12:21:21 +0000 (14:21 +0200)] 
scripts/oe-setup-builddir: copy conf-notes.txt to build dir

Since commit 569d4cd325, if one is using a custom template directory
containing a conf-notes.txt, this file is only displayed when creating
a new environment. When entering an already existing environment, only
the default poky conf-notes.txt is displayed.

This patch copies the conf-notes.txt to display to the build directory,
so that the good file is shown, even when templateconf.cfg is not used.

Signed-off-by: Stéphane Veyret <sveyret@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobluez5: upgrade 5.66 -> 5.68
Anuj Mittal [Mon, 3 Jul 2023 03:30:25 +0000 (11:30 +0800)] 
bluez5: upgrade 5.66 -> 5.68

Include a patch submitted upstream to fix cross-compilation issues.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoglib-networking: upgrade 2.76.0 -> 2.76.1
Anuj Mittal [Mon, 3 Jul 2023 03:30:24 +0000 (11:30 +0800)] 
glib-networking: upgrade 2.76.0 -> 2.76.1

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibpng: upgrade 1.6.39 -> 1.6.40
Anuj Mittal [Mon, 3 Jul 2023 03:30:23 +0000 (11:30 +0800)] 
libpng: upgrade 1.6.39 -> 1.6.40

License-Update: Change in copyright dates

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovte: upgrade 0.72.1 -> 0.72.2
Anuj Mittal [Mon, 3 Jul 2023 03:30:22 +0000 (11:30 +0800)] 
vte: upgrade 0.72.1 -> 0.72.2

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosqlite3: upgrade 3.41.2 -> 3.42.0
Anuj Mittal [Mon, 3 Jul 2023 06:59:09 +0000 (14:59 +0800)] 
sqlite3: upgrade 3.41.2 -> 3.42.0

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorpm: backport fix to prevent crashes with latest sqlite
Anuj Mittal [Mon, 3 Jul 2023 06:59:08 +0000 (14:59 +0800)] 
rpm: backport fix to prevent crashes with latest sqlite

SQLite 3.42.0 causes crashes when installing RPM packages at rootfs
creation time. Backport an upstream fix to resolve the issue.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-hypothesis: upgrade 6.79.2 -> 6.80.0
Tim Orling [Sun, 2 Jul 2023 10:03:52 +0000 (03:03 -0700)] 
python3-hypothesis: upgrade 6.79.2 -> 6.80.0

Changes:
* This release drops support for Python 3.7, which reached end of life
  on 2023-06-27.
* Fixes occasional recursion-limit-exceeded errors when validating deeply
  nested strategies. Closes: issue #3671
* This patch updates our vendored list of top-level domains, which is used
  by the provisional domains() strategy.

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-80-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-79-4
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-79-3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibpam: Fix examples build on musl
Khem Raj [Sun, 2 Jul 2023 20:02:49 +0000 (13:02 -0700)] 
libpam: Fix examples build on musl

This came with latest libpam upgrade

../../Linux-PAM-1.5.3/examples/tty_conv.c:9:10: fatal error: 'termio.h' file not found
         ^~~~~~~~~~
1 error generated.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoffmpeg: Fix build on riscv
Khem Raj [Mon, 3 Jul 2023 02:45:44 +0000 (19:45 -0700)] 
ffmpeg: Fix build on riscv

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-typing-extensions: upgrade 4.6.3 -> 4.7.0
Tim Orling [Mon, 3 Jul 2023 08:51:11 +0000 (01:51 -0700)] 
python3-typing-extensions: upgrade 4.6.3 -> 4.7.0

New features and bug fixes.

NOTE: This is expected to be the last feature release supporting Python 3.7,
      which reaches its end of life on June 27, 2023. Version 4.8.0 will
      support only Python 3.8.0 and up.

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-470-june-28-2023
https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-470rc1-june-21-2023

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-urllib3: upgrade 2.0.2 -> 2.0.3
Tim Orling [Mon, 3 Jul 2023 08:52:05 +0000 (01:52 -0700)] 
python3-urllib3: upgrade 2.0.2 -> 2.0.3

https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#203-2023-06-07

* Allowed alternative SSL libraries such as LibreSSL, while still issuing a
  warning as we cannot help users facing issues with implementations other
  than OpenSSL. (#3020)
* Deprecated URLs which don't have an explicit scheme (#2950)
* Fixed response decoding with Zstandard when compressed data is made of
  several frames. (#3008)
* Fixed assert_hostname=False to correctly skip hostname check. (#3051)

License-Update: Removed outdated reference to CONTRIBUTORS.txt

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pytest-subtests: upgrade 0.10.0 -> 0.11.0
Tim Orling [Mon, 3 Jul 2023 08:52:38 +0000 (01:52 -0700)] 
python3-pytest-subtests: upgrade 0.10.0 -> 0.11.0

* inherit python_setuptools_build_meta since setup.py was dropped

https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst#0110-2023-05-15

* Logging is displayed for failing subtests (#92)
* Passing subtests no longer turn the pytest output to yellow (as if
  warnings have been issued) (#86). Thanks to Andrew-Brock for providing
  the solution.
* Now the msg contents of a subtest is displayed when running pytest with
  -v (#6).

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoptest-runner: Pull in "runner: Remove threads and mutexes" fix
Richard Purdie [Thu, 29 Jun 2023 16:39:55 +0000 (17:39 +0100)] 
ptest-runner: Pull in "runner: Remove threads and mutexes" fix

This fix simplifies the code to drop the pthread and mutexs which should
address some of the buffering issues we were seeing in some test case
failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoimage-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME...
Martin Jansa [Mon, 12 Jun 2023 16:22:47 +0000 (18:22 +0200)] 
image-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME} and ${IMAGE_LINK_NAME}

* ${IMAGE_NAME}${IMAGE_NAME_SUFFIX} is almost always used together already
  and when they aren't it's usually because of hardcoded '.rootfs' suffix

* it's a bit strange, because ${IMAGE_NAME_SUFFIX} is applied after the
  version from ${IMAGE_VERSION_SUFFIX}, if we move it to ${IMAGE_LINK_NAME}
  then it will be applied before the version and ${IMAGE_LINK_NAME}
  will be just the version-less symlink to latest built version.

* it's not added to INITRAMFS_IMAGE_NAME as it assumes that all
  images used as initramfs will set IMAGE_NAME_SUFFIX to empty.
  Many already do as shown bellow, but you might need to extend
  this list in your layer.

* this also allows to drop support for imgsuffix varflag, recipes which
  don't want to have .rootfs suffix can just set IMAGE_NAME_SUFFIX to
  empty and it will be consistently respected by both IMAGE_NAME and IMAGE_LINK_NAME

* imgsuffix = d.getVarFlag("do_" + taskname, 'imgsuffix') or d.expand("${IMAGE_NAME_SUFFIX}.")
  is kind of terrible, notice trailing '.' after ${IMAGE_NAME_SUFFIX}
  while this dot was in imgsuffix in:
  do_bootimg[imgsuffix] = "."

  but in both cases it's not really part of the imgsuffix, but the
  "extension" type separator as in dst variable:

         dst = os.path.join(deploy_dir, link_name + "." + type)
-        src = img_name + imgsuffix + type
+        src = img_name + "." + type

* for ubifs volumes move vname after IMAGE_NAME_SUFFIX

* to better document these changes here is an example with default poky
  configuration with just:
  IMAGE_FSTYPES:append:pn-core-image-minimal = " live wic wic.vmdk ubi"
  MKUBIFS_ARGS = "-m 2048 -e 129024 -c 968 -x zlib"
  UBINIZE_ARGS = "-m 2048 -p 131072 -s 512"
  added in local.conf, so that deploy_dir has also some initramfs and more
  IMAGE_FSTYPES

* "ls -lahi tmp/deploy/images/qemux86-64/"
  output after "bitbake core-image-minimal"

  And deploy-dir is cleaned between runs with:
  bitbake -c clean core-image-minimal core-image-minimal-initramfs virtual/kernel grub-efi systemd-boot

  The output confirms that the only change is ".rootfs" added not only
  in ext4 and manifest files, but also for hddimg, iso, qemuboot.conf
  testdata.json for both the actual artifacts as well as the symlinks
  while core-image-minimal-initramfs doesn't have them as IMAGE_NAME_SUFFIX
  was already set to empty there:
meta/classes-recipe/baremetal-image.bbclass:IMAGE_NAME_SUFFIX ?= ""
meta/recipes-core/images/core-image-minimal-initramfs.bb:IMAGE_NAME_SUFFIX ?= ""
meta/recipes-core/images/core-image-tiny-initramfs.bb:IMAGE_NAME_SUFFIX ?= ""
meta/recipes-extended/baremetal-example/baremetal-helloworld_git.bb:IMAGE_NAME_SUFFIX ?= ""
meta/recipes-extended/images/core-image-testcontroller-initramfs.bb:IMAGE_NAME_SUFFIX ?= ""

  before these changes:
total 297M
31269162 drwxr-xr-x 2 martin martin 4.0K Mar  7 19:19 .
31263942 drwxr-xr-x 3 martin martin 4.0K Mar  7 12:53 ..
35845703 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 bzImage -> bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
35845704 -rw-r--r-- 2 martin martin  11M Mar  7 12:27 bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
35845702 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 bzImage-qemux86-64.bin -> bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
40236967 -rw-r--r-- 2 martin martin  13M Mar  7 19:19 core-image-minimal-initramfs-qemux86-64-20230307181808.cpio.gz
40203232 -rw-r--r-- 2 martin martin 1.1K Mar  7 19:19 core-image-minimal-initramfs-qemux86-64-20230307181808.manifest
40212700 -rw-r--r-- 2 martin martin 1.6K Mar  7 19:19 core-image-minimal-initramfs-qemux86-64-20230307181808.qemuboot.conf
40211556 -rw-r--r-- 2 martin martin 211K Mar  7 19:19 core-image-minimal-initramfs-qemux86-64-20230307181808.testdata.json
40236964 lrwxrwxrwx 2 martin martin   62 Mar  7 19:19 core-image-minimal-initramfs-qemux86-64.cpio.gz -> core-image-minimal-initramfs-qemux86-64-20230307181808.cpio.gz
40203235 lrwxrwxrwx 2 martin martin   63 Mar  7 19:19 core-image-minimal-initramfs-qemux86-64.manifest -> core-image-minimal-initramfs-qemux86-64-20230307181808.manifest
40212690 lrwxrwxrwx 2 martin martin   68 Mar  7 19:19 core-image-minimal-initramfs-qemux86-64.qemuboot.conf -> core-image-minimal-initramfs-qemux86-64-20230307181808.qemuboot.conf
40211560 lrwxrwxrwx 2 martin martin   68 Mar  7 19:19 core-image-minimal-initramfs-qemux86-64.testdata.json -> core-image-minimal-initramfs-qemux86-64-20230307181808.testdata.json
40237307 -rw-r--r-- 2 martin martin  57M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.hddimg
40237329 -rw-r--r-- 2 martin martin  56M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.iso
40220347 -rw-r--r-- 2 martin martin 1.6K Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.qemuboot.conf
40236942 -rw-r--r-- 2 martin martin  34M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.ext4
40211563 -rw-r--r-- 2 martin martin 1.2K Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.manifest
40237206 -rw-r--r-- 2 martin martin  16M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.tar.bz2
40237216 -rw-r--r-- 2 martin martin  20M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.ubi
40224358 -rw-r--r-- 2 martin martin  19M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.ubifs
40360386 -rw-r--r-- 2 martin martin  73M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.wic
40237285 -rw-r--r-- 2 martin martin  35M Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.rootfs.wic.vmdk
40209866 -rw-r--r-- 2 martin martin 206K Mar  7 19:19 core-image-minimal-qemux86-64-20230307181808.testdata.json
40236946 lrwxrwxrwx 2 martin martin   56 Mar  7 19:19 core-image-minimal-qemux86-64.ext4 -> core-image-minimal-qemux86-64-20230307181808.rootfs.ext4
40237336 lrwxrwxrwx 2 martin martin   51 Mar  7 19:19 core-image-minimal-qemux86-64.hddimg -> core-image-minimal-qemux86-64-20230307181808.hddimg
40237337 lrwxrwxrwx 2 martin martin   48 Mar  7 19:19 core-image-minimal-qemux86-64.iso -> core-image-minimal-qemux86-64-20230307181808.iso
40211564 lrwxrwxrwx 2 martin martin   60 Mar  7 19:19 core-image-minimal-qemux86-64.manifest -> core-image-minimal-qemux86-64-20230307181808.rootfs.manifest
40220348 lrwxrwxrwx 2 martin martin   58 Mar  7 19:19 core-image-minimal-qemux86-64.qemuboot.conf -> core-image-minimal-qemux86-64-20230307181808.qemuboot.conf
40237205 lrwxrwxrwx 2 martin martin   59 Mar  7 19:19 core-image-minimal-qemux86-64.tar.bz2 -> core-image-minimal-qemux86-64-20230307181808.rootfs.tar.bz2
40209873 lrwxrwxrwx 2 martin martin   58 Mar  7 19:19 core-image-minimal-qemux86-64.testdata.json -> core-image-minimal-qemux86-64-20230307181808.testdata.json
40237217 lrwxrwxrwx 2 martin martin   55 Mar  7 19:19 core-image-minimal-qemux86-64.ubi -> core-image-minimal-qemux86-64-20230307181808.rootfs.ubi
40236771 lrwxrwxrwx 2 martin martin   57 Mar  7 19:19 core-image-minimal-qemux86-64.ubifs -> core-image-minimal-qemux86-64-20230307181808.rootfs.ubifs
40237287 lrwxrwxrwx 2 martin martin   55 Mar  7 19:19 core-image-minimal-qemux86-64.wic -> core-image-minimal-qemux86-64-20230307181808.rootfs.wic
40237286 lrwxrwxrwx 2 martin martin   60 Mar  7 19:19 core-image-minimal-qemux86-64.wic.vmdk -> core-image-minimal-qemux86-64-20230307181808.rootfs.wic.vmdk
40237192 -rw-r--r-- 2 martin martin 3.8K Mar  7 19:19 core-image-minimal.env
34458377 -rw-r--r-- 2 martin martin 616K Mar  7 17:55 grub-efi-bootx64.efi
34963606 -rwxr-xr-x 2 martin martin 103K Mar  6 22:02 linuxx64.efi.stub
35845662 -rw-r--r-- 2 martin martin 8.2M Mar  7 12:27 modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz
35845701 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 modules-qemux86-64.tgz -> modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz
34963605 -rwxr-xr-x 2 martin martin 140K Mar  6 22:02 systemd-bootx64.efi
27651415 -rw-r--r-- 2 martin martin  274 Mar  7 19:19 ubinize-core-image-minimal-qemux86-64-20230307181808.cfg

  after these changes:
total 297M
31269162 drwxr-xr-x 2 martin martin 4.0K Mar  7 19:16 .
31263942 drwxr-xr-x 3 martin martin 4.0K Mar  7 12:53 ..
39479266 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 bzImage -> bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
39479267 -rw-r--r-- 2 martin martin  11M Mar  7 12:27 bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
39479264 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 bzImage-qemux86-64.bin -> bzImage--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.bin
39648810 -rw-r--r-- 2 martin martin  13M Mar  7 19:15 core-image-minimal-initramfs-qemux86-64-20230307181456.cpio.gz
39638400 -rw-r--r-- 2 martin martin 1.1K Mar  7 19:15 core-image-minimal-initramfs-qemux86-64-20230307181456.manifest
39644650 -rw-r--r-- 2 martin martin 1.6K Mar  7 19:15 core-image-minimal-initramfs-qemux86-64-20230307181456.qemuboot.conf
39637657 -rw-r--r-- 2 martin martin 211K Mar  7 19:15 core-image-minimal-initramfs-qemux86-64-20230307181456.testdata.json
39648091 lrwxrwxrwx 2 martin martin   62 Mar  7 19:15 core-image-minimal-initramfs-qemux86-64.cpio.gz -> core-image-minimal-initramfs-qemux86-64-20230307181456.cpio.gz
39638401 lrwxrwxrwx 2 martin martin   63 Mar  7 19:15 core-image-minimal-initramfs-qemux86-64.manifest -> core-image-minimal-initramfs-qemux86-64-20230307181456.manifest
39644651 lrwxrwxrwx 2 martin martin   68 Mar  7 19:15 core-image-minimal-initramfs-qemux86-64.qemuboot.conf -> core-image-minimal-initramfs-qemux86-64-20230307181456.qemuboot.conf
39637662 lrwxrwxrwx 2 martin martin   68 Mar  7 19:15 core-image-minimal-initramfs-qemux86-64.testdata.json -> core-image-minimal-initramfs-qemux86-64-20230307181456.testdata.json
39654281 -rw-r--r-- 2 martin martin  34M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.ext4
39656710 -rw-r--r-- 2 martin martin  57M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.hddimg
39657112 -rw-r--r-- 2 martin martin  56M Mar  7 19:16 core-image-minimal-qemux86-64.rootfs-20230307181456.iso
39645313 -rw-r--r-- 2 martin martin 1.2K Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.manifest
39646013 -rw-r--r-- 2 martin martin 1.6K Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.qemuboot.conf
39656336 -rw-r--r-- 2 martin martin  16M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.tar.bz2
39644408 -rw-r--r-- 2 martin martin 206K Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.testdata.json
39656583 -rw-r--r-- 2 martin martin  20M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.ubi
39654124 -rw-r--r-- 2 martin martin  19M Mar  7 19:15 core-image-minimal-qemux86-64.rootfs-20230307181456.ubifs
39802371 -rw-r--r-- 2 martin martin  73M Mar  7 19:16 core-image-minimal-qemux86-64.rootfs-20230307181456.wic
39657113 -rw-r--r-- 2 martin martin  35M Mar  7 19:16 core-image-minimal-qemux86-64.rootfs-20230307181456.wic.vmdk
39654412 lrwxrwxrwx 2 martin martin   56 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.ext4 -> core-image-minimal-qemux86-64.rootfs-20230307181456.ext4
39657167 lrwxrwxrwx 2 martin martin   58 Mar  7 19:16 core-image-minimal-qemux86-64.rootfs.hddimg -> core-image-minimal-qemux86-64.rootfs-20230307181456.hddimg
39657168 lrwxrwxrwx 2 martin martin   55 Mar  7 19:16 core-image-minimal-qemux86-64.rootfs.iso -> core-image-minimal-qemux86-64.rootfs-20230307181456.iso
39645316 lrwxrwxrwx 2 martin martin   60 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.manifest -> core-image-minimal-qemux86-64.rootfs-20230307181456.manifest
39646014 lrwxrwxrwx 2 martin martin   65 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.qemuboot.conf -> core-image-minimal-qemux86-64.rootfs-20230307181456.qemuboot.conf
39656315 lrwxrwxrwx 2 martin martin   59 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.tar.bz2 -> core-image-minimal-qemux86-64.rootfs-20230307181456.tar.bz2
39644406 lrwxrwxrwx 2 martin martin   65 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.testdata.json -> core-image-minimal-qemux86-64.rootfs-20230307181456.testdata.json
39656584 lrwxrwxrwx 2 martin martin   55 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.ubi -> core-image-minimal-qemux86-64.rootfs-20230307181456.ubi
39654775 lrwxrwxrwx 2 martin martin   57 Mar  7 19:15 core-image-minimal-qemux86-64.rootfs.ubifs -> core-image-minimal-qemux86-64.rootfs-20230307181456.ubifs
39657126 lrwxrwxrwx 2 martin martin   55 Mar  7 19:16 core-image-minimal-qemux86-64.rootfs.wic -> core-image-minimal-qemux86-64.rootfs-20230307181456.wic
39657088 lrwxrwxrwx 2 martin martin   60 Mar  7 19:16 core-image-minimal-qemux86-64.rootfs.wic.vmdk -> core-image-minimal-qemux86-64.rootfs-20230307181456.wic.vmdk
39654418 -rw-r--r-- 2 martin martin 3.8K Mar  7 19:15 core-image-minimal.env
39475732 -rw-r--r-- 2 martin martin 616K Mar  7 17:55 grub-efi-bootx64.efi
31507074 -rwxr-xr-x 2 martin martin 103K Mar  6 22:02 linuxx64.efi.stub
39479261 -rw-r--r-- 2 martin martin 8.2M Mar  7 12:27 modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz
39479263 lrwxrwxrwx 2 martin martin   77 Mar  7 12:27 modules-qemux86-64.tgz -> modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz
31507058 -rwxr-xr-x 2 martin martin 140K Mar  6 22:02 systemd-bootx64.efi
27651415 -rw-r--r-- 2 martin martin  274 Mar  7 19:15 ubinize-core-image-minimal-qemux86-64.rootfs-20230307181456.cfg

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agokernel-devicetree: install dtb files without -${KERNEL_DTB_NAME} suffix
Martin Jansa [Thu, 25 May 2023 10:22:18 +0000 (12:22 +0200)] 
kernel-devicetree: install dtb files without -${KERNEL_DTB_NAME} suffix

* we were installing them with -${KERNEL_DTB_NAME} suffix
  and then adding a symlink without this suffix if
  KERNEL_IMAGETYPE_SYMLINK is set:
  if [ "${KERNEL_IMAGETYPE_SYMLINK}" = "1" ] ; then
    ln -sf $dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext $deployDir/$dtb_base_name.$dtb_ext
  fi

  and another one when KERNEL_DTB_LINK_NAME is set:
  if [ -n "${KERNEL_DTB_LINK_NAME}" ] ; then
    ln -sf $dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext $deployDir/$dtb_base_name-${KERNEL_DTB_LINK_NAME}.$dtb_ext
  fi

  but KERNEL_DEVICETREE variable doesn't include this
  -${KERNEL_DTB_NAME} suffix, so everything which uses KERNEL_DEVICETREE
  either needs to add it as well or depend on KERNEL_IMAGETYPE_SYMLINK
  being set, e.g. IMAGE_BOOT_FILES variable used by do_image_wic is
  generated by make_dtb_boot_files function here:
  https://github.com/agherzan/meta-raspberrypi/blob/2ad4dd667affb72bdbbc2d6b5f7b50589f506b31/conf/machine/include/rpi-base.inc#L118
  and do_image_wic fails without KERNEL_IMAGETYPE_SYMLINK:
  | WARNING: bootloader config not specified, using defaults
  |
  | ERROR: _exec_cmd: install -m 0644 -D deploy/images/raspberrypi4-64/bcm2711-rpi-4-b.dtb image/1.0-r1/tmp-wic/boot.1/bcm2711-rpi-4-b.dtb returned '1' instead of 0
  | output: install: cannot stat 'deploy/images/raspberrypi4-64/bcm2711-rpi-4-b.dtb': No such file or directory

  we can fix the function to append -${KERNEL_DTB_NAME} or we can
  change this to install without suffix and then add ${KERNEL_DTB_NAME}
  link only when KERNEL_DTB_NAME is set (${MACHINE} by default)

* now it looks strange to have both KERNEL_DTB_LINK_NAME and KERNEL_DTB_NAME
  symlinks, but keep it for backwards compatibility and it will make
  more sense again together with the rest of [YOCTO #12937] where version
  specific *_LINK_NAME links are created as hardlinks in separate do_deploy_links
  task.

[YOCTO #12937]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoselftest: multiconfig-image-packager: try to respect IMAGE_LINK_NAME
Martin Jansa [Mon, 13 Mar 2023 12:15:33 +0000 (13:15 +0100)] 
selftest: multiconfig-image-packager: try to respect IMAGE_LINK_NAME

* this still assumes that IMAGE_LINK_NAME will contain IMAGE_BASENAME
  which will be BPN 'multiconfig-image-packager' and that replacing
  it with 'core-image-minimal' will match with the actual IMAGE_LINK_NAME
  from core-image-minimal recipe - there is no good way to query
  core-image-minimal's context, but this is still closer than assuming:
  core-image-minimal-${MCMACHINE}.${MCIMGTYPE}
  which works only with the current default:
  IMAGE_LINK_NAME ?= "${IMAGE_BASENAME}-${MACHINE}"

[YOCTO #12937]

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>
2 years agoclasse-recipes: npm: Add support for dependencies and devDependencies
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:52 +0000 (00:27 +0200)] 
classe-recipes: npm: Add support for dependencies and devDependencies

Adapt the npm classe for the shrinkwrap of Nodejs 18, and seperate
dependencies and dev dependencies.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoclasses: npm: Add support for the new format of the shrinkwrap file
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:51 +0000 (00:27 +0200)] 
classes: npm: Add support for the new format of the shrinkwrap file

1 - Adapt do_configure to the new format of the shrinkwrap

2 - Remove useless function _npmsw_dependency_dict because the dictionnary
    is already given by npmsw:foreach_dependencies

3 - Rename arguments of callback functions

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorecipetool: create: npm: Add support to handle peer dependencies
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:50 +0000 (00:27 +0200)] 
recipetool: create: npm: Add support to handle peer dependencies

NPM changed its manner to handle peer dependencies over its versions.
Before NPM 3: NPM installs automatically peer dependencies
between NPM 3 and 7: NPM shows a warning about peer dependencies
After NPM 3: NPM reworked its manner how to handle peer dependencies

The shrinkwrap doesn't have the parameters of the peer dependencies, so we cannot
fetch them. in the same time peer dependencies are not direct dependencies, they should
be installed as run time dependencies.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorecipetool: create: npm: Add support for the new format of the shrinkwrap file
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:49 +0000 (00:27 +0200)] 
recipetool: create: npm: Add support for the new format of the shrinkwrap file

The shrinkwrap file changed its format, but npm does not version this file. So we can use it properly.
The actual changes make the script check if the npm package has dependencies in the actual shrinkwrap format.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoclasses: npm: Handle peer dependencies for npm packages
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:48 +0000 (00:27 +0200)] 
classes: npm: Handle peer dependencies for npm packages

NPM changed its manner to handle peer dependencies over its versions.
Before NPM 3: NPM installs automatically peer dependencies
between NPM 3 and 7: NPM shows a warning about peer dependencies
After NPM 3: NPM reworked its manner how to handle peer dependencies

The shrinkwrap doesn't have the parameters of the peer dependencies, so we cannot
fetch them. in the same time peer dependencies are not direct dependencies, they should
be installed as run time dependencies.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorecipetool: create: npm: Remove duplicate function to not have future conflicts
BELOUARGA Mohamed [Tue, 30 May 2023 22:27:47 +0000 (00:27 +0200)] 
recipetool: create: npm: Remove duplicate function to not have future conflicts

Npm packages do not have yocto friendly names. fore instance we can have names like
"@example/npmPackage"

npm fetcher has a function that convert these names to yocto friendly names.
But in recipe tool we have an other function (duplicate).

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoghostscript: remove CVE_CHECK_IGNORE for CVE-2013-6629
Ross Burton [Fri, 23 Jun 2023 12:32:48 +0000 (13:32 +0100)] 
ghostscript: remove CVE_CHECK_IGNORE for CVE-2013-6629

This CVE now has a version range, indicating that this Ghostscript
release isn't vulnerable.

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>
2 years agotestimage/oeqa: Drop testimage_dump_host functionality
Thomas Roos [Wed, 17 May 2023 14:36:13 +0000 (16:36 +0200)] 
testimage/oeqa: Drop testimage_dump_host functionality

The intent behind these functions was to dump the system state when issues occured
but it has never really worked as we'd planned. Regular monitoring as the build
runs has largely replaced this as that allows a trend to be seen rather than a spot
value which was never really useful. The code is bitrotting and not functioning
correctly so drop it.

[YOCTO #13872]

RP: Reword commit message
Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-module-split: make autoload and probeconf distribution specific
Jose Quaresma [Tue, 27 Jun 2023 10:16:43 +0000 (10:16 +0000)] 
kernel-module-split: make autoload and probeconf distribution specific

The modules-load.d [1] - Configure kernel modules to load at boot
should install their configuration files in /usr/lib/modules-load.d.

The modprobe.d [2] - Configuration directory for modprobe
should install their configuration files in /lib/modprobe.d

[1] https://man7.org/linux/man-pages/man5/modules-load.d.5.html
[2] https://man7.org/linux/man-pages/man5/modprobe.d.5.html

[YOCTO #12212] https://bugzilla.yoctoproject.org/show_bug.cgi?id=12212

CC: Ola x Nilsson <Ola.x.Nilsson@axis.com>
CC: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-module-split: use context manager to open files
Jose Quaresma [Tue, 27 Jun 2023 10:16:42 +0000 (10:16 +0000)] 
kernel-module-split: use context manager to open files

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-module-split: install config modules directories only when they are needed
Jose Quaresma [Tue, 27 Jun 2023 10:16:41 +0000 (10:16 +0000)] 
kernel-module-split: install config modules directories only when they are needed

Instaed of allways create the directories and removing it at the if they are
not used, we can just do it when there are modules configuration to be created.
So the best thing to do is install the directories only when necessary.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel: config modules directories are handled by kernel-module-split
Jose Quaresma [Tue, 27 Jun 2023 10:16:40 +0000 (10:16 +0000)] 
kernel: config modules directories are handled by kernel-module-split

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agostrace: Update patches/tests with upstream fixes
Richard Purdie [Tue, 27 Jun 2023 09:10:26 +0000 (10:10 +0100)] 
strace: Update patches/tests with upstream fixes

Replace the sockopt disable patch with a fix from upstream. Also add a
patch to handle accept/accept4 differences when using glibc optimisations
for platforms where socketcall is used instead of an accept syscall such
as 32 bit x86.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorecipetool: Fix inherit in created -native* recipes
Yoann Congal [Wed, 28 Jun 2023 07:10:37 +0000 (09:10 +0200)] 
recipetool: Fix inherit in created -native* recipes

native and nativesdk classes are special and must be inherited last :
put them at the end of the gathered classes to inherit.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoifupdown: install missing directories
Yi Zhao [Wed, 28 Jun 2023 13:41:25 +0000 (21:41 +0800)] 
ifupdown: install missing directories

There are four directories in which scripts can be placed which will
always be run for any interface during certain phases of ifup and ifdown
commands:
/etc/network/if-pre-up.d/
/etc/network/if-up.d/
/etc/network/if-down.d/
/etc/network/if-post-down.d/

Even if there are no scripts in these directories, ifup and ifdown
commands will also search these directories by using run-parts command.

Install these directories to fix the following runtime errors:
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
$ ifdown lo
ifdown: interface lo not configured
$ ifup lo
run-parts: failed to open directory /etc/network/if-up.d: No such file or directory
ifup: failed to bring up lo

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotime64.inc: annotate and clean up recipe-specific Y2038 exceptions
Alexander Kanavin [Wed, 28 Jun 2023 15:00:43 +0000 (17:00 +0200)] 
time64.inc: annotate and clean up recipe-specific Y2038 exceptions

Additionally:
- drop pseudo from INSANE_SKIP for 32bit time API check
(pseudo passes the check; it's not clear where the issue may have been)

- move rust exceptions to the cargo class, as the problem
is common across the ecosystem, and needs to be fixed in the
libc crate.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography: update a patch to upstream's better followup fix
Alexander Kanavin [Wed, 28 Jun 2023 15:00:42 +0000 (17:00 +0200)] 
python3-cryptography: update a patch to upstream's better followup fix

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowebkitgtk: update 2.38.5 -> 2.40.2
Alexander Kanavin [Wed, 28 Jun 2023 15:00:41 +0000 (17:00 +0200)] 
webkitgtk: update 2.38.5 -> 2.40.2

Drop backports.

Add extra options that require additional dependencies, and fail without them.

Disable the recipe on ancient x86 without SSE support; SSE is now
required.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-base: enable glx/opengl support
Alexander Kanavin [Wed, 28 Jun 2023 15:00:40 +0000 (17:00 +0200)] 
gstreamer1.0-plugins-base: enable glx/opengl support

This is required by latest webkit when built with x11 support.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoflac: Upgrade 1.4.2 -> 1.4.3
Siddharth Doshi [Wed, 28 Jun 2023 13:15:25 +0000 (18:45 +0530)] 
flac: Upgrade 1.4.2 -> 1.4.3

License-Update: URL fix

Remove PowerPC related options no longer supported upstream.

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu: drop uid parameter for ifdown
Adrian Freihofer [Mon, 26 Jun 2023 13:29:27 +0000 (15:29 +0200)] 
runqemu: drop uid parameter for ifdown

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu-ifdown: catch up with ifup
Adrian Freihofer [Mon, 26 Jun 2023 13:29:26 +0000 (15:29 +0200)] 
runqemu-ifdown: catch up with ifup

- Drop the native-sysroot-basedir parameter
  still allow it to keep backward compatibility
  write a warning to stderr
- Add a space after ! in the if as suggested by shellcheck
- Support the new OE_TAP_NAME variable as well

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu: Fix automated call to runqemu-ifup
Alejandro Hernandez Samaniego [Mon, 26 Jun 2023 13:29:25 +0000 (15:29 +0200)] 
runqemu: Fix automated call to runqemu-ifup

When runqemu tries to call runqemu-ifup to create tap devices, it checks the
output of runqemu-ifup to get the newly created tap device.

The behavior of runqemu-ifup was recently modified along with its output, it
no longer expects the uid parameter to be passed and it prints out a warning
if it was, since this warning was now part of the output runqemu tries to parse
it and convert it to an int() which proved impossible.

Pass the correct arguments to the runqemu-ifup call and echo the warning
to stderr instead to make sure its not being parsed and used by runqemu in any
case.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorunqemu: Stop using warn() since its been deprecated
Alejandro Hernandez Samaniego [Mon, 26 Jun 2023 13:29:24 +0000 (15:29 +0200)] 
runqemu: Stop using warn() since its been deprecated

logger.warn() has been deprecated, logger.warning() should be used instead.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibxcrypt: fix hard-coded ".so" extension
Etienne Cordonnier [Fri, 26 May 2023 11:51:55 +0000 (13:51 +0200)] 
libxcrypt: fix hard-coded ".so" extension

2 issues:
- the .so extension is hard-coded, and therefore the libxcryt package compiled with
  meta-darwin is empty, because the dylib files are not contained in FILES_${PN}
- nothing actually produces a file libcrypt-*.so (the symlink file is libcrypt.so, without dash), thus
  defining FILES:${PN} manually to contain libcrypt-*.so has no effect.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobind: Upgrade 9.18.15 -> 9.18.16
Siddharth Doshi [Tue, 27 Jun 2023 06:32:00 +0000 (12:02 +0530)] 
bind: Upgrade 9.18.15 -> 9.18.16

- Remove configure options no longer supported online.

Changelog:
=========
[security] A query that prioritizes stale data over lookup
triggers a fetch to refresh the stale data in cache.
If the fetch is aborted for exceeding the recursion
quota, it was possible for 'named' to enter an infinite
callback loop and crash due to stack overflow. This has
been fixed. (CVE-2023-2911) [GL #4089]

[security] Improve the overmem cleaning process to prevent the
cache going over the configured limit. (CVE-2023-2828)
[GL #4055]

[performance] Reduce memory consumption by allocating properly
sized send buffers for stream-based transports.
[GL #4038]

[bug] Fix a 'clients-per-query' miscalculation bug. When the
'stale-answer-enable' options was enabled and the
'stale-answer-client-timeout' option was enabled and
larger than 0, named was taking two places from the
'clients-per-query' limit for each client and was
failing to gradually auto-tune its value, as configured.
[GL #4074]

[func] Add "ClientQuota" statistics channel counter, which
indicates the number of the resolver's spilled queries
due to reaching the clients per query quota. [GL !7978]

[bug] Fix a serve-stale bug where a delegation from cache
could be returned to the client. [GL #3950]

[cleanup] Remove configure checks for epoll, kqueue and
/dev/poll. [GL #4098]

[func] The "tkey-dhkey" option has been deprecated; a
warning will be logged when it is used. In a future
release, Diffie-Hellman TKEY mode will be removed.
[GL #3905]

[bug] The session key object could be incorrectly added
to multiple different views' keyrings. [GL #4079]

[bug] Fix an interfacemgr use-after-free error in
zoneconf.c:isself(). [GL #3765]

[test] Add support for using pytest & pytest-xdist to
execute the system test suite. [GL #3978]

[bug] BIND could get stuck on reconfiguration when a
'listen' statement for HTTP is removed from the
configuration. That has been fixed. [GL #4071]

[bug] Properly process extra "nameserver" lines in
resolv.conf otherwise the next line is not properly
processed. [GL #4066]

[bug] named could crash when deleting inline-signing zones
with "rndc delzone". [GL #4054]

[bug] Fix a logic error in dighost.c which could call the
dighost_shutdown() callback twice and cause problems
if the callback function was not idempotent. [GL #4039]

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxwayland: upgrade 23.1.1 -> 23.1.2
Wang Mingyu [Tue, 27 Jun 2023 07:17:30 +0000 (15:17 +0800)] 
xwayland: upgrade 23.1.1 -> 23.1.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxkeyboard-config: upgrade 2.38 -> 2.39
Wang Mingyu [Tue, 27 Jun 2023 07:17:29 +0000 (15:17 +0800)] 
xkeyboard-config: upgrade 2.38 -> 2.39

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-sphinx-rtd-theme: upgrade 1.2.1 -> 1.2.2
Wang Mingyu [Tue, 27 Jun 2023 07:17:27 +0000 (15:17 +0800)] 
python3-sphinx-rtd-theme: upgrade 1.2.1 -> 1.2.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-ruamel-yaml: upgrade 0.17.31 -> 0.17.32
Wang Mingyu [Tue, 27 Jun 2023 07:17:26 +0000 (15:17 +0800)] 
python3-ruamel-yaml: upgrade 0.17.31 -> 0.17.32

Changelog:
- fix issue with scanner getting stuck in infinite loop

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pytest: upgrade 7.3.1 -> 7.4.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:25 +0000 (15:17 +0800)] 
python3-pytest: upgrade 7.3.1 -> 7.4.0

Changelog:
https://docs.pytest.org/en/stable/changelog.html

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pyparsing: upgrade 3.0.9 -> 3.1.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:24 +0000 (15:17 +0800)] 
python3-pyparsing: upgrade 3.0.9 -> 3.1.0

Changelog:
==========
- Added 'tag_emitter.py' to examples. This example demonstrates how to insert
  tags into your parsed results that are not part of the original parsed text.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pycairo: upgrade 1.23.0 -> 1.24.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:23 +0000 (15:17 +0800)] 
python3-pycairo: upgrade 1.23.0 -> 1.24.0

Changelog:
==========
* Dropped Python 3.7 support
* Bumped meson version requirement from 0.53.0 to 0.56.0
* Various cairo dependency updates for the Windows wheel build
* examples: update to GTK4 :pr:'307'
* examples: add a clip_image example :pr:'316'
* docs: fix the build with Sphinx 6 :pr:'318'
* Various code cleanups :pr:'306'
* Added Python 3.12 Windows wheels

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pluggy: upgrade 1.0.0 -> 1.2.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:22 +0000 (15:17 +0800)] 
python3-pluggy: upgrade 1.0.0 -> 1.2.0

Changelog:
==========
#405: The new-style hook wrappers, added in the yanked 1.1.0 release, now require an explicit wrapper=True designation in the @hookimpl() decorator.
#364: Python 3.6 is no longer supported.
#260: Added "new-style" hook wrappers, a simpler but equally powerful alternative to the existing hookwrapper=True wrappers.
#364: Python 3.11 and 3.12 are now officially supported.
#394: Added the :meth:`~pluggy._callers._Result.force_exception` method to _Result.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-markupsafe: upgrade 2.1.2 -> 2.1.3
Wang Mingyu [Tue, 27 Jun 2023 07:17:21 +0000 (15:17 +0800)] 
python3-markupsafe: upgrade 2.1.2 -> 2.1.3

Changelog:
=========
 Implement format_map, casefold, removeprefix, and removesuffix methods. #370
 Fix static typing for basic str methods on Markup. #358
 Use Self for annotating return types. #379

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-iso8601: upgrade 1.1.0 -> 2.0.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:20 +0000 (15:17 +0800)] 
python3-iso8601: upgrade 1.1.0 -> 2.0.0

added
------
    Add just for development commands
    Add Python 3.12 support

changed
---------
    Move changelog into CHANGELOG.md
    Freshen up README

fixed
------
    Fix test_fixedoffset_eq by adding an actual assertion

removed
--------
    Drop Python 3.6 support (3.6 is end of life)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-importlib-metadata: upgrade 6.6.0 -> 6.7.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:19 +0000 (15:17 +0800)] 
python3-importlib-metadata: upgrade 6.6.0 -> 6.7.0

Changelog:
#453: When inferring top-level names that are importable for distributions in package_distributions, now symlinks to other directories are honored.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-hypothesis: upgrade 6.75.7 -> 6.79.2
Wang Mingyu [Tue, 27 Jun 2023 07:17:18 +0000 (15:17 +0800)] 
python3-hypothesis: upgrade 6.75.7 -> 6.79.2

Changelog:
https://hypothesis.readthedocs.io/en/latest/changes.html

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-hatchling: upgrade 1.17.0 -> 1.18.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:17 +0000 (15:17 +0800)] 
python3-hatchling: upgrade 1.17.0 -> 1.18.0

Changed:
--------
  Drop support for Python 3.7

Added:
--------
  Update the list of directories that are always excluded for builds

Fixed:
-------
  Fix dev mode when the project has symlinks and file inclusion is defined with the packages or only-include options
  Change the name of generated PTH files for dev mode so they come first lexicographically and therefore load first

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxorgproto: upgrade 2022.2 -> 2023.2
Wang Mingyu [Tue, 27 Jun 2023 07:17:16 +0000 (15:17 +0800)] 
xorgproto: upgrade 2022.2 -> 2023.2

License-Update: remove " All rights reserved." from Copyright

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-typing-extensions: upgrade 4.6.2 -> 4.6.3
Wang Mingyu [Tue, 27 Jun 2023 07:17:15 +0000 (15:17 +0800)] 
python3-typing-extensions: upgrade 4.6.2 -> 4.6.3

License-Update:Sync LICENSE with CPython

Changelog:
==========
- Fix a regression introduced in v4.6.0 in the implementation of runtime-checkable protocols.
- Sync the repository's LICENSE file with that of CPython. typing_extensions
  is distributed under the same license as CPython itself.
- Skip a problematic test on Python 3.12.0b1. The test fails on 3.12.0b1 due
  to a bug in CPython, which will be fixed in 3.12.0b2. The typing_extensions
  test suite now passes on 3.12.0b1.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-numpy: upgrade 1.24.3 -> 1.25.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:14 +0000 (15:17 +0800)] 
python3-numpy: upgrade 1.24.3 -> 1.25.0

License-Update: Copyright year updated to 2023.

Changelog:
===========
    Support for MUSL, there are now MUSL wheels.
    Support the Fujitsu C/C++ compiler.
    Object arrays are now supported in einsum
    Support for inplace matrix multiplication (@=).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomesa: upgrade 23.1.1 -> 23.1.3
Wang Mingyu [Tue, 27 Jun 2023 07:17:13 +0000 (15:17 +0800)] 
mesa: upgrade 23.1.1 -> 23.1.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoccache: upgrade 4.8.1 -> 4.8.2
Wang Mingyu [Tue, 27 Jun 2023 07:17:11 +0000 (15:17 +0800)] 
ccache: upgrade 4.8.1 -> 4.8.2

License-Update:
  BLAKE3 updated to 1.4.0
  cpp-httplib updated to 0.12.6

Changelog:
==========
Fixed parsing of Windows drive letter in file URLs for remote storage.
Fixed a bug affecting depend mode with MSVC.
Ccache no longer passes -v to the preprocessor. This improves preprocessor mode hit rate when -v is on the compiler command line.
Made --trim-max-size accept 0 for no limit.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agonghttp2: upgrade 1.53.0 -> 1.54.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:10 +0000 (15:17 +0800)] 
nghttp2: upgrade 1.53.0 -> 1.54.0

Changelog:
==========
  nghttpx: Consistent error handling and use of high-level API
  h2load: Fix http3 upload stall
  h2load: Use std::chrono::steady_clock for quic timestamp
  Avoid ev_now by @tatsuhiro-t in #1907
  Remove unused macro bswap64
  Bump ngtcp2 and nghttp3
  Bump libbpf to v1.2.0
  Avoid copies

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agonettle: upgrade 3.9 -> 3.9.1
Wang Mingyu [Tue, 27 Jun 2023 07:17:09 +0000 (15:17 +0800)] 
nettle: upgrade 3.9 -> 3.9.1

Bug fixes:
==========
* Fix OCB loop for processing messages of size 272 bytes or
  larger.
* Fix alignment bug in the new x86_64 non-pclmul assembly
  implementation of ghash.
* Fix build-time memory leak in eccdata.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolttng-ust: upgrade 2.13.5 -> 2.13.6
Wang Mingyu [Tue, 27 Jun 2023 07:17:08 +0000 (15:17 +0800)] 
lttng-ust: upgrade 2.13.5 -> 2.13.6

Changelog:
===========
* Fix: segmentation fault on filter interpretation in "switch" mode
* Fix: `ip` context is expressed as a base-10 field
* Fix: c99: use __asm__ __volatile__
* Fix: c99: static assert: clang build fails due to multiple typedef
* Fix: Reevaluate LTTNG_UST_TRACEPOINT_DEFINE each time tracepoint.h is included
* Fix: trace events in C++ constructors/destructors
* Fix: trace events in C constructors/destructors
* Fix: use unaligned pointer accesses for lttng_inline_memcpy

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibx11: upgrade 1.8.5 -> 1.8.6
Wang Mingyu [Tue, 27 Jun 2023 07:17:06 +0000 (15:17 +0800)] 
libx11: upgrade 1.8.5 -> 1.8.6

Changelog:
==========
InitExt.c: Add bounds checks for extension request, event, & error codes
Fixes CVE-2023-3138

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibtraceevent: upgrade 1.7.2 -> 1.7.3
Wang Mingyu [Tue, 27 Jun 2023 07:17:05 +0000 (15:17 +0800)] 
libtraceevent: upgrade 1.7.2 -> 1.7.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibsdl2: upgrade 2.26.5 -> 2.28.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:04 +0000 (15:17 +0800)] 
libsdl2: upgrade 2.26.5 -> 2.28.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibmd: upgrade 1.0.4 -> 1.1.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:03 +0000 (15:17 +0800)] 
libmd: upgrade 1.0.4 -> 1.1.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibksba: upgrade 1.6.3 -> 1.6.4
Wang Mingyu [Tue, 27 Jun 2023 07:17:02 +0000 (15:17 +0800)] 
libksba: upgrade 1.6.3 -> 1.6.4

Changelog:
Correctly detect CMS write errors.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibassuan: upgrade 2.5.5 -> 2.5.6
Wang Mingyu [Tue, 27 Jun 2023 07:17:01 +0000 (15:17 +0800)] 
libassuan: upgrade 2.5.5 -> 2.5.6

Changelog:
===========
 * Fix logging of confidential data.  [rA0fc31770fa]
 * Fix memory wiping.  [T5977]
 * Fix macOS build problem.  [T5440,T5610]
 * Upgrade autoconf stuff.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokbd: upgrade 2.5.1 -> 2.6.0
Wang Mingyu [Tue, 27 Jun 2023 07:17:00 +0000 (15:17 +0800)] 
kbd: upgrade 2.5.1 -> 2.6.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0: upgrade 1.22.3 -> 1.22.4
Wang Mingyu [Tue, 27 Jun 2023 07:16:59 +0000 (15:16 +0800)] 
gstreamer1.0: upgrade 1.22.3 -> 1.22.4

Bugfixes:
==========
-   Security fixes for flacparse, dvdspu, and subparse
-   d3d11videosink: Fix error on pause and play
-   decklink: Correctly handle SDK strings on macOS and free strings
    after usage on Linux
-   filesink: Fix buffered mode writing of buffer lists and buffers with
    multiple memories
-   gldownload: handle passthrough without a critical
-   h265parse: Fix framerate handling regression
-   oggdemux: vp8 fixes
-   mp4mux, qtmux, qtdemux: Opus audio mapping fixes
-   pngdec: Fix wrong colours output from 16bit RGB images
-   ptp clock: Work around ptpd bug in default configuration
-   srtpdec: fix critical warnings on shutdown
-   v4l2src: fix support for bayer format
-   v4l2videoenc: support force-keyframe event in v4l2 encoder
-   vtenc: apply DTS offset to ensure DTS <= PTS
-   gst-python: allow more functions to be called before gst_init()
-   cerbero: fix vaapi variant; add qt6 build on windows; ensure errors
    on unguarded use of new APIs, require macOS 10.13
-   packages: ship codecalpha, rtponvif, dvbsubenc, switchbin,
    videosignal plugins; fix pango crash on 32-bit windows
-   various bug fixes, memory leak fixes, and other stability and
    reliability improvements

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agofreetype: upgrade 2.13.0 -> 2.13.1
Wang Mingyu [Tue, 27 Jun 2023 07:16:58 +0000 (15:16 +0800)] 
freetype: upgrade 2.13.0 -> 2.13.1

Changelog:
===========
* docs/VERSION.TXT: Add entry for version 2.13.1.
* docs/CHANGES: Updated.
* docs/release, docs/README, builds/macs/README: Updated.
* README, src/base/ftver.rc, builds/windows/vc2010/index.html,
builds/windows/visualc/index.html, builds/windows/visualce/index.html,
builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/index.html,
docs/freetype-config.1: s/2.13.0/2.13/1/, s/2130/2131/.
* include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
* builds/unix/configure.raw (version_info): Set to 26:0:20.
* CMakeLists.txt (VERSION_PATCH): Set to 1.
* subprojects/libpng.wrap, subprojects/zlib.wrap, subprojects/dlg: Updated.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibssh2: update 1.10.0 -> 1.11.0
Alexander Kanavin [Sun, 25 Jun 2023 21:22:41 +0000 (23:22 +0200)] 
libssh2: update 1.10.0 -> 1.11.0

License-update: copyright years

Enable static libs as some tests need them.

Fix up ptests; the set being run is the same.
test_simple is statically linked, hence DISABLE_STATIC is overriden.

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>
2 years agolibproxy: update 0.4.18 -> 0.5.2
Alexander Kanavin [Sun, 25 Jun 2023 21:22:40 +0000 (23:22 +0200)] 
libproxy: update 0.4.18 -> 0.5.2

License-update: formatting, years

Upstream has completely overhauled the build system
(cmake -> meson) and available options. Add the most
important ones that require external dependencies;
there's plenty more if someone finds them useful.

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>
2 years agolibproxy: fetch from git
Alexander Kanavin [Sun, 25 Jun 2023 21:22:39 +0000 (23:22 +0200)] 
libproxy: fetch from git

Upstream no longer provides tarballs for newer versions.

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>
2 years agoxtrans: update 1.4.0 -> 1.5.0
Alexander Kanavin [Sun, 25 Jun 2023 21:22:38 +0000 (23:22 +0200)] 
xtrans: update 1.4.0 -> 1.5.0

License-update: removal of 'all rights reserved' sentences.

MIT & MIT was an outcome of mass-cleanup of licenses, so it can
be just MIT.

tar.bz2 has been replaced with .tar.xz which is the default.

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>
2 years agolibdmx: update 1.1.4 -> 1.1.5
Alexander Kanavin [Sun, 25 Jun 2023 21:22:37 +0000 (23:22 +0200)] 
libdmx: update 1.1.4 -> 1.1.5

Upstream has migrated to tar.xz from tar.bz2, so default works now.

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>
2 years agoweston: update 11.0.1 -> 12.0.1
Alexander Kanavin [Sun, 25 Jun 2023 21:22:36 +0000 (23:22 +0200)] 
weston: update 11.0.1 -> 12.0.1

Default to launcher-seatd always, as launcher-logind option has been deprecated.

xcb-util-cursor is an additional dependency of xwayland support.

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>
2 years agoxcb-util-cursor: add a recipe from meta-oe
Alexander Kanavin [Sun, 25 Jun 2023 21:22:35 +0000 (23:22 +0200)] 
xcb-util-cursor: add a recipe from meta-oe

This is a requirement of weston 12.x when xwayland is enabled.

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>
2 years agovulkan-validation-layers: update 1.3.243 -> 1.3.250
Alexander Kanavin [Sun, 25 Jun 2023 21:22:34 +0000 (23:22 +0200)] 
vulkan-validation-layers: update 1.3.243 -> 1.3.250

Backport a patch to unbreak cross-builds.

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>
2 years agolibrsvg: update 2.56.0 -> 2.56.1
Alexander Kanavin [Sun, 25 Jun 2023 21:22:33 +0000 (23:22 +0200)] 
librsvg: update 2.56.0 -> 2.56.1

Drop 0001-system-deps-src-lib.rs-do-not-probe-into-harcoded-li.patch
as upstream fixed the issue.

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>
2 years agolibpam: update 1.5.2 -> 1.5.3
Alexander Kanavin [Sun, 25 Jun 2023 21:22:32 +0000 (23:22 +0200)] 
libpam: update 1.5.2 -> 1.5.3

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>
2 years agoshadow: remove dependency on pam-plugin-lastlog
Alexander Kanavin [Sun, 25 Jun 2023 21:22:31 +0000 (23:22 +0200)] 
shadow: remove dependency on pam-plugin-lastlog

This item has been deprecated in pam 1.5.3 and is no longer
built by default:
https://github.com/linux-pam/linux-pam/blob/master/NEWS

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>
2 years agodiffutils: update 3.9 -> 3.10
Alexander Kanavin [Sun, 25 Jun 2023 21:22:30 +0000 (23:22 +0200)] 
diffutils: update 3.9 -> 3.10

Remove the comment addition from the patch body, as it
increases likelyhood of rebase conflicts, and repeats what
the commit says.

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>
2 years agopython3: update 3.11.3 -> 3.11.4
Alexander Kanavin [Sun, 25 Jun 2023 21:22:29 +0000 (23:22 +0200)] 
python3: update 3.11.3 -> 3.11.4

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>