The ability to pass the target (i.e. oe-core) as an argument was a
testing mechanism and isn't needed when the tests are part of the repo,
so remove it and use os.path.dirname to get it instead.
Ross Burton [Wed, 13 Sep 2023 17:32:41 +0000 (18:32 +0100)]
testimage: respect target/server IPs when using slirp
We can't hardcode these IPs when using slirp.
The target IP will need a port to be specified as this controls what port
the SSH connection uses, and when slirp is used it can't bind to port
22. The qemu runner (OEQemuTarget) assumes that the first port forward
is the SSH forward, but this may be wrong or a different target may be
used.
The server IP depends on how the virtual networking is configured.
runqemu defaults to 10.0.2.x for the guests so that is a wise default,
but that may be configured differently.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:44:56 +0000 (17:44 +0800)]
wireless-regdb: upgrade 2023.05.03 -> 2023.09.01
Changelog:
==========
wireless-regdb: update regulatory database based on preceding changes
wireless-regdb: Update regulatory rules for Australia (AU) for June 2023
wireless-regdb: Update regulatory info for Türkiye (TR)
wireless-regdb: Update regulatory rules for Egypt (EG) from March 2022 guidel...
wireless-regdb: Update regulatory rules for Philippines (PH)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:43:49 +0000 (17:43 +0800)]
wayland-utils: upgrade 1.1.0 -> 1.2.0
0001-wayland-info-Fix-build-without-libdrm.patch
removed since it's included in 1.2.0
Changelog:
===========
-wayland-info: Fix spurious tab/space
-wayland-info: add drm-lease-v1 support
-meson: improve protocol generation
-wayland-info: Destroy zwp_linux_dmabuf_feedback_v1 proxy on exit
-wayland-info: Readd support for linux_dmabuf versions < 3
-wayland-info: Add a cmdline option for interface
-wayland-info: print DRM device paths
-build: turn on -Wundef
-wayland-info: move libdrm version constraint to dependency()
-wayland-info: include system headers with angle brackets
-wayland-info: Fix build without libdrm
-1build: reopen main for regular development
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:43:14 +0000 (17:43 +0800)]
stress-ng: upgrade 0.16.04 -> 0.16.05
Changelog:
===========
-stress-vnni: verify if selected method supports intrinsic in intrisinc mode
-Manual: Indent stressors to ease man page reading
-stress-ng: Fix text of license in stress-sleep.c
-stress-pty: don't treat EINTR as failure when tcdrain is interrupted
-core-asm-generic: reintroduce HAVE_ASM_NOP check
-Makefile: bump version
-Makefile: add missing core-time.h from headers
-Makefile: remove snap from make dist rule
-stress-touch: fix missing help args for --touch-method and --touch-opts
-stress-ng: fix missing arg for --timer-slack help
-stress-stream: fix --stream-index help, missing arg
-stress-ring-pipe: fix help, missing args for --ring-pipe-num and
---ring-pipe-size
-stress-mremap: fix type in mremap-mlock help
-stress-module: use settings names and variable names that match
-boolean args
-core-opts: module-no-modver and module-no-vermag are argless, fix these
-stress-ng: fix --max-fd help, needs arg N
-stress-dirmany: fix --dirmany-bytes option in help
-stress-cache: fix help for cacheline writeback should be --cache-clwb
-stress-affinity: add missing numeric arg in --affinity-sleep option
-help
-stress-llc-affinity: Fix spelling mistake "memiry" -> "memory"
-Makefile: restore verify-test-all to 5 secs per stressor
-stress-misaligned: double the timeout time for very heavily loaded
-systems
-stress-cpu-online: fix nixos build error, missing semicolon
-stress-kvm: skip stressor if /dev/kvm is already in use
-Makefile: ignore warning return values in regression tests
-stress-syscall: Add BSD rfork() system call
-README.md: add another kernel reference
-stress-mlock: only show munlock metrics if they are available
-core-opts: fix disabled --perf option
-Add map_shadow_stack to TODO list
-stress-enosys: add map_shadow_stack
-stress-dev: only use stress_dev_hid_linux if HAVE_LINUX_HIDRAW_H is
-defined
-stress-ng.h: define _RENTRANT for sun builds for threading
-test/test-builtin-bitreverse: don't use random() to remove OpenBSD warnings
-tests: don't use random() to remove OpenBSD warnings
-core-cpu-cache: cast uint32 values to uint64_t before multiply
-stress-sigbus: unconstify ptr8, clean up pedantic warnings:
-core-helper: stress_write_buffer: use void * for ptr rather than char *
-core-setting: fix const warning with pedantic builds
-core-sort: fix const warning with pedantic builds
-stress-icache: make function stress_icache_func static
-stress-zero.c: only declare mmap_counter and mmap_index for linux builds
-stress-softlockup: reduce scope of variables t and d
-stress-icache: reduce scope of variable val
-stress-fma: fix return type of stress_fma_rnd_float to float
-core-builtin: ensure shim_sqrtl returns long double
-stress-bad-ioctl: constify pointers
-stress-bad-ioctl: reduce scope of variables type, nr and ret
-stress-aiol: cast result of multiply to same type as offset
-core-cpu-cache: make cache_size match the same type as
-cpu->caches[i].size
-stress-af-alg: constify pointer ptr
-core-shim: shim_posix_fallocate: reduce scope of variable ret
-core-numa: stress_parse_node: constify pointer str
-core-affinity: stress_parse_cpu: constify pointer str
-core-setting: remove unused field uintptr_t from struct
-core-interrupts: change scope of pointer ptr
-stress-watchdog: re-work code to remove need for watchdog_close label
-Makefile: force vnni to be built with at least -O2
-stress-vnni: move scope of variable to inside loop
-stress-far-branch: clean false positive gcc warning by initializing ptr
-stress-bad-altstack: make variable rnd non-clobberable
-Add --interrupts option to enable interrupt accounting
-core-interrupts: parse /proc/interrupts once for all types
-README.md: add another paper citation
-README.md: add two more kernel issues found with stress-ng
-stress-enosys: add fchmodat2
-stress-syscall: add fchmodat2
-test-chmod: add fchmodat2 Linux 6.6 call and shim, add fchmodat shim
-core-opts.h: move PR_OPT option macros to core-opts.h
-core-opts: move gnu long options into core-opts.c
-stress-prctl: add build check for new prctl macros
-stress-prctl: exercise PR_RISCV_V_{GET|SET}_CONTROL
-stress-prctl: add PR_GET_AUXV
-README.md: add another kernel issue found using stress-ng
-stess-schedmix: reduce scope of variable policy and remove initialisation
-test/test-vfork.c: replace exit with _exit
-stress-jpeg: stress_rgb_compress_to_jpeg: ensure duration is
-initialized to zero
-stress-dev: add lseek + read on /dev/nvram, voidify some args to /dev/hid
-stress-dev: exercise linux /dev/hid ioctls
-stress-dev: exercise linux /dev/acpi_thermal_rel ioctls
-stress-ng.h: rename PR_* macros to OPT_FLAGS_PR_*
-core-thermal-zone.h: move perf related structs and defines to core-thermal-zone.h
-core-perf.h: move perf related structs and defines to core-perf.h
-stress-ng.h: remove unused typedef stress_func_t
-README.md: add Anisse Astier to contributors list
-Manual: rename AF_ALG stressor title
-stress-netdev: exercise invalid lengths in ifr_ifindex and ifc_len
-core-helper.h: move stress_align_stack into core-helper.h
-core-time: move function prototypes to core-time.h
-move stress_pagein_self definition to core-thrash.h
-core-helper.h: move stress_warn_once from stress-ng.h to core-helper.h
-stress-ng.h: remove unused legacy function declarations
-core-helper: move stress_sigchld_set_handler from stress-ng.c to core-helper.c
-include core-killpid.h for stress_killpid definition
-stress-ng.h: remove stress_killpid, it is in core-kill.h
-stress-ng.h: remove stress_clean_dir
-core-helper: move stress_clean_dir and helpers to core-helper.c
-core-helper: rename pr_* helper functions to stress_*
-Makefile: add core-shim.h to headers
-core-helper: move function prototypes and macros to core-helper.h
-core-shim: move function prototypes and typedefs to core-shim.h
-Remove snapcraft yaml file
-core-helper: provide non BSD no-op variants of getsysctl functions
-stress-sock: enable --sock-msgs option, set default from 1 to 1000 messages
-stress-sock: remove need to assign recvfunc pointer for every send
-Manual: clarify support for --vmstat option
-Manual: add --metrics RSS description
-stress-dccp: add --dccp-msgs option, set default from 16 to 10000 messages
-README.md: add some more citiations
-Manual: minor stressor description tweaks
-Manual: minor corrections
-Manual: re-adjust first option after each stressor heading using .TQ
-stress-ng: make --metrics brief dump just bogo-ops metrics, more metrics with --metrics option
-stress-null: add --null-write for write only null benchmarking
-core-shared-heap: move function prototypes to core-shared-heap.h
-core-processes: move function prototypes to core-processes.h
-core-sched: remove unused function stress_set_deadline_sched
-core-sched: move function prototypes to core-sched.h
-Makefile: add missing core-limit.h
-stress-ng.h: replace lock declarations with include of core-lock.h
-core-mwc: move function prototypes to core-mwc.h
-core-log: move function prototypes to core-log.h
-core-setting: move function prototypes to core-setting.h
-core-: add missing extern and missing inclusion of header in corec
-Add core-attribute.h and core-parse-opts.h
-core-out-of-memory: move function prototypes to core-out-of-memory.h
-core-lock: move function prototypes to core-lock.h
-core-limit: move function prototypes to core-limit.h
-core-job: move function prototypes to core-job.h
-core-vmstat: move function prototypes to core-vmstat.h
-core-try-open: move function prototypes to core-try-open.h
-core-numa: move function prototypes to core-numa.h
-core-mounts: move function prototypes to core-mounts.h
-Makefile: add two missing header files
-core-mmap: move function prototypes to core-mmap.h
-core-mlock: move function prototypes to core-mlock.h
-core-mincore: move function prototypes to core-mincore.h
-core-madvise: move function prototypes to core-madvise.h
-core-klog: move function prototypes to core-klog.h
-core-killpid: move function prototypes to core-killpid.h
-core-io-priority: move function prototypes to core-io-priority.h
-core-interrupts: move function prototypes to core-interrupts.h
-core-ignite-cpu: move function prototypes to core-ignite-cpu.h
-core-cpuidle: move stress_log_cpuidle_info to core-cpuidle.h
-core-affinity: move function prototypes to core-affinity.h
-stress-ng: stress_class_info_t: constify class
-stress-ng: stress_verifiable_mode: constify mode arg
-stress-ng: move stress_kill_stressors to remove need for forward declaration
-stress-ng: rename some variables, add some inlining
-stress-ng: rename classes to stress_classes
-stress-ng.h: minor clean-ups
-stress-ng.h: move some compiler specific #define's
-core-opts: move long option enum into core-opts.h
-stress-ng: fix spelling mistake in --oom-avoid message
-README.md: update list of contributors
-Manual: minor indention fixup for some hdd stressor options
-stress-ng.h: use STATX definitions for SHIM'd macros if they exist
-stress-ng.h: some minor #define and comment clean-ups
-stress-ng.h: remove old legacy HDD flags and fix starting bit for OPT_FLAGS_METRICS
-stress-ng.h: annotate the bit flags for the option flags
-stress-ng.h: remove g_caught_signal - it is no longer used
-stress-ng.h: remove g_opt_parallel from header, it's only used in stress-ng.c
-stress-ng.h: remove g_opt_sequential from header, it's only used in stress-ng.c
-stress-sem-sysv: skip stressor if semaphore can't be initialized early
-stress-zero: rate reduce the amount of mmap's in stressor loop
-stress-zero: add --zero-read option just to benchmark /dev/zero reads
-stress-dir: add directory renaming while exercising readdir
-stress-vecshuf: implement shuffle if __builtin_shuffle does not exist
-README.md: add two more research paper citations
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:42:40 +0000 (17:42 +0800)]
strace: upgrade 6.4 -> 6.5
Changelog:
===========
* Implemented decoding of cachestat and fchmodat2 syscalls.
* Implemented decoding of SO_PASSPIDFD and SO_PEERPIDFD socket options.
* Implemented decoding of SCM_PIDFD control messages.
* Implemented decoding of BPF_ENABLE_STATS, BPF_ITER_CREATE, BPF_LINK_DETACH,
and BPF_PROG_BIND_MAP bpf syscall commands.
* Updated decoding of BPF_OBJ_PIN and BPF_OBJ_GET bpf syscall commands.
* Updated lists of AT_*, BPF_*, IORING_*, KVM_*, MOVE_MOUNT_*, NFT_*, NT_*,
PR_*, and V4L2_* constants.
* Updated lists of ioctl commands from Linux 6.5.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:41:57 +0000 (17:41 +0800)]
python3-setuptools: upgrade 68.1.2 -> 68.2.1
Changelog:
===========
Features
----------
-Rework how setuptools internally handles dependencies/install_requires and
optional-dependencies/extras_require. (#3903)
-Improve the generated PKG-INFO files, by adding Requires-Dist fields.
-Improve atomicity when writing PKG-INFO files to avoid race conditions with
importlib.metadata. (#3904)
Bugfixes
----------
-Fix the name given to the *-nspkg.pth files in editable installs, ensuring
they are unique per distribution. (#4041)
-Workaround some limitations on pkg_resources-style legacy namespaces in the
meta path finder for editable installations. (#4041)
-Avoid using caching attributes in Distribution.metadata for requirements.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:41:06 +0000 (17:41 +0800)]
python3-pytest: upgrade 7.4.1 -> 7.4.2
Changelog:
==========
Bug Fixes
----------
-Fix doctest collection of functools.cached_property objects.
-Fixed bug using --importmode=importlib which would cause package __init__.py
files to be imported more than once in some cases.
-Fixed bug where user_properties where not being saved in the JUnit XML file
if a fixture failed during teardown.
-Fixed crash when parsing long command line arguments that might be interpreted
as files.
Improved Documentation
----------------------
-Improved disclaimer on pytest plugin reference page to better indicate this is
an automated, non-curated listing.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:40:33 +0000 (17:40 +0800)]
python3-pyelftools: upgrade 0.29 -> 0.30
Changelog:
===========
- Optimization: cache instantiation of DWARF structs (#435)
- DWARFv5 CU headers (#442)
- Bug fix in attribute reporting for DWA_FORM_indirect (#475)
- Support for RISC-V attributes (#459)
- Readelf used for testing upgraded to 2.41 (#489)
- Support for MIPS64 object files (#495)
- LoongArch support (#470, #483)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:39:52 +0000 (17:39 +0800)]
python3-hypothesis: upgrade 6.84.0 -> 6.84.3
Changelog:
===========
-This patch automatically disables the differing_executors health check for
methods which are also pytest parametrized tests, because those were mostly
false alarms (issue #3733).
-Building on recent releases, characters() now accepts _any_ codec=, not just
"utf-8" and "ascii".
-This includes standard codecs from the codecs module and their aliases,
platform specific and user-registered codecs if they are available, and
python-specific text encodings (but not text transforms or binary transforms).
-This patch by Reagan Lee makes st.text(...).filter(str.isidentifier) return
an efficient custom strategy (issue #3480).
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:39:09 +0000 (17:39 +0800)]
python3-git: upgrade 3.1.34 -> 3.1.35
Changelog:
============
-Fix Windows environment variable upcasing bug
-Added test for PR #1645 submodule path
-Tests fail due to security vulnerability fix in git 2.38.1 acknowledged
-3.1.30 & 3.1.31: failing tests acknowledged help wanted
-Only make config more permissive in tests that need it
-Fix CVE-2023-41040
-Fix 'Tree' object has no attribute '_name' when submodule path is normal path
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:38:13 +0000 (17:38 +0800)]
pkgconf: upgrade 2.0.2 -> 2.0.3
Changelog:
==========
* Fix some edge-cases with the new `--modversion` implementation
and add additional regression tests.
* Fix some format specifiers to use PRIu64 in debug tracing.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:35:46 +0000 (17:35 +0800)]
ccache: upgrade 4.8.2 -> 4.8.3
License-Update: Copyright year updated to 2021
Changelog:
===========
-Fixed various problems with parsing of MSVC response file (.rsp).
-Fixed handling of NVCC -Xcompiler and --Werror options.
-Fixed bookkeeping of files when hard linking or file cloning is enabled.
-Made a workaround for GCC 12.3 bug 109241 where GCC fails to compile ccache.
-Upgraded to xxHash 0.8.2, which fixes compilation of ccache with GCC 12 and -Og.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:32:43 +0000 (17:32 +0800)]
kexec-tools: upgrade 2.0.26 -> 2.0.27
Changelog:
============
arm64: Hook up the ZBOOT support as vmlinuz
arm64: Add ZBOOT PE containing compressed image support
kexec/zboot: Add arch independent zboot support
kexec: Introduce a member kernel_fd in kexec_info
kexec/arm64: Simplify the code for zImage
LoongArch: kdump: Set up kernel image segment
kexec: __NR_kexec_file_load is set to undefined on LoongArch
ppc64: Add elf-ppc64 file types/options and an arch specific flag to man page
x86: add devicetree support
kexec: make -a the default
ppc64: add --reuse-cmdline parameter support
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:30:32 +0000 (17:30 +0800)]
dnf: upgrade 4.16.1 -> 4.17.0
0001-dnf-write-the-log-lock-to-root.patch
refreshed for 4.17.0
Changelog:
===========
-crypto: Use libdnf crypto API instead of using GnuPG/GpgME
-Reprotect dnf, unprotect python3-dnf
-Block signals during RPM transaction processing
-Fix bash completion due to sqlite changes
-automatic: allow use of STARTTLS/TLS
-automatic: use email_port specified in config
-Document symbols in dnf history list output
-dnf-data: depend on /etc/dnf/dnf.conf, not libdnf5
-Update repo metadata cache pattern to include zstd
-typo in doc/command_ref.rst
-Add provide exception handling
-Support lists of KVP in kwargs when calling add_new_repo
-python3-dnf: Provide /usr/bin/dnf4 symlink to /usr/bin/dnf-3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:30:07 +0000 (17:30 +0800)]
debianutils: upgrade 5.8 -> 5.12
Changelog:
===========
* d/control:
- Add myself as maintainer and Niels Thykier as uploader
- Bump standards version from 4.6.0 to 4.6.2.
* d/prerm: Make script executable.
* d/postinst: Use 'set -e' in the body of the script.
* d/tests/smoke: Use 'set -e' in the body of the script.
* d/source/lintian-overrides: Ignore upstream metadata warning for Debian
native package.
* ischroot.c: Add missing newline in version output.
* ischroot.1: Fix to say detection is possible for exit status 0.
* postinst: Remove the bogus links that were created in 5.9 and 5.10
* On non-usrmerged systems, correct run-parts/tmpfile links
* ischroot: Do not claim it does not run as non-root
* Align the cron file regex with the documentation
* debian/postinst: add DPKG_ROOT prefix to paths in usrmerge()
* Partial translation of which(1) into hungarian
* Run autoreconf during the build
* Drop obsolete dpkg-gencontrol flag -isp
* Drop unnecessary CI config file
* Revert the package to be format 3.0 (native)
* Update /etc/shells micropolicy to recommend declarative use
* Correct manpage macros
* Update German manpage translation
* Update Portuguese manpage translation
* Modify post{inst,rm} in order to comply with UsrMerge
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:27:52 +0000 (17:27 +0800)]
at-spi2-core: upgrade 2.48.3 -> 2.48.4
Changelog:
=========
* Add atspi_get_version() to return the runtime version of the AT-SPI library.
* collection: Fix match testing for attributes.
* collection: Avoid locking up if an object has a very large child count
* Fix possible NULL pointer dereference when deregistering an event listener.
* Various fixes for the new key grabbing API.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Wed, 13 Sep 2023 09:27:30 +0000 (17:27 +0800)]
alsa-ucm-conf: upgrade 1.2.9 -> 1.2.10
Changelog:
===========
Fix symver build error on non-ELF platforms
doxygen: include docs for shmarea functions
doxygen: silence warning from asoundlib.h
doxygen: global: silence 'not documented' warnings
doxygen: Fix missing group end markers
configure: add AC_SYS_LARGEFILE
seq: Add UMP 1.1 features
seq: Add UMP support
ump: Add helpers to parse / set UMP packet data
control: Add UMP Endpoint and Block info query support
control: Add UMP device query support
ump: Add initial support
include: fix SND_DLSYM_BUILD_VERSION() for static build
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nfs-utils: Add StateDirectory for systemd services
Adds `StateDirectory=nfs` for the systemd service. This ensures that 1)
and .mount services required for /var/lib/nfs are started before these
services, and 2) that /var/lib/nfs exists before starting the services.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Tue, 12 Sep 2023 17:24:17 +0000 (18:24 +0100)]
gcc: Fix -fstack-protector issue on aarch64
This series of patches fixes deficiencies in GCC's -fstack-protector
implementation for AArch64 when using dynamically allocated stack space.
This is CVE-2023-4039. See:
Mikko Rapeli [Wed, 23 Aug 2023 06:10:24 +0000 (09:10 +0300)]
oeqa selftest runtime_test.py: append to TEST_RUNQEMUPARAMS
Don't overwrite TEST_RUNQEMUPARAMS since user may have added "slirp"
or similar things to it in site.conf, auto.conf or local.conf. Use
:append to add to it. Fixes failing tests when only "slirp" networking
works with qemu and tun based one is broken on the host machine.
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Mikko Rapeli [Wed, 23 Aug 2023 06:10:20 +0000 (09:10 +0300)]
oeqa dnf_runtime.py: fix HTTP server IP address and port
Use correct HTTPService parameters like apt.py when setting up the repo
server. These work with qemu tun and slirp networking. Fixes test
failure with slirp networking when executing testimage.bbclass
selftests "oe-selftest -r runtime_test.TestImage".
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
slirp networking means that only one TCP port is forwarded from host
system to the qemu machine so that ssh into the machine works. ping
and other low level networking from host to target machine do not work,
but networking from target via host does work. This is much more easy to
setup than the bridge networking used by default, which I've never
managed to get running on various host machines.
To use slirp networking wita qemu and core-image-minimal to run testimage.bbclass tests, add
these to local.conf:
Richard Purdie [Sun, 10 Sep 2023 08:24:08 +0000 (09:24 +0100)]
defaultsetup: Inherit create-spdx by default
This has been tested in poky by default for a while and ew've hopefully resolved
most of the gremlins. THis is the direction we're recommending for license/manifest
requirements so set it by default for OE.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Mon, 11 Sep 2023 08:37:45 +0000 (01:37 -0700)]
libxcrypt-compat: Remove libcrypt.so to fix conflict with libcrypt
Fixed:
IMAGE_INSTALL:append = " libxcrypt-compat"
$ bitbake <image> -cpopulate_sdk
file /usr/lib/libcrypt.so from install of libxcrypt-compat-dev-4.4.33-r0.0.aarch64 conflicts with file from package libcrypt-dev-4.4.33-r0.2.aarch64
Remove libcrypt.so like other files to fix the error.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 11 Sep 2023 10:26:14 +0000 (11:26 +0100)]
machine/qemu*: add modesetting drivers to XSERVER
The modesetting driver works well in qemu, so install it by default. The
plain framebuffer has been buggy in recent 6.4 kernels, a sign that it's
not getting much testing. The Xorg modesetting driver that can use more
powerful virtualised hardware is much better.
We override the default XSERVER because we want to pull in the GLX
extension to exercise that.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 11 Sep 2023 10:26:12 +0000 (11:26 +0100)]
packagegroup-core-x11-xserver: add modesetting driver to default XSERVER
On modern systems, both real and virtual hardware, the modesetting
driver is preferred over the dumb framebuffer driver as it is more
functional and is essentially the default Xorg video driver.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mikko Rapeli [Mon, 11 Sep 2023 13:39:50 +0000 (16:39 +0300)]
openssh: improve banner ptest failure logging
Log the input and output banner files. Output seems to
contain more lines than input which fails the test but
it's not clear what is in there from the ssh command
stderr. So print them out to dig deeper into the root
cause.
Upstream rejected previous logging patch so they will likely
do the same for this:
https://github.com/openssh/openssh-portable/pull/437
Richard Purdie [Mon, 11 Sep 2023 15:48:21 +0000 (16:48 +0100)]
bitbake.conf: Add IMAGE_BASENAME to SDK_NAME
When SPDX manifests are enabled for OE-Core, it hightlights that the SDK_NAME
default isn't working well. Add IMAGE_BASENAME to it to help avoid conflicts
between outut files.
I suspect the defaults aren't working well and most distros are already
overriding this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perl: Add packageconfig for setlocale functionality differences
setlocale behavior with 'missing' locales is different when using musl
[1] which confuses perl locale tests and perl thinks it has locale on
system while there are none. Therefore pass correct property on musl
regarding setlocale behaviour
When enabling the vnc feature as backend, the weston-remote-access is
installed from meson inside the /etc/pam.d directory.
Signed-off-by: Luan Rafael Carneiro <luan.rafael@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bug fix release for 12.0 version. Full commit history bellow:
Derek Foreman (1):
data-device: Don't make a weston_coord with no valid space
Leandro Ribeiro (3):
drm: drop disable_planes being false as a condition to support writeback
drm: do not pull writeback task if KMS atomic API is not supported
tests: assert that capture info was received before trying screenshot
Liu, Kai1 (1):
xwm: WM_TRANSIENT_FOR should not point to override-redirect window
Marius Vlad (3):
backend-drm: Make DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP inert
backend-drm/meson.build: Require at least mesa 21.1.1
build: bump to version 12.0.2 for the point release
Michael Olbrich (1):
backend-wayland: fix --fullscreen
Pekka Paalanen (1):
man: make --wait-for-debugger findable
Philipp Zabel (2):
backend-rdp: extract weston_output_set_single_mode()
backend-vnc: use weston_output_set_single_mode()
Signed-off-by: Luan Rafael Carneiro <luan.rafael@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otavio Salvador [Sat, 9 Sep 2023 12:54:59 +0000 (09:54 -0300)]
weston-init: fix init code indentation
Tested-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otavio Salvador [Sat, 9 Sep 2023 12:54:58 +0000 (09:54 -0300)]
weston-init: remove misleading comment about udev rule
The udev rule has been removed but the comment has kept, by
mistake. Remove it.
Fixes: dd83fb40f7 ("weston-init: Stop running weston as root") Tested-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 7 Sep 2023 11:57:36 +0000 (12:57 +0100)]
classes: Drop ';' delimiter from ROOTFS/IMAGE*COMMAND variables
Originally these were shell functions but they have long since been processed by
bb.build.exec_func(). Since we no longer need shell syntax, we can drop the ';'
delimiters and just use a space separated string.
This cleans up the variable and quietly removes any stray ';' that do happen to
still make it in.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integer Overflow vulnerability in mp_grow in libtom libtommath before
commit beba892bc0d4e4ded4d667ab1d2a94f4d75109a9, allows attackers to
execute arbitrary code and cause a denial of service (DoS).
build-sysroots: target or native sysroot population need to be selected explicitly
Running them in parallel is prone to races as postinsts from target sysroots
rely on executables from native sysroots which may or may not be fully prepared
yet. This was observed for example here:
runqemu: check permissions of available render nodes as well as their presence
qemu itself is not helpful when render nodes exist, but can't be opened:
qemu-system-x86_64: egl: render node init failed
To fix this, users likely need to
* modprobe vgem (presence when physical graphic card is absent or has a driver without
support for render nodes, such as many older cards found in server machines)
* add their user to "render" group to write to /dev/dri/renderD* (permissions)
With this change runqemu should print hints for the above as appropriate from probing the nodes.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Markus Volk [Thu, 7 Sep 2023 08:33:20 +0000 (10:33 +0200)]
mesa: add intel raytracing support to opencl build
Recently mesa added a patch that allows to cross-compile Intel Vulkan
ray tracing support.
- Backport this patch
- Build and install intel_clc for mesa-native
- Add a dependency on mesa-native to provide intel_clc for target build
- Add a dependency on python3-ply-native as needed to build intel-clc
- Automatically build Intel Vulkan ray tracing support if the opencl
packageconfig was added
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
nativesdk-intercept: Fix bad intercept chgrp/chown logic
Running either of these ends up corrupting the os.execv args.
If we run:
./scripts/nativesdk-intercept/chown -R foo:foo bar
The loop here ends up missing the conversion of foo:foo to root:root because
it sees sys.argv[0] and assumes that it's the user:group argument and that we
should convert that. We end up a os.execv(path, args) that have the following
args:
['root:root', '-R', 'foo:foo', 'bar']
As os.execv ignores args[0], we can just populate it with sys.argv[0] and then
loop through sys.argv[1:]. As both chgrp and chown would have either flags and
USER[:GROUP] next, this fixes the issue.
Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yuta Hayama [Tue, 5 Sep 2023 07:29:06 +0000 (16:29 +0900)]
linux/generate-cve-exclusions: fix mishandling of boundary values
affected_versions in kernel_cves.json does not mean "first affected version
to last affected version" but actually "first affected version to fixed
version". Therefore, the variable names, conditional expressions, and
CVE_STATUS descriptions should be fixed.
For example, when the script was run against v6.1, if affected_versions was
"xxx to 6.1", the output was "cpe-stable-backport: Backported in 6.1", but
this should be "fixed-version: Fixed from version 6.1".
Signed-off-by: Yuta Hayama <hayama@lineo.co.jp> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
These firmware files are downloaded over UART interface. The
helper_uart_3000000.bin needs to be downloaded before
uartuart8997_bt_v4.bin for 88w8997 chip to set download baudrate
to 3000000.
The above commit message is copied from the source commit message:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/nxp?id=1f82dd25c3ea59b6bed80ee685d860f0c5f19875
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Tue, 5 Sep 2023 16:40:42 +0000 (17:40 +0100)]
busybox: remove coreutils dependency in busybox-ptest
A dependency on coreutils was added to busybox-ptest in oe-core 658c5ed
to fix a test failure.
The failure is because one of the start-stop-daemon tests is known to
fail if /bin/false is busybox. Instead of failing, we can check if
/bin/false is a symlink to busybox and skip the test if so.
[ YOCTO #15068 ]
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>
Ross Burton [Tue, 5 Sep 2023 10:54:20 +0000 (11:54 +0100)]
cve-exclusion: review the last of the historical kernel CVEs
Review the last of the historical kernel CVEs. Issues which are
specific to other platforms or distributions are ignored in the kernel
recipe itself, whereas general security concerns like "ICMP leaks
information" and "USB has flaws" are ignored with more details in the
extra-exclusions file as before.
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>
Mikko Rapeli [Wed, 23 Aug 2023 06:10:23 +0000 (09:10 +0300)]
oeqa selftest context.py: fix git commands and set branch name
Check return values of each git command and set initial branch name
to avoid this warning on every test run:
NOTE: Starting bitbake server...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Ross Burton [Wed, 6 Sep 2023 18:14:16 +0000 (19:14 +0100)]
harfbuzz: update PACKAGECONFIG
Add a chafa PACKAGECONFIG so that we explicitly disable it, and update
the graphite PACKAGECONFIG to use the graphite2 option as the old name is
deprecated.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>