]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 years agozlib: upgrade 1.2.12 -> 1.2.13
Ross Burton [Mon, 17 Oct 2022 13:32:11 +0000 (14:32 +0100)] 
zlib: upgrade 1.2.12 -> 1.2.13

Drop a number of patches whicih have been merged upstream.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agozlib: do out-of-tree builds
Ross Burton [Mon, 17 Oct 2022 13:32:10 +0000 (14:32 +0100)] 
zlib: do out-of-tree builds

zlib supports out-of-tree builds, so do them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agobtrfs-tools: upgrade 5.19.1 -> 6.0
wangmy [Mon, 17 Oct 2022 11:37:00 +0000 (19:37 +0800)] 
btrfs-tools: upgrade 5.19.1 -> 6.0

Changelog:
==========
  * fi usage: in tabular output, print total size and slack size
   * mkfs:
      * option -O now accepts values from -R to unify the interface (-R will
continue to work)
      * zone reset and discard is done in parallel on all devices
      * removed option --leafsize, deprecated long time ago
   * corrupt-block: recalculate checksum when changing generation
   * fixes:
      * convert: fix reserved range detection and overlaps
      * mkfs: fix creating files with reserved inode numbers with --rootdir
      * receive: escape filenames in command attributes
      * fix extent buffer leaks after transaction abort
   * experimental:
      * mkfs: support for block-group-tree (kernel 6.1)
      * fsverity in send (protocol v3, WIP)
      * btrfstune -b converts to block-group-tree
   * other:
      * cleanups, refactoring
      * new and updated tests
      * update documentation

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogo-mod.bbclass: Remove repeated word
Fabio Estevam [Sun, 16 Oct 2022 19:01:16 +0000 (16:01 -0300)] 
go-mod.bbclass: Remove repeated word

The word 'the' appears repeatedly. Remove one occurrence.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorust: update 1.63.0 -> 1.64.0
Alex Kiernan [Fri, 14 Oct 2022 16:49:54 +0000 (17:49 +0100)] 
rust: update 1.63.0 -> 1.64.0

Release notes:
  https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agobuildconf: compare abspath
Adrian Freihofer [Fri, 14 Oct 2022 06:52:47 +0000 (08:52 +0200)] 
buildconf: compare abspath

We have something like ${TOPDIR}/../../poky/meta in the bblayers.conf
file. This does not work without normalizing the path for comparison.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agowic: implement binary repeatable disk identifiers
Sergei Zhmylev [Thu, 13 Oct 2022 11:03:45 +0000 (14:03 +0300)] 
wic: implement binary repeatable disk identifiers

When SOURCE_DATE_EPOCH variable is set, binary repeatable build
is expected. This commit implements reproducable disk identifiers
in such a case using its value as a Random seed.

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolinux-yocto-dev: add qemuarm64
Xiangyu Chen [Wed, 12 Oct 2022 02:34:36 +0000 (10:34 +0800)] 
linux-yocto-dev: add qemuarm64

Mark the qemuarm64 as compatible

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolttng-ust: upgrade 2.13.4 -> 2.13.5
wangmy [Tue, 11 Oct 2022 08:58:50 +0000 (16:58 +0800)] 
lttng-ust: upgrade 2.13.4 -> 2.13.5

Changelog:
==========
* Fix: bytecode validator: reject specialized load field/context ref instructions
* Fix: bytecode validator: reject specialized load instructions
* Fix: event notification capture: validate buffer length
* Fix: event notification capture error handling
* Fix: lttng-ust-comm: wait on wrong child process
* fix: 'make dist' without javah

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibwpe: upgrade 1.12.3 -> 1.14.0
wangmy [Tue, 11 Oct 2022 08:58:48 +0000 (16:58 +0800)] 
libwpe: upgrade 1.12.3 -> 1.14.0

Changelog:
========
 New API to provide input events to be treated by WebKit as gamepad inputs.
 New API to configure the target refresh rate of view backends.
 New API which allow clients to supply an alternative mechanism for spawning WebKit auxiliary processes.
 New WPE_ENABLE_XKB build option, enabled by default, which can be used to avoid usage of libxkbcommon.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibsdl2: upgrade 2.24.0 -> 2.24.1
wangmy [Tue, 11 Oct 2022 08:39:23 +0000 (16:39 +0800)] 
libsdl2: upgrade 2.24.0 -> 2.24.1

0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
refreshed for new version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibksba: upgrade 1.6.0 -> 1.6.2
wangmy [Tue, 11 Oct 2022 08:39:22 +0000 (16:39 +0800)] 
libksba: upgrade 1.6.0 -> 1.6.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoxz: upgrade 5.2.6 -> 5.2.7
wangmy [Tue, 11 Oct 2022 08:39:21 +0000 (16:39 +0800)] 
xz: upgrade 5.2.6 -> 5.2.7

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoxkeyboard-config: upgrade 2.36 -> 2.37
wangmy [Tue, 11 Oct 2022 08:39:20 +0000 (16:39 +0800)] 
xkeyboard-config: upgrade 2.36 -> 2.37

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agowpebackend-fdo: upgrade 1.12.1 -> 1.14.0
wangmy [Tue, 11 Oct 2022 08:39:19 +0000 (16:39 +0800)] 
wpebackend-fdo: upgrade 1.12.1 -> 1.14.0

Changelog:
==========
Fixed a crash caused by trying to deallocate already freed graphics buffers in certain situations.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosqlite3: upgrade 3.39.3 -> 3.39.4
wangmy [Tue, 11 Oct 2022 08:21:48 +0000 (16:21 +0800)] 
sqlite3: upgrade 3.39.3 -> 3.39.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorepo: upgrade 2.29.2 -> 2.29.3
wangmy [Tue, 11 Oct 2022 08:21:47 +0000 (16:21 +0800)] 
repo: upgrade 2.29.2 -> 2.29.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-zipp: upgrade 3.8.1 -> 3.9.0
wangmy [Tue, 11 Oct 2022 08:21:46 +0000 (16:21 +0800)] 
python3-zipp: upgrade 3.8.1 -> 3.9.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-pytz: upgrade 2022.2.1 -> 2022.4
wangmy [Tue, 11 Oct 2022 08:21:45 +0000 (16:21 +0800)] 
python3-pytz: upgrade 2022.2.1 -> 2022.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agonumactl: upgrade 2.0.15 -> 2.0.16
wangmy [Tue, 11 Oct 2022 08:21:44 +0000 (16:21 +0800)] 
numactl: upgrade 2.0.15 -> 2.0.16

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopowertop: upgrade 2.14 -> 2.15
wangmy [Tue, 11 Oct 2022 08:05:58 +0000 (16:05 +0800)] 
powertop: upgrade 2.14 -> 2.15

0001-src-fix-compatibility-with-ncurses-6.3.patch
removed since it's included in new version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibva-utils: upgrade 2.15.0 -> 2.16.0
wangmy [Tue, 11 Oct 2022 08:05:56 +0000 (16:05 +0800)] 
libva-utils: upgrade 2.15.0 -> 2.16.0

Changelog:
===========
* trace: print the display being attempted
* ci: upgrade FreeBSD to 13.1
* meson: Search for threads in top-level meson.build
* meson: produce summary() when 0.53.0 is present

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibva: upgrade 2.15.0 -> 2.16.0
wangmy [Tue, 11 Oct 2022 08:05:55 +0000 (16:05 +0800)] 
libva: upgrade 2.15.0 -> 2.16.0

Changelog:
===========
    add: Add HierarchicalFlag & hierarchical_level_plus1 for AV1e.
    dep: Update README.md to remove badge links
    dep: Removed waffle-io badge from README to fix broken link
    dep: Drop mailing list, IRC and Slack
    autotools: use wayland-scanner private-code
    autotools: use the wayland-scanner.pc to locate the prog
    meson: use wayland-scanner private-code
    meson: request native wayland-scanner
    meson: use the wayland-scanner.pc to locate the prog
    meson: set HAVE_VA_X11 when applicable
    style:Correct slight coding style in several new commits
    trace: add Linux ftrace mode for va trace
    trace: Add missing pthread_mutex_destroy
    drm: remove no-longer needed X == X mappings
    drm: fallback to drm driver name == va driver name
    drm: simplify the mapping table
    x11: simplify the mapping table
    android: open() with O_CLOEXEC for device fd
    android: remove convoluted open_device() helper
    android: drop va_fool references
    ci: strengthen ci with -Werror
    ci: va/x11/nvctl: fix Wdeprecated-non-prototype on close_display
    ci: add clang-15 coverage and rearrange runners
    ci: upgrade FreeBSD to 13.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibical: upgrade 3.0.14 -> 3.0.15
wangmy [Tue, 11 Oct 2022 07:58:14 +0000 (15:58 +0800)] 
libical: upgrade 3.0.14 -> 3.0.15

Changelog:
=========
 Add missing property parameters into libical-glib
 Fix CMake option USE_32BIT_TIME_T actually uses a 32-bit time_t value
 Fix icaltime_as_timet, which returned incorrect results for years >= 2100, to work properly between years 1902 and 10k.
 Fix x-property comma handling and escaping
 Built-in timezones updated to tzdata2022d (now with a VTIMEZONE for each time zone alias)
 Fix fuzzer issues
 Handle unreachable-code compile warnings with clang
 Ensure all vanew_foo() calls finish with (void*)0 (not 0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibcap: upgrade 2.65 -> 2.66
wangmy [Tue, 11 Oct 2022 07:58:13 +0000 (15:58 +0800)] 
libcap: upgrade 2.65 -> 2.66

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoharfbuzz: upgrade 5.1.0 -> 5.3.0
wangmy [Tue, 11 Oct 2022 07:58:12 +0000 (15:58 +0800)] 
harfbuzz: upgrade 5.1.0 -> 5.3.0

0001-fix-signedness-of-char-in-tests.patch
removed since it's included in new version.

Changelog:
===========
 Don’t add glyphs from dropped MATH or COLR tables to the subset glyphs.
 Map rlig to appropriate AAT feature selectors.
 Update USE data files to latest version.
 Check CBDT extents first before outline tables, to help with fonts that also include an empty glyf table.
 More work towards variable font instancing in the subsetter.
 Subsetter repacker improvements.
 New API:
  +hb_ot_layout_lookup_get_optical_bound()
  +hb_face_builder_sort_tables()

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogsettings-desktop-schemas: upgrade 42.0 -> 43.0
wangmy [Tue, 11 Oct 2022 07:58:11 +0000 (15:58 +0800)] 
gsettings-desktop-schemas: upgrade 42.0 -> 43.0

Changelog:
=========
- Update default background file extension to webp
- Translation updates
- Add setting for touchpad acceleration profiles
- Add specific schema for trackpoint pointer devices
- Fix description of use-same-proxy setting

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agognutls: upgrade 3.7.7 -> 3.7.8
wangmy [Tue, 11 Oct 2022 07:58:10 +0000 (15:58 +0800)] 
gnutls: upgrade 3.7.7 -> 3.7.8

Changelog:
=========
** libgnutls: In FIPS140 mode, RSA signature verification is an approved
   operation if the key has modulus with known sizes (1024, 1280,
   1536, and 1792 bits), in addition to any modulus sizes larger than
   2048 bits, according to SP800-131A rev2.

** libgnutls: gnutls_session_channel_binding performs additional checks when
   GNUTLS_CB_TLS_EXPORTER is requested. According to RFC9622 4.2, the
   "tls-exporter" channel binding is only usable when the handshake is
   bound to a unique master secret (i.e., either TLS 1.3 or extended
   master secret extension is negotiated). Otherwise the function now
   returns error.

** libgnutls: usage of the following functions, which are designed to
   loosen restrictions imposed by allowlisting mode of configuration,
   has been additionally restricted. Invoking them is now only allowed
   if system-wide TLS priority string has not been initialized yet:
gnutls_digest_set_secure
gnutls_sign_set_secure
gnutls_sign_set_secure_for_certs
gnutls_protocol_set_enabled

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-manifest.json: Move urllib to netclient
Leon Anavi [Tue, 11 Oct 2022 11:10:28 +0000 (14:10 +0300)] 
python3-manifest.json: Move urllib to netclient

Move urllib from core to netclient because it imports base64.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoqemu-native: Add PACKAGECONFIG option for jack
Jeremy Puhlman [Mon, 10 Oct 2022 21:42:11 +0000 (14:42 -0700)] 
qemu-native: Add PACKAGECONFIG option for jack

With libjack-devel or jack-audio-connection-kit-devel, qemu-native
detects the library/header and tries to build with it. Since its
missing from the sysroot, it fails to build.

 -O2 -fPIE -D_REENTRANT -Wno-undef -MD -MQ libcommon.fa.p/audio_jackaudio.c.o
-MF libcommon.fa.p/audio_jackaudio.c.o.d -o libcommon.fa.p/audio_jackaudio.c.o
-c ../qemu-6.2.0/audio/jackaudio.c
| ../qemu-6.2.0/audio/jackaudio.c:34:10: fatal error: jack/jack.h: No such file
or directory
|    34 | #include <jack/jack.h>
|       |          ^~~~~~~~~~~~~
| compilation terminated.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-importlib-metadata: upgrade 4.12.0 -> 5.0.0
wangmy [Mon, 10 Oct 2022 08:52:28 +0000 (16:52 +0800)] 
python3-importlib-metadata: upgrade 4.12.0 -> 5.0.0

Changelog:
#97, #284, #300: Removed compatibility shims for deprecated entry point interfaces.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-git: upgrade 3.1.27 -> 3.1.28
wangmy [Mon, 10 Oct 2022 08:47:34 +0000 (16:47 +0800)] 
python3-git: upgrade 3.1.27 -> 3.1.28

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agou-boot: upgrade 2022.07 -> 2022.10
wangmy [Mon, 10 Oct 2022 08:47:33 +0000 (16:47 +0800)] 
u-boot: upgrade 2022.07 -> 2022.10

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-hatchling: upgrade 1.10.0 -> 1.11.0
wangmy [Mon, 10 Oct 2022 08:47:32 +0000 (16:47 +0800)] 
python3-hatchling: upgrade 1.10.0 -> 1.11.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoopenssh: upgrade 9.0p1 -> 9.1p1
wangmy [Mon, 10 Oct 2022 08:47:31 +0000 (16:47 +0800)] 
openssh: upgrade 9.0p1 -> 9.1p1

License-Update: add Kungliga Tekniska Högskolan to copyright holders

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoifupdown: upgrade 0.8.37 -> 0.8.39
wangmy [Mon, 10 Oct 2022 08:43:10 +0000 (16:43 +0800)] 
ifupdown: upgrade 0.8.37 -> 0.8.39

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agodbus: upgrade 1.14.0 -> 1.14.4
wangmy [Mon, 10 Oct 2022 08:43:09 +0000 (16:43 +0800)] 
dbus: upgrade 1.14.0 -> 1.14.4

License-Update: D-Bus changed to dbus.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomtools: upgrade 4.0.40 -> 4.0.41
wangmy [Mon, 10 Oct 2022 08:38:33 +0000 (16:38 +0800)] 
mtools: upgrade 4.0.40 -> 4.0.41

disable-hardcoded-configs.patch
refreshed for new version

Changelo:
=========
- Made it possible again to have FAT32 filesystems with less
  than 0xfff5 clusters
- Make FAT32 entries 0 and 1 match what windows 10 does
- Misc source code and configure script cleanup

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomeson: upgrade 0.63.2 -> 0.63.3
wangmy [Mon, 10 Oct 2022 08:38:31 +0000 (16:38 +0800)] 
meson: upgrade 0.63.2 -> 0.63.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoinit-system-helpers: upgrade 1.64 -> 1.65.2
wangmy [Mon, 10 Oct 2022 08:38:29 +0000 (16:38 +0800)] 
init-system-helpers: upgrade 1.64 -> 1.65.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-poetry-core: upgrade 1.0.8 -> 1.3.2
Tim Orling [Sat, 8 Oct 2022 23:54:54 +0000 (16:54 -0700)] 
python3-poetry-core: upgrade 1.0.8 -> 1.3.2

For changes, see:
https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md#132---2022-10-07

* Update license checksums to reflect current path and vendored
  components.
* Licenses remain Apache-2.0 & BSD-2-Clause & MIT

License-Update: Vendored licenses changed path; current components

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-iso8601: upgrade 1.0.2 -> 1.1.0
Tim Orling [Sat, 8 Oct 2022 23:54:53 +0000 (16:54 -0700)] 
python3-iso8601: upgrade 1.0.2 -> 1.1.0

e3b4ed3 Release 1.1.0
56da11c missed a comma
fde429d raise ParseError if we get an exception on is_iso8601()
21f5368 Add is_iso8601() function
406db6f Update license years

License-Update: copyright years updated.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-setuptools-rust: upgrade 1.5.1 -> 1.5.2
Tim Orling [Sat, 8 Oct 2022 23:54:52 +0000 (16:54 -0700)] 
python3-setuptools-rust: upgrade 1.5.1 -> 1.5.2

1.5.2 (2022-09-19)
Fixed:
* Fix regression in dylib build artifacts not being found since 1.5.0.
  #290
* Fix regression in sdist missing examples and other supplementary
  files since 1.5.0. #291

https://github.com/PyO3/setuptools-rust/blob/main/CHANGELOG.md#152-2022-09-19

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-sphinx: upgrade 5.1.1 -> 5.2.3
Tim Orling [Sat, 8 Oct 2022 23:54:51 +0000 (16:54 -0700)] 
python3-sphinx: upgrade 5.1.1 -> 5.2.3

* Now uses flit-core backend (python_flit_core.bbclass)
* Sort RDEPENDS alphabetically to make it easier to see what is present.

For changes see:
https://www.sphinx-doc.org/en/master/changes.html#release-5-2-3-released-sep-30-2022
https://www.sphinx-doc.org/en/master/changes.html#release-5-2-2-released-sep-27-2022
https://www.sphinx-doc.org/en/master/changes.html#release-5-2-0-post0-released-sep-24-2022
https://www.sphinx-doc.org/en/master/changes.html#release-5-2-0-released-sep-24-2022

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-bcrypt: upgrade 3.2.2 -> 4.0.0
Tim Orling [Sat, 8 Oct 2022 23:54:50 +0000 (16:54 -0700)] 
python3-bcrypt: upgrade 3.2.2 -> 4.0.0

* Switch to python_setuptools3_rust.bbclass
* Add crate:// (from cargo bitbake output)
* Manually fix crate:// versions to satisfy cargo

4.0.0
    bcrypt is now implemented in Rust. Users building from source will
need to have a Rust compiler available. Nothing will change for users
downloading wheels.
    We no longer ship manylinux2010 wheels. Users should upgrade to the
latest pip to ensure this doesn’t cause issues downloading wheels on
their platform. We now ship manylinux_2_28 wheels for users on new
enough platforms.
    NUL bytes are now allowed in inputs.

https://github.com/pyca/bcrypt/#400

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-pyopenssl: upgrade 22.0.0 -> 22.1.0
Tim Orling [Sat, 8 Oct 2022 23:54:49 +0000 (16:54 -0700)] 
python3-pyopenssl: upgrade 22.0.0 -> 22.1.0

22.1.0 (2022-09-25)
Backward-incompatible changes:

    Remove support for SSLv2 and SSLv3.

    The minimum cryptography version is now 38.0.x (and we now pin
releases against cryptography major versions to prevent future breakage)

    The OpenSSL.crypto.X509StoreContextError exception has been
refactored, changing its internal attributes. #1133

Deprecations:

    OpenSSL.SSL.SSLeay_version is deprecated in favor of
OpenSSL.SSL.OpenSSL_version. The constants OpenSSL.SSL.SSLEAY_* are
deprecated in favor of OpenSSL.SSL.OPENSSL_*.

Changes:

    Add OpenSSL.SSL.Connection.set_verify and
OpenSSL.SSL.Connection.get_verify_mode to override the context object’s
verification flags. #1073

    Add OpenSSL.SSL.Connection.use_certificate and
OpenSSL.SSL.Connection.use_privatekey to set a certificate per
connection (and not just per context) #1121.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-hypothesis: upgrade 6.54.5 -> 6.56.1
Tim Orling [Sat, 8 Oct 2022 23:54:48 +0000 (16:54 -0700)] 
python3-hypothesis: upgrade 6.54.5 -> 6.56.1

For changes see:
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-56-1
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-56-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-55-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-54-6

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-certifi: upgrade 2022.9.14 -> 2022.9.24
Tim Orling [Sat, 8 Oct 2022 23:54:47 +0000 (16:54 -0700)] 
python3-certifi: upgrade 2022.9.14 -> 2022.9.24

The following certificate was removed:
OU=Serveis Publics de Certificacio/Vegeu
https://www.catcert.net/verarrel (c)03/Jerarquia Entitats de
Certificacio Catalanes

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-cryptography-vectors: upgrade 37.0.4 -> 38.0.1
Tim Orling [Sat, 8 Oct 2022 23:54:46 +0000 (16:54 -0700)] 
python3-cryptography-vectors: upgrade 37.0.4 -> 38.0.1

For changes, see:
https://github.com/pyca/cryptography/blob/38.0.1/CHANGELOG.rst#3800---2022-09-07
https://github.com/pyca/cryptography/blob/38.0.1/CHANGELOG.rst#3800---2022-09-06

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-cryptography: upgrade 37.0.4 -> 38.0.1
Tim Orling [Sat, 8 Oct 2022 23:54:45 +0000 (16:54 -0700)] 
python3-cryptography: upgrade 37.0.4 -> 38.0.1

* Drop 0001-Cargo.toml-specify-pem-version.patch, superceded.
* Update crate:// (via cargo bitbake)
* Manually fix crate:// versions to satisfy cargo

Release notes:

38.0.1 - 2022-09-07
  - Fixed parsing TLVs in ASN.1 with length greater than 65535 bytes
    (typically seen in large CRLs).

38.0.0 - 2022-09-06
  - Final deprecation of OpenSSL 1.1.0. The next release of cryptography
    will drop support.
  (For complete release notes, see:
  https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3800---2022-09-06)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomusl: Upgrade to latest master
Khem Raj [Wed, 5 Oct 2022 23:55:52 +0000 (16:55 -0700)] 
musl: Upgrade to latest master

Following changes are part of this SRCREV uprev

dc9285ad fix error cases in gethostbyaddr_r
f9827fc7 remove impossible error case from gethostbyname2_r
f081d533 fix return value of gethostnbyname[2]_r on result not found
1e7fb12f dns: treat names rejected by res_mkquery as nonexistent rather than error
001c1afb res_mkquery: error out on consecutive final dots in name
3ad3fa96 fix thread leak on timer_create(SIGEV_THREAD) failure
bf14ef19 re-enable vdso clock_gettime on arm (32-bit) with workaround
6f3ead0a process DT_RELR relocations in ldso-startup/static-pie
25085c85 fix fwprintf missing output to open_wmemstream FILEs
a636fd63 dns: fail if ipv6 is disabled and resolv.conf has only v6 nameserves
996b6154 use kernel-provided AT_MINSIGSTKSZ for sysconf(_SC_[MIN]SIGSTKSZ)
25340a93 add sysconf keys/values for signal stack size
d8fddb96 fix fallback when ipv6 is disabled but resolv.conf has v6 nameserves
d4f987e4 epoll_create: fail with EINVAL if size is non-positive
2e5fff43 use alt signal stack when present for implementation-internal signals
379b1821 ldso: make exit condition clearer in fixup_rpath

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agobuildtools-tarball: export certificates to python and curl
Jan-Simon Moeller [Wed, 5 Oct 2022 17:54:28 +0000 (19:54 +0200)] 
buildtools-tarball: export certificates to python and curl

The custom path of the ca-certificates.crt within the buildtools-tarball requires more
environment variables to be exported. Namely REQUESTS_CA_BUNDLE for the python requests library
and CURL_CA_BUNDLE for curl.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agooverlayfs: Allow not used mount points
Vyacheslav Yurkov [Wed, 5 Oct 2022 11:14:02 +0000 (13:14 +0200)] 
overlayfs: Allow not used mount points

When machine configuration defines a mount point, which is not used in
any recipe, allow to fall through and only report a note in the logs.
This can be expected behavior, when a mount point is defined for several
machines, but not used in all of them

Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agowic: bootimg-efi: implement --include-path
Maxim Uvarov [Wed, 5 Oct 2022 05:55:04 +0000 (08:55 +0300)] 
wic: bootimg-efi: implement --include-path

--include-path can be used for placing files on ESP,
like dtbs.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agowic: add UEFI kernel as UEFI stub
Maxim Uvarov [Wed, 5 Oct 2022 05:55:03 +0000 (08:55 +0300)] 
wic: add UEFI kernel as UEFI stub

Linux kernel can be compiled as UEFI stub and loaded directly
with UEFI firmware without grub or other UEFI shell.

Tested with wic file:
bootloader  --ptable gpt --timeout=0  --append="rootwait"
part /boot --source bootimg-efi --sourceparams="loader=uefi-kernel" \
 --ondisk sda  --fstype=vfat --label bootfs \
  --active --align 1024 --use-uuid
part / --source rootfs --fstype=ext4 --label rootfs \
  --align 1024 --exclude-path boot/ --use-label

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agolsof: upgrade 4.95.0 -> 4.96.3
Ross Burton [Tue, 4 Oct 2022 10:51:06 +0000 (11:51 +0100)] 
lsof: upgrade 4.95.0 -> 4.96.3

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agopiglit: upgrade to latest revision
Ross Burton [Tue, 4 Oct 2022 10:51:05 +0000 (11:51 +0100)] 
piglit: upgrade to latest revision

Also disable any attempt at debug splitting/stripping.  Piglit installs
over 2GB of files which we install stripped, so the action of attempting
to split/strip takes a long time and achieves nothing.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agopango: upgrade 1.50.9 -> 1.50.10
Ross Burton [Tue, 4 Oct 2022 10:51:04 +0000 (11:51 +0100)] 
pango: upgrade 1.50.9 -> 1.50.10

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agopython3-hatchling: upgrade 1.9.0 -> 1.10.0
Ross Burton [Tue, 4 Oct 2022 10:51:03 +0000 (11:51 +0100)] 
python3-hatchling: upgrade 1.9.0 -> 1.10.0

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agoacpid: upgrade 2.0.33 -> 2.0.34
Ross Burton [Tue, 4 Oct 2022 10:51:02 +0000 (11:51 +0100)] 
acpid: upgrade 2.0.33 -> 2.0.34

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agovim: Upgrade 9.0.0598 -> 9.0.0614
Teoh Jay Shen [Tue, 4 Oct 2022 06:25:52 +0000 (14:25 +0800)] 
vim: Upgrade 9.0.0598 -> 9.0.0614

Include fixes for CVE-2022-3352.

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agobase-passwd: Update to 3.6.1
Peter Kjellerstedt [Sun, 2 Oct 2022 17:56:36 +0000 (19:56 +0200)] 
base-passwd: Update to 3.6.1

Add a patch to support configuring whether SELinux is enabled or not.
Also add a PACKAGECONFIG for SELinux support and enable it if the
"selinux" distro feature is enabled.

Remove two patches that have been applied upstream.

Changes since 3.5.52:
5928e85: German (thanks, Helge Kreutzmann)
72cb6a6: Remove constraints unnecessary since buster
2f71444: Merge branch 'scrub-obsolete' into 'master'
5a578e7: Drop Build-Depends: dpkg
44f28e1: Apply wrap-and-sort -at
1fe0338: Upgrade to debhelper v13
d77d38c: Simplify some debhelper overrides slightly
2143651: Implement SELinux awareness when updating
  /etc/{passwd,group,shadow}
0b824ad: improve enforcing handling
e2f0c03: update-passwd.c: use raw selinux labeles
8d45264: selinux_prepare_create_file: return error from
  setfscreatecon_raw
2f23448: selinux_after_create_file: save errno
6953dd1: update-passwd.c: replace goto error handling
32fbf59: cleanup
3c3eb67: fixup goto
585126f: implement feedback
02a366b: users-and-groups: Update copyright years
7849c61: users-and-groups: Rename ssh group to _ssh
06ed6f4: update-passwd.c: set walk to walk->next before removing
ef6baea: users-and-groups: Document libvirt group
68e02a3: Stop creating the gnats user and group on new installations
cb6e2a9: Restore Build-Depends sorting
0e1afc1: Tidy up whitespace
6005a06: Merge branch 'selinux' into 'master'
24046cb: Bump version to 3.6.0
c72aa5d: Make it possible to build without debconf support
2a6d16e: Make it possible to disable the generation of the
  documentation
60ece0c: Merge branch 'master' into 'master'
63d0f94: Add changelog entry
cbae4a5: update-passwd: add format attribute
b71eb04: update-passwd: use strict prototypes
df48ea8: update-passwd: silence potential null dereference
cddc9df: update-passwd: print filename on fclose error
d05f8a3: update-passwd: use correct filename in copy_filemodes
11e6466: update-passwd: drop t flag from fopen
347aeb6: update-passwd: open temporary file exclusively
a697493: d/salsa-ci.yml: add standard salsa ci configuration
2f622f4: configure: replace obsolete macro
43ebe64: Add changelog entry
e1a186b: frozen the group id for crontab, in order to fix #1012622
5ce7773: frozen the group id for crontab, closes: #1012622
670c2be: Revert "frozen the group id for crontab, closes: #1012622"
bc1ad19: Revert "Revert "frozen the group id for crontab, closes:
  #1012622""
12122c6: Revert "frozen the group id for crontab, in order to fix
  #1012622"
0145e8a: Revert "frozen the group id for crontab, closes: #1012622"
c8125ff: releasing package base-passwd version 3.6.0
dc157c6: passwd.master: Add _apt user
e50024c: Merge branch 'misc' into 'master'
7fb5ad8: debian/postinst: Fix several shellcheck issues
8f07b66: releasing package base-passwd version 3.6.1

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomesa: only apply patch to fix ALWAYS_INLINE for native
Kai Kang [Fri, 30 Sep 2022 08:34:33 +0000 (16:34 +0800)] 
mesa: only apply patch to fix ALWAYS_INLINE for native

0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not
needed by target mesa any more. But it still fails to compile
mesa-native without this patch when DEBUG_BUILD is enabled on Ubuntu
18.04 with gcc 7.5.0:

| ../mesa-22.1.6/src/compiler/nir/nir_inline_helpers.h: In function ‘nir_opt_move_block’:
| ../mesa-22.1.6/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to
    always_inline ‘src_is_ssa’: indirect function call with a yet undetermined callee
|  src_is_ssa(nir_src *src, void *state)
|  ^~~~~~~~~~

So only apply it for mesa-native.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomeson: make wrapper options sub-command specific
Liam Beguin [Thu, 29 Sep 2022 02:50:56 +0000 (22:50 -0400)] 
meson: make wrapper options sub-command specific

The meson-wrapper adds setup options to facilitate cross-compilation.
The current options are exclusive to the setup sub-command and might
cause issues with other sub-commands.

Update the wrapper to make options sub-command specific.

Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolighttpd: fix CVE-2022-41556
Ross Burton [Fri, 21 Oct 2022 16:16:39 +0000 (17:16 +0100)] 
lighttpd: fix CVE-2022-41556

Backport the fix from upstream to fix this CVE.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognutls: Unified package names to lower-case
Keiya Nobuta [Wed, 19 Oct 2022 10:57:39 +0000 (19:57 +0900)] 
gnutls: Unified package names to lower-case

create-spdx can't detect the license properly if the case doesn't
match, so fix it.

Signed-off-by: Keiya Nobuta <nobuta.keiya@fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-update-db-native: add timeout to urlopen() calls
Frank de Brabander [Tue, 18 Oct 2022 16:37:51 +0000 (18:37 +0200)] 
cve-update-db-native: add timeout to urlopen() calls

The urlopen() call can block indefinitely under some circumstances.
This can result in the bitbake process to run endlessly because of
the 'do_fetch' task of cve-update-bb-native to remain active.

This adds a default timeout of 60 seconds to avoid this hang, while
being large enough to minimize the risk of unwanted timeouts.

Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-2.0: fix rare GFileInfo test case failure
Ross Burton [Thu, 20 Oct 2022 13:44:45 +0000 (14:44 +0100)] 
glib-2.0: fix rare GFileInfo test case failure

If a access or creation timestamp has 0 microseconds, then the test
fails as it doesn't expect this to be a valid value.  Expand a previous
fix for modification times to cover these timestamps too.

[ YOCTO #14373 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssl: export necessary env vars in SDK
Chen Qi [Wed, 19 Oct 2022 09:32:28 +0000 (02:32 -0700)] 
openssl: export necessary env vars in SDK

In current SDK, when running the following command in python
shell, we get an error.

$ python3
>>> from cryptography.hazmat.backends import openssl

The error message is as below:

  cryptography.exceptions.InternalError: Unknown OpenSSL error.

We could set OPENSSL_MODULES explicitly in nativesdk-openssl package
so that when SDK is set up, it's in environment and we can
get rid of the above error.

Also, there are other env vars that need to be exported. And we export
all of them to keep sync with openssl-native.bbclass.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobluez5: add dbus to RDEPENDS
Bartosz Golaszewski [Mon, 17 Oct 2022 07:38:17 +0000 (09:38 +0200)] 
bluez5: add dbus to RDEPENDS

Unless we're using systemd, dbus is not pulled into the system
automatically. Bluez5 will not work without dbus so add it to RDEPENDS
explicitly.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agozlib: use .gz archive and set a PREMIRROR
Ross Burton [Mon, 17 Oct 2022 11:26:14 +0000 (12:26 +0100)] 
zlib: use .gz archive and set a PREMIRROR

When a new zlib release is made, the top-level URL is no longer available
and it is only available as a .gz under the /fossils/ directory.

When this happens the source fetch fails and bitbake noisily warns that
it is using the mirrors.  Avoid this by using the .gz tarball and add
the /fossils/ directory to PREMIRRORS so fetches will check there too.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoown-mirrors: add crate
Adrian Freihofer [Fri, 14 Oct 2022 06:54:48 +0000 (08:54 +0200)] 
own-mirrors: add crate

Support downloading crate files from a mirror at SOURCE_MIRROR_URL.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: Allow -Wno-error=poison-system-directories to take effect
Peter Kjellerstedt [Thu, 13 Oct 2022 13:29:26 +0000 (15:29 +0200)] 
gcc: Allow -Wno-error=poison-system-directories to take effect

The change in commit e903b29f (gcc-cross: pass
-Werror=poison-system-directories to compiler stages) made it impossible
to disable the error using -Wno-error=poison-system-directories.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperf: Depend on native setuptools3
Khem Raj [Tue, 11 Oct 2022 03:02:16 +0000 (20:02 -0700)] 
perf: Depend on native setuptools3

perf has need for python setuptools when scripting is enabled
from 6.0.0 onwards it seems to throw an explicit error

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: Add savedefconfig task
Alex Kiernan [Fri, 7 Oct 2022 16:46:43 +0000 (17:46 +0100)] 
u-boot: Add savedefconfig task

Add savedefconfig task which U-Boot supports (unfortunately not all
consumers of cml1 support this).

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: Remove duplicate inherit of cml1
Alex Kiernan [Fri, 7 Oct 2022 16:46:41 +0000 (17:46 +0100)] 
u-boot: Remove duplicate inherit of cml1

Splitting u-boot-configure.inc out of the base left duplicate
cml1.bbclass in the base include.

Fixes: fc9a17ad386c ("u-boot: Split do_configure logic into separate file")
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooe/packagemanager/rpm: don't leak file objects
Ross Burton [Mon, 10 Oct 2022 10:53:52 +0000 (11:53 +0100)] 
oe/packagemanager/rpm: don't leak file objects

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinsane.bbclass: Allow hashlib version that only accepts on parameter
Mark Hatle [Thu, 6 Oct 2022 21:54:07 +0000 (16:54 -0500)] 
insane.bbclass: Allow hashlib version that only accepts on parameter

Some versions of hashlib don't appear to implement the second FIPS
related argument.  Detect this and support both versions.

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopkg-utils: use a git clone, not a dynamic snapshot
Ross Burton [Thu, 6 Oct 2022 13:28:34 +0000 (14:28 +0100)] 
opkg-utils: use a git clone, not a dynamic snapshot

opkg-utils fetches using a cgit snapshot of a tag, which is not
reproducible as the tag could move, not reliable as a future dynamic
snapshot could have a different checksum, and a waste of CPU load as
these tarballs are built on demand.

Switch opkg-utils to use a proper git clone of the relevant SHA.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopsplash: add psplash-default in rdepends
Thomas Perrot [Wed, 5 Oct 2022 17:19:14 +0000 (19:19 +0200)] 
psplash: add psplash-default in rdepends

Otherwise when the installation of recommended packages is prevented
(NO_RECOMMENDATIONS = "1"), then splash screen will not be cast.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto: add efi entry for machine features
Jon Mason [Mon, 3 Oct 2022 00:49:59 +0000 (20:49 -0400)] 
linux-yocto: add efi entry for machine features

EFI has kernel features when need to be enabled for it to boot.  Add the
existing kernel config fragment to the kernel config if this machine
feature is enabled.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodropbear: add pam to PACKAGECONFIG
Ming Liu [Thu, 6 Oct 2022 10:31:17 +0000 (12:31 +0200)] 
dropbear: add pam to PACKAGECONFIG

Add pam to PACKAGECONFIG to make the code cleaner.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexternalsrc: move back to classes
Ross Burton [Tue, 18 Oct 2022 18:21:19 +0000 (19:21 +0100)] 
externalsrc: move back to classes

The externalsrc class was moved to classes-recipe as part of oe-core
f5c1280, but it can be used in both recipe and global contexts so move
it back to classes/.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts/oe-check-sstate: force build to run for all targets, specifically populate_sy...
Ross Burton [Tue, 18 Oct 2022 10:47:07 +0000 (11:47 +0100)] 
scripts/oe-check-sstate: force build to run for all targets, specifically populate_sysroot

Since the commit "populate_sdk_base/images: Drop use of 'meta' class and
hence do_build dependencies"[1], builds of images or SDKs don't
recursively depend on the top-level do_build target.  This is typically
a good thing: images just depend on the packages themselves and those
dependencies already exist, but they don't need each recipes sysroot to
be populated.

However, eSDK generation is partly done via the script oe-check-sstate,
which does a 'dry-run' build of the target and collates all of the
sstate that is used.  With this commit the sstate that is used is a
fraction of what would be needed in the SDK, specifically there are no
sysroots populated during the build, so there are no sysroots in the
SDK.

This is obviously a problem, as the entire point of an eSDK is to
contain a sysroot.  Resolve this problem by forcing bitbake to run the
build task for all targets, so that all potentially needed sstate is
collated.

[YOCTO #14626]

[1] https://github.com/openembedded/openembedded-core/commit/41d7f1aa2cc9ef5dba4db38435402d4c9c0a63e1

Tested-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoscripts/oe-check-sstate: cleanup
Ross Burton [Mon, 10 Oct 2022 11:42:19 +0000 (12:42 +0100)] 
scripts/oe-check-sstate: cleanup

The scriptutils import isn't used, there's no need to run bitbake
in a shell environment, and invoke bitbake as a list instead of a
string.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopopulate_sdk_base: ensure ptest-pkgs pulls in ptest-runner
Ross Burton [Wed, 12 Oct 2022 11:21:04 +0000 (12:21 +0100)] 
populate_sdk_base: ensure ptest-pkgs pulls in ptest-runner

Since "package_manager: Change complementary package handling to not
include soft dependencies"[1], complementary packages don't pull in
recommendations, just depends.  However, ptest.bbclass has a recommends
on ptest-runner, so if ptest packages are in an image via the ptest-pkgs
IMAGE_FEATURE, ptest-runner doesn't get installed.

[ YOCTO #14928 ]

[1] oe-core b44b0b9294675f89aa51ff84f532664f4c479677

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinstall-buildtools: support buildtools-make-tarball and update to 4.1
Paul Eggleton [Fri, 7 Oct 2022 11:31:56 +0000 (04:31 -0700)] 
install-buildtools: support buildtools-make-tarball and update to 4.1

Support installing buildtools-make-tarball that is built in version 4.1
and later for build hosts with a broken make version. Also update the
default version values to 4.1.

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Fri, 30 Sep 2022 09:39:13 +0000 (10:39 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: Fix reproducibility failures
Richard Purdie [Fri, 30 Sep 2022 09:16:23 +0000 (10:16 +0100)] 
go: Fix reproducibility failures

We're seeing "cmd" static libs being sometimes present and sometimes not.
The issue depends whether BUILD == TARGET so they're present for qemux86-64
on x86-64 hosts but not for qemux86-64 on an aarch64 system.

Add an extra deletion to make the files consistent between the different
hosts.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 29 Sep 2022 20:57:48 +0000 (21:57 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolayer.conf: Update to use langdale as the core layer name
Richard Purdie [Thu, 29 Sep 2022 20:52:56 +0000 (21:52 +0100)] 
layer.conf: Update to use langdale as the core layer name

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils: another way to clear GPROFNG_ALTS for clang and musl
Kai Kang [Thu, 29 Sep 2022 08:05:36 +0000 (16:05 +0800)] 
binutils: another way to clear GPROFNG_ALTS for clang and musl

It disables gprofng for toolchain clang and libc musl, so GPROFNG_ALTS
should be cleared for them. But override 'toolchain-clang' is applied
before overrides 'TRANSLATED_TARGET_ARCH' such as x86-64, then
GPROFNG_ALTS is still set and not cleared.

Apply overrides 'toolchain-clang' and 'libc-musl' for GPROFNGS rather
than GPROFNG_ALTS to make it work as expected.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotzdata: update to 2022d
Alexander Kanavin [Wed, 28 Sep 2022 21:00:32 +0000 (23:00 +0200)] 
tzdata: update to 2022d

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorpm: update 4.18.0-rc1 -> 4.18.0-release
Alexander Kanavin [Wed, 28 Sep 2022 13:38:33 +0000 (15:38 +0200)] 
rpm: update 4.18.0-rc1 -> 4.18.0-release

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: set the default target arch
Daniel McGregor [Wed, 28 Sep 2022 22:13:19 +0000 (16:13 -0600)] 
gcc: set the default target arch

The default x86-64 architecture for target gcc (ie, the one in poky
build appliances) is native. Since we have a variety of build systems
it will occasionally produce instructions that don't work on all of
our development system.

Instead, set gcc's default architecture to the one specified in
TUNE_CC_ARCH, that guarantees that gcc-runtime and any binaries
produced are compatible with the target machine type.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocoreutils: add openssl PACKAGECONFIG
Daniel McGregor [Wed, 28 Sep 2022 22:13:18 +0000 (16:13 -0600)] 
coreutils: add openssl PACKAGECONFIG

coreutils-native will pick up openssl on the host if it's GPL
compatible (version >= 3), which causes uninative failures with hosts
that don't have openssl3.

Add a PACKAGECONFIG entry for openssl so it can be enabled, but isn't
by default.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc-locale: explicitly remove empty dirs in ${libdir}
Denys Dmytriyenko [Wed, 28 Sep 2022 22:06:45 +0000 (22:06 +0000)] 
glibc-locale: explicitly remove empty dirs in ${libdir}

glibc-locale defaults to ENABLE_BINARY_LOCALE_GENERATION ?= "0", but gets
changed to "1" in the default-distrovars.inc

When it is explicitly set back to "0", it fails with this error:

ERROR: glibc-locale-2.36-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package:
  /usr/lib/locale
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
glibc-locale: 1 installed and not shipped files. [installed-vs-shipped]
ERROR: glibc-locale-2.36-r0 do_package: Fatal QA errors were found, failing task.

There's a code to remove empty dirs in ${libdir}, but it's keyed off of
PACKAGE_NO_GCONV to clean up $[libdir]/gconv, just extend it to also cover
other empty dirs, including ${libdir}/locale.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexternalsrc: git submodule--helper list unsupported
John Edward Broadbent [Wed, 28 Sep 2022 18:58:49 +0000 (11:58 -0700)] 
externalsrc: git submodule--helper list unsupported

Git has removed support for "git submodule--helper list".
https://github.com/git/git/commit/31955475d1c283120d5d84247eb3fd55d9f5fdd9

This change provides an alternate method for gathering the submodules
information.

Tested:
Build recipes with and without submodules

Signed-off-by: Carson Labrado <clabrado@google.com>
Signed-off-by: John Edward Broadbent <jebr@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodropbear: Add enable-x11-forwarding PACKAGECONFIG option
Daniel Gomez [Tue, 27 Sep 2022 17:36:51 +0000 (19:36 +0200)] 
dropbear: Add enable-x11-forwarding PACKAGECONFIG option

Add the option to enable X11 forwarding in dropbear with a new
PACKAGECONFIG option ('enable-x11-forwarding'). Method uses
localoption.h file for dropbear feature selection.

Add backport patch to fix X11 forwarding in the current 2022.82
version.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agouseradd-example: do not use unsupported clear text password
Chen Qi [Wed, 28 Sep 2022 08:44:48 +0000 (01:44 -0700)] 
useradd-example: do not use unsupported clear text password

The clear text password support has been dropped. So let's just
use a normal ecrypted one. The password remains to be 'user3'.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>