1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00
Commit Graph

67154 Commits

Author SHA1 Message Date
wangmy dea8c1f76e xkeyboard-config: upgrade 2.35.1 -> 2.36
(From OE-Core rev: 41f362aa678debc080a578154f40bc463977df1a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
wangmy 53789b1a77 python3-hypothesis: upgrade 6.46.9 -> 6.46.11
Changelog:
===========
Mention "hypothesis.strategies.timezones()" in the documentation of
"hypothesis.strategies.datetimes()" for completeness.

(From OE-Core rev: f94e8b189a6a8819f54ced4d380bd35b261ec2d9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
wangmy 5356536190 kbd: upgrade 2.4.0 -> 2.5.0
License-Update: Remove extra spaces.

Changelog:
=========
libkfont:
---------
    Make libkfont public library.
    Add kfont_free().
    Initialize kfont_context->options.
    Тake the verbose parameter into account when logging messages.

libkeymap:
---------
    Better error message on unsupported unicode value.

setvtrgb:
--------
    Add hexadecimal file support.

keymaps:
-------
    fa.map: drop high codepoint character that chokes loadkeys.
    i386/neo/3l.map: Add 3l keymap.
    i386/neo: use Delete instead of Backspace.
    i386/qwerty/ie.map: Add Irish keyboard map.
    i386/qwerty/it.map: Add braces to IT keyboard map.
    pine/en.map: Keymap for PinePhone keyboard.
    pt-latin1.map: Add Euro at Portuguese keyboards.

docs:
------
    Fix typos.

po:
-------
    Update translations (from translationproject.org).

(From OE-Core rev: 20808ab018915b07fac23ab310ab0ad0b9e1d1b3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
wangmy 9cea238d32 nettle: upgrade 3.7.3 -> 3.8
Changelog:
==========
This release includes a couple of new features, and many
performance improvements. It adds assembly code for two more
architectures: ARM64 and S390x.

The new version is intended to be fully source and binary
compatible with Nettle-3.6. The shared library names are
libnettle.so.8.5 and libhogweed.so.6.5, with sonames
libnettle.so.8 and libhogweed.so.6.

New features:
--------------
* AES keywrap (RFC 3394), contributed by Nicolas Mora.

* SM3 hash function, contributed by Tianjia Zhang.

* New functions cbc_aes128_encrypt, cbc_aes192_encrypt,
  cbc_aes256_encrypt.

  On processors where AES is fast enough, e.g., x86_64 with
  aesni instructions, the overhead of using Nettle's general
  cbc_encrypt can be significant. The new functions can be
  implemented in assembly, to do multiple blocks with reduced
  per-block overhead.

  Note that there's no corresponding new decrypt functions,
  since the general cbc_decrypt doesn't suffer from the same
  performance problem.

Bug fixes:
-------------
* Fix fat builds for x86_64 windows, these appear to never
  have worked.

Optimizations:
----------------
* New ARM64 implementation of AES, GCM, Chacha, SHA1 and
  SHA256, for processors supporting crypto extensions. Great
  speedups, and fat builds are supported. Contributed by
  Mamone Tarsha.

* New s390x implementation of AES, GCM, Chacha, memxor, SHA1,
  SHA256, SHA512 and SHA3. Great speedups, and fat builds are
  supported. Contributed by Mamone Tarsha.

* New PPC64 assembly for ecc modulo/redc operations,
  contributed by Amitay Isaacs, Martin Schwenke and Alastair
  D´Silva.

* The x86_64 AES implementation using aesni instructions has
  been reorganized with one separate function per key size,
  each interleaving the processing of two blocks at a time
  (when the caller processes multiple blocks with each call).
  This gives a modest performance improvement on some
  processors.

* Rewritten and faster x86_64 poly1305 assembly.

Known issues:
-------------
* Nettle's testsuite doesn't work out-of-the-box on recent
  MacOS, due to /bin/sh discarding the DYLD_LIBRARY_PATH
  environment variable. Nettle's test scripts handle this in
  some cases, but currently fails the test cases that are
  themselves written as /bin/sh scripts. As a workaround, use

  make check EMULATOR='env DYLD_LIBRARY_PATH=$(TEST_SHLIB_DIR)'

Miscellaneous:
--------------
* Updated manual to current makeinfo conventions, with no
  explicit node pointers. Generate pdf version with texi2pdf,
  to get working hyper links.

* Added square root functions for NIST ecc curves, as a
  preparation for supporting compact point representation.

* Reworked internal GCM/ghash interfaces, simplifying assembly
  implementations. Deleted unused GCM C implementation
  variants with less than 8-bit lookup table.

(From OE-Core rev: 9081f656240f0c625d31b765dc54d64becd82185)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
wangmy 91e5153ed9 mtools: upgrade 4.0.39 -> 4.0.40
Refresh disable-hardcoded-configs.patch for new version.

(From OE-Core rev: ada2ce1c84cb11333e544fc8e2a1d4e3e1d8d3a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
wangmy bee6262643 meson: upgrade 0.62.1 -> 0.62.2
(From OE-Core rev: bf848a40c8ca903fd4f4e7a07a9c629de194a4e7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
wangmy 8bf1f41af7 lttng-ust: upgrade 2.13.2 -> 2.13.3
Changelog:
==========
* Document ust lock async-signal-safety
* Fix: don't use strerror() from ust lock nocheck
* Fix: remove non-async-signal-safe fflush from ERR()
* Fix: Pointers are rejected by integer element compile time assertion for array and sequence
* Fix: statedump: invalid read during iter_end
* Fix: bytecode interpreter context_get_index() leaves byte order uninitialized

(From OE-Core rev: d9d7b5d9fd8366bc4d2720e3396ab10f8b1ab6a0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
wangmy daa8c82c3c iso-codes: upgrade 4.9.0 -> 4.10.0
Changelog:
==========
Added
--------
Update ISO 639-2 codes to include Montenegrin (cnr) added in 2017.
Update ISO 4217. Fixes #24
ISO 639-3: New translation for Friulian
ISO 639-5: New translations for Esperanto, Hindi, Russian
ISO 4217: New translation for Esperanto

Changed
--------
Translation updates for ISO 3166-1
Translation updates for ISO 3166-2
Translation updates for ISO 3166-3
Translation updates for ISO 639-2
Translation updates for ISO 639-3
Translation updates for ISO 639-5
Translation updates for ISO 4217
Translation updates for ISO 15924

Fixed
--------
ISO 3166-2: Add parent codes for GB. Fixes #36
ISO 3166-2: Fix subdivision names for Finland. Fixes #37

(From OE-Core rev: eb771fa7740f9749d26a4d3f74a926eb1e564ee5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
Alexander Kanavin b2b24de709 perl: enable _GNU_SOURCE define via d_gnulibc
This is needed to properly support memmem() and friends under musl
as musl guards the declarations with _GNU_SOURCE define, and if the
declarations are not present, gcc will issue warnings and generate
assembly that assumes the functions return int (instead of e.g.
void*), with catastrophic consequences at runtime.

(From OE-Core rev: 6422e62fbc5c65a2165a72c97c880cfa9a80e957)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
Alexander Kanavin 6b9af87f3e perl: clean prior to build
Otherwise, when running configure/make on a previously built tree,
makefiles generated by makemaker may detect that 'configuration has changed',
followed by self-deletion, self-regeneration, requesting the user to
re-run make and exit 1. And therefore do_compile goes kaboom.

(From OE-Core rev: 00aeb84a5e7c6d4293fb4cd30dd1e28d60c6aac5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
Alexander Kanavin 12fe7e244e perl: drop perltoc regeneration
According to the linked ticket the issue is fixed.

(From OE-Core rev: 6409d7ab71db8df404389b88b0da7dd08a1fc208)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
Alexander Kanavin 4c8f6ff82a perl: update 5.34.1 -> 5.36.0
(From OE-Core rev: 99b2733e13f2fb5ef165d4e928b0a3d890b97ec0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
Alexander Kanavin 20c30045d0 ltp: upgrade 20220121 -> 20220527
Disable stack protection as newly added kvm tests won't build with it.

(From OE-Core rev: f231bc2c28226776f0990ec65aa5f95e89021218)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
Alexander Kanavin 2ace644daa cmake: update 3.23.1 -> 3.23.2
(From OE-Core rev: 3f8e38b35fe29a829ba93ee2ab69ead4c7d69807)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
Alexander Kanavin 953547ed1e ovmf: update 202202 -> 202205
(From OE-Core rev: 251ae38c744df13dc259f85fba7fa4bc06464df6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:55 +01:00
Alexander Kanavin e737fae5b4 alsa-utils: update 1.2.6 -> 1.2.7
(From OE-Core rev: 16404839473238e97bb399a7e1428a4bbb3349e1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Alexander Kanavin 23e0f49c66 alsa-utils-scripts: merge into alsa-utils
There is no reason to keep the recipe separate: bash dependency is not a
problem until the alsa-utils-scripts package is explicitly installed into a target image.

(From OE-Core rev: 466eba749629cdc8d759b6df3e1d95340fcfd67f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Alexander Kanavin 6504544227 pulseaudio: update 15.0 -> 16.0
Drop patch as issue fixed upstream:
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/1b96b49f65744930050b927a548a3d2e771c7310

(From OE-Core rev: e5399a09bf44700f97607b283379172dac0cf9c7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Alexander Kanavin 5709914874 tiff: update 4.3.0 -> 4.4.0
Drop all CVE backports.

(From OE-Core rev: ec3897659a046e7e3f652cabd04e98bb56f1b261)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Alexander Kanavin 6196e49684 python3-psutil: update 5.9.0 -> 5.9.1
Drop the patch, as we do not actually have ptests for
the module, and the patch submitted upstream differs
significantly, so it makes no sense to rebase
the in-layer version.

(From OE-Core rev: fb31b92341da9b5deedf9f6d53b6bc6488d0d20e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Alexander Kanavin 6a3e48b3b2 llvm: update 14.0.3 -> 14.0.4
(From OE-Core rev: 7160f2e0867bc7224cc69747d095dfd0cc986ee6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Alexander Kanavin 13c857651b btrfs-tools: update 5.16.2 -> 5.18
(From OE-Core rev: f458cdf52f27ece56f96408bbfa2eca8e5e2143c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Alexander Kanavin 53042d6e2f systemd: update 250.5 -> 251.2
(From OE-Core rev: 9403233b2f9e58dd8a416342a37024dc08164317)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Alexander Kanavin 19814ed0ad seatd: update 0.6.4 -> 0.7.0
(From OE-Core rev: 294d3b8204a7f6c097b6192506cd9d5cbd24ee27)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Alexander Kanavin 547b0b0943 mesa-demos: update 8.4.0 -> 8.5.0
Convert to meson, drop unsupported options.

Drop autotools-specific and glew-specific patches (glew support dropped upstream).
glu dependency is now x11-specific.
0012-mesa-demos-OpenVG-demos-with-single-frame-need-eglSw.patch dropped
as patched files removed upstream.

(From OE-Core rev: b9fc45915977c34b3a50e3d64347c2b247c49840)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Alexander Kanavin c13a21782b wayland: exclude pre-releases from version check
(From OE-Core rev: 7a006009ee2310ace163ddf6d25d45b24a377200)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Alexander Kanavin d7d8739a40 less: mark upstream version as unknown
As we're ahead of the latest stable release (updated to a beta by mistake/
unclear upstream version policy), mark upstream version as unknown until a new
release happens.

(From OE-Core rev: 7539bcdb4635487ee7e09ea277f7bf25a36d1ee6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Davide Gardenal e55d15d2fb baremetal-image: fix broken symlink in do_rootfs
If IMAGE_LINK_NAME and IMAGE_MANIFEST are equal
don't create a link otherwise it will create it
to itself.

(From OE-Core rev: 8fd1a37c38dbfc688d840d12c61d76f151f9f605)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Mingli Yu 137c0a7404 ccache: Fix build with gcc-12
Fix the build failure when debug build is enabled.
Add DEBUG_BUILD = "1" in conf/local.conf.
 $ bitbake ccache
 | /buildarea/tmp/work/core2-64-poky-linux/ccache/4.6.1-r0/ccache-4.6.1/src/third_party/xxhash.h:3932:1: error: inlining failed in call to 'always_inline' 'XXH3_accumulate_512_sse2': function not considered for inlining
 3932 | XXH3_accumulate_512_sse2( void* XXH_RESTRICT acc,
      | ^~~~~~~~~~~~~~~~~~~~~~~~
 /buildarea/tmp/work/core2-64-poky-linux/ccache/4.6.1-r0/ccache-4.6.1/src/third_party/xxhash.h:4369:9: note: called from here
 4369 |         f_acc512(acc,
      |         ^~~~~~~~~~~~~
 4370 |                  in,
      |                  ~~~
 4371 |                  secret + n*XXH_SECRET_CONSUME_RATE);

(From OE-Core rev: 4f78045a62d562f2c682695329570faa36ce3e0c)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 21:21:54 +01:00
Ming Liu 0c85598815 udev-extraconf: let automount base directory configurable
Dont hard-code automount base directory to '/run/media', introduce a
variable MOUNT_BASE to let it configurable, like in udisks2 the mount
base is also configurable by setting option: --enable-fhs-media.

(From OE-Core rev: f077befd5f36ad88623aaf6a38b1a837ecb18650)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:56:13 +01:00
Pavel Zhukov bd5abcc908 bitbake.conf: Make TCLIBC and TCMODE lazy assigned
This allows two level of overriding (distro level and local.conf/shell
variable). Previous settings blocked shell variables overring
if it was overriden on distro level.

(From OE-Core rev: de6c3f9cb2c589aecbf8d9d25fa83cd18bf80891)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:56:13 +01:00
Dmitry Baryshkov 56eb6ad2c9 linux-firmware: add support for building snapshots
In some cases it is useful to be able to test the snapshot of
linux-firmware (e.g. to test if the updated firmware works on the
particular hardware). Allow building the linux-firmware snapshots.

To switch to the most recent branch, add the following lines to the
local.conf file:

PREFERRED_VERSION_linux-firmware = "1:20220509+git%"
SRCREV:class-devupstream = "${AUTOREV}"
WHENCE_CHKSUM:class-devupstream:pn-linux-firmware = "4288aad55d189fa225d492526b8406d5"

(From OE-Core rev: b023570ae1d239de14b50a0e827582d0e84ddf81)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:56:13 +01:00
Marcel Ziswiler 5ca3c82698 gstreamer1.0-plugins-bad: add libavtp packageconfig
Add avtp resp. libavtp PACKAGECONFIG. This allows building them
GStreamer Audio Video Transport Protocol (AVTP) Plugins which rely on
Avnu's libavtp.

(From OE-Core rev: 5c143bfbad46bf68f70f0d6693caf48bea9fda32)

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:56:12 +01:00
Richard Purdie 873fd0ce55 glibc: Drop make-native dependency
Now that our make version is a minmum of 4.0 we can drop this dependency.

(From OE-Core rev: 7a0c52fd44332abb24e0dea608229ab7c472d94e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-06 13:36:05 +01:00
Richard Purdie 979aad33c3 perl: Add dependency on make-native to avoid race issues
Make 4.1 has race issues with double colon usage in makefiles which are common
in MakeMaker generated code in perl. Add a dependency on make-native to avoid
this as it is relaitvely low overhead.

(From OE-Core rev: 692b7c518637c77804caf7b3cfc60a83afa2e4f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-06 13:36:05 +01:00
Richard Purdie 26d0a9f74a sanity: Switch to make 4.0 as a minimum version
We can't build glibc without make 4.0 and we don't work on older distros with
older versions of make without buildtools tarball so increase the minimum
version to 4.0.

(From OE-Core rev: e9a449aeec72a698206323c3471c9268f949b1ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-06 13:36:05 +01:00
Sean Anderson 25c2ca903a rootfs.py: find .ko.zst kernel modules
With CONFIG_MODULE_COMPRESS_ZSTD enabled, kernel modules will have a
.ko.zst extension. This fixes depmod not being run.

Fixes: 1b696a45ddb ("rootfs.py: Add check for kernel modules before running depmod")
(From OE-Core rev: 425efac7110f0f42d70643e0a448e834d0f01a7a)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-06 13:36:05 +01:00
Peter Kjellerstedt d79c5ee233 license.bbclass: Bound beginline and endline in copy_license_files()
Ensure that begin_idx (i.e., beginline - 1) and end_idx (i.e.,
endline) are positive numbers in copy_license_files(). This makes sure
the same lines are copied as populate_lic_qa_checksum() uses when it
calculates the checksum. Before, beginline=0 would typically lead to
that no lines were copied at all.

(From OE-Core rev: ab3cc3651d08d226675c461da760cda0bb6c0ce0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-06 13:36:05 +01:00
Peter Kjellerstedt d6092687d4 libseccomp: Correct LIC_FILES_CHKSUM
Previously, only the first line of the LICENSE file was included,
which only covered the license name and thus would not detect a change
to the version (or anything else for that matter).

(From OE-Core rev: 3ac45755dffc611fb46f5cd1c07f4876d3094893)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-06 13:36:05 +01:00
Marta Rybczynska 4c14992110 cve-update-db-native: make it possible to disable database updates
Make it possible to disable the database update completely by using
a negative update interval CVE_DB_UPDATE_INTERVAL.

Disabling the update is useful when running multiple parallel builds
when we want to have a control on the database version. This allows
coherent cve-check results without an database update for only
some of the builds.

(From OE-Core rev: b5c2269240327c2a8f93b9e55354698f52c976f3)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-06 13:36:05 +01:00
Marta Rybczynska 2916a71be2 cve-check: fix return type in check_cves
Make empty return types in check_cvs the same for all code paths.

(From OE-Core rev: f86393c93dec47b24e837d0c4c5761a716ecdbb6)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-06 13:36:05 +01:00
Marta Rybczynska 3b26027a00 cve-check: write empty fragment files in the text mode
In the cve-check text mode output, we didn't write fragment
files if there are no CVEs (if CVE_CHECK_REPORT_PATCHED is 1),
or no unpached CVEs otherwise.

However, in a system after multiple builds,
cve_check_write_rootfs_manifest might find older files and use
them as current, what leads to incorrect reporting.

Fix it by always writing a fragment file, even if empty.

(From OE-Core rev: f1b7877acd0f6e3626faa57d9f89809cfcdfd0f1)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-06 13:36:05 +01:00
Marta Rybczynska 4417c376f6 cve-check: move update_symlinks to a library
Move the function to a library, it could be useful in other places.

(From OE-Core rev: debd37abcdde8788761ebdb4a05bc61f7394cbb8)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-06 13:36:05 +01:00
Alex Stewart 11d38c099c opkg: upgrade to version 0.6.0
Release Notes for 0.6.0:

http://downloads.yoctoproject.org/releases/opkg/opkg-0.6.0.release-notes

(From OE-Core rev: 1e08da6a43876677ae4481156ce1d7177b77264d)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-06 13:36:05 +01:00
Richard Purdie 80ed5ee82d populate_sdk_ext: Fix second bb_unihashes reference
A previous fix for zero length bb_unihashes.dat files wasn't complete
as there is a second copy of the unihashes file made. Change this second
call site to match the first to fully fix the zero length file issue.

(From OE-Core rev: 962bd78af1acc86b3d900dce9081ed310616e0fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-06 12:04:38 +01:00
Richard Purdie bc47a27e14 diffoscope: upgrade 212 -> 215
(From OE-Core rev: befecd6d8e0626abeee7bfca488cbbea52b9bf5c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-04 11:28:23 +01:00
Richard Purdie 1cf611cbcc webkitgtk: upgrade 2.36.1 -> 2.36.3
(From OE-Core rev: 69e1c72417a4ea5594c17ead7bff2f9a0298e6c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-04 11:28:23 +01:00
Richard Purdie cf5be85135 gnutls: upgrade 3.7.5 -> 3.7.6
(From OE-Core rev: d3123a419165fadba10febec0bcaf83269b4a5a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-04 11:28:23 +01:00
Richard Purdie ef0d049038 alsa-ucm-conf: upgrade 1.2.6.3 -> 1.2.7
(From OE-Core rev: 4fc561b843cfac2c7847ceec1e6b78c5dc0b24c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-04 11:28:23 +01:00
Richard Purdie 614163fccc xwayland: upgrade 22.1.1 -> 22.1.2
(From OE-Core rev: 0fd8934f51080313f54326b634593d11385b3338)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-04 11:28:23 +01:00