Commit Graph

73676 Commits

Author SHA1 Message Date
Wang Mingyu
b68c39158d libva: upgrade 2.19.0 -> 2.20.0
Changelog:
============
* va: drop no longer applicable vaGetDriverNames check
* va: remove unreachable "DRIVER BUG"
* x11/dri2: limit the array handling to avoid out of range access
* va/backend: document the vaGetDriver* APIs
* va/backend: annotate vafool as deprecated
* win32: remove duplicate adapter_luid entry
* va: Added Q416 fourcc (three-plane 16-bit YUV 4:4:4)
* trace: fix minor issue about printf data type and value range
* jpeg: add support for crop and partial decode
* trace: Unlock mutex before return
* trace: Add trace for vaExportSurfaceHandle
* av1: Revise offsets comments for av1 encode
* va: Add new VADecodeErrorType to indicate the reset happended in the driver.
* drm: limit the array size to avoid out of range
* va: fix:set driver number to be zero if vaGetDriverNames failed
* va: fix:don't leak driver names, when override is set
* win32: Only print win32 driver messages in DEBUG builds
* va: Add vendor string on va_TraceInitialize
* va: remove legacy code paths
* drm: remove no longer used helpers
* x11: remove legacy code paths
* x11: allow disabling DRI3 via LIBVA_DRI3_DISABLE env var
* x11: implement vaGetDriverNames
* va/x11/va_nvctrl: remove some dead code
* va/x11/va_fglrx: remove some dead code
* va: optimize code of getting driver name for all protocols/os(wayland,x11,drm,win32,android)

(From OE-Core rev: 89ef2922394e916c85478cca61a122c511b517f2)

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>
2023-10-19 13:38:57 +01:00
Wang Mingyu
8e1f53b98e ltp: upgrade 20230516 -> 20230929
Changelog:
============
-New tests
-Increased coverage
-ebizzy benchmark counter increment races and overflows were fixed
-A few more testcases were converted to guarded buffers
 that is data passed by pointer to kernel are immediatelly
 following a PROT_NONE page and followed by canaries
 to catch off-by-one errors
-Tests that modprobe kernel modules are now skipped when secure boot is
 enabled on x86 and ppc64le
-ioprio tests now use IOPRIO_PRIO_NUM instead of hardcoded value
 to check for prio range
-35 testcases were converted to the new test library
-The usual amount of fixes and cleanups

(From OE-Core rev: 4f19f8b0305ecf17964b73b7fd65b0b91d56a39c)

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>
2023-10-19 13:38:57 +01:00
Wang Mingyu
d915add833 libubootenv: upgrade 0.3.4 -> 0.3.5
Changelog:
==========
Fix slowness on SPI flash
Fixes validating Env flags
Feature: get U-Boot namespace from DT
Feature: specify UBI volumes from MTD path

(From OE-Core rev: c104259333e976de0cf6fd7bea2fece1b683dbbe)

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>
2023-10-19 13:38:57 +01:00
Wang Mingyu
70a0a3913e libsdl2: upgrade 2.28.3 -> 2.28.4
(From OE-Core rev: f47de111cd66c3f9a5a6d5589e1fd034027a0a75)

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>
2023-10-19 13:38:57 +01:00
Wang Mingyu
2c6a1cd707 libcomps: upgrade 0.1.19 -> 0.1.20
0001-libcomps-Use-Py_hash_t-instead-of-long-in-PyCOMPS_ha.patch
removed since it's included in 0.1.20

(From OE-Core rev: 12316f4746352495c89e2f9808a2180d582ba29e)

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>
2023-10-19 13:38:57 +01:00
Wang Mingyu
b044cf8840 kmod: upgrade 30 -> 31
Changelog:
===========
- Improvements

  - Allow passing a path to modprobe so the module is loaded from
    anywhere from the filesystem, but still handling the module
    dependencies recorded in the indexes.
  - Use in-kernel decompression if available.
  - Make modprobe fallback to syslog when stderr is not available, as was
    documented in the man page, but not implemented
  - Better explaing `modprobe -r` and how it differentiates from rmmod
  - depmod learned a `-o <dir>` option to allow using a separate output
    directory.
  - Add compat with glibc >= 2.32.9000 that dropped __xstat
  - Improve testsuite to stop skipping tests when sysconfdir is something
    other than /etc
  - Build system improvements and updates
  - Change a few return codes from -ENOENT to -ENODATA to avoid confusing output
    in depmod when the module itself lacks a particular ELF section due to e.g.
    CONFIG_MODVERSIONS=n in the kernel.

- Bug Fixes

  - Fix testsuite using uninitialized memory when testing module removal
    with --wait
  - Fix testsuite not correctly overriding the stat syscall on 32-bit
    platforms. For most architectures this was harmless, but for MIPS it
    was causing some tests to fail.
  - Fix handling unknown signature algorithm
  - Fix linking with a static liblzma, libzstd or zlib
  - Fix memory leak when removing module holders
  - Fix out-of-bounds access when using very long paths as argument to rmmod
  - Fix warnings reported by UBSan

(From OE-Core rev: 15baf1183c1551ec7204abc679bd973ffb39770f)

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>
2023-10-19 13:38:57 +01:00
Wang Mingyu
e408f24991 ell: upgrade 0.58 -> 0.59
Changelog:
 Fix issue with symbol visibility.

(From OE-Core rev: 14eba663b56f8f3b9c3aff5661cbe2aa7befe86e)

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>
2023-10-19 13:38:57 +01:00
Wang Mingyu
88bc5439bd dhcpcd: upgrade 10.0.2 -> 10.0.3
0001-privsep-fix-strlcpy-overflow-in-psp_ifname-239.patch
removed since it's included in 10.0.3

Changelog:
===========
Do not crash on dhcpcd test run
Add automated CI builds for Ubuntu, OpenBSD, FreeBSD and NetBSD
dhcpcd: Fix off-by-one overflow when read() writes full BUFSIZ
privsep: fix strlcpy overflow in psp_ifname
ci: execute tests after successful build
compat: update arc4random() to newer chacha20 based version from OpenBSD
Support libcrypto for hmac and sha256
Use a local variable instead of the optind
Send correct amount of used buffer for prefix exclude option
compat: use OpenSSL RAND_priv_bytes() for entropy

(From OE-Core rev: fcb9ac0f1c6cac0841d7b7a29b7180c4c580920f)

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>
2023-10-19 13:38:57 +01:00
Wang Mingyu
a9b6c951bc createrepo-c: upgrade 1.0.0 -> 1.0.1
0001-Move-cr_compress_groupfile-outside-WITH_LIBMODULEMD.patch
removed since it's included in 1.0.1.

(From OE-Core rev: 531b32892e3e4bfa43a8809c36432a86fe93e69b)

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>
2023-10-19 13:38:57 +01:00
Wang Mingyu
1e21429a49 btrfs-tools: upgrade 6.5.1 -> 6.5.2
(From OE-Core rev: 116895c05c78a60488b14516ea25f8c27d2ece7e)

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>
2023-10-19 13:38:57 +01:00
Wang Mingyu
4cdae91dd2 bluez5: upgrade 5.69 -> 5.70
(From OE-Core rev: b051bf5e7706e36b40452cecb6b9149e9b364ef1)

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>
2023-10-19 13:38:57 +01:00
Mingli Yu
a0423422b9 openssh: Add sshd.service
For systems with a large amount of SSH traffic, it shoule be better to
run a single SSH server for all incoming connections.

And both sshd.socket and sshd.service are deployed on other distros
like ubuntu, fedora and etc.

So add sshd.service to make it possible to run a standalone SSH server.

(From OE-Core rev: 3ecebc70f957e53e3dcf1cc835ff359115db6e56)

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>
2023-10-19 13:38:57 +01:00
Sean Nyekjaer
96310a5867 oeqa/sdk/rust: Add build and run test of rust binary with SDK host
Add a QA test to the SDK to test that a basic cargo build works for the
SDK host.

(From OE-Core rev: 7f05760debd3aeb69c3294f3ceb92d4f1aceec1f)

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:38:56 +01:00
Sean Nyekjaer
1a44c1ad59 rust-cross-canadian: set CARGO_TARGET_<triple>_RUNNER for nativesdk
This will enable us to build and run rust programs on the sdk host.

% cargo run --target x86_64-oesdk-linux-gnu -vv
       Fresh hello v0.1.0 (~/development/hello)
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s
     Running `/usr/local/sdk/sysroots/x86_64-oesdk-linux/lib/ld-linux-x86-64.so.2 target/x86_64-oesdk-linux-gnu/debug/hello`
Hello, world

(From OE-Core rev: 0dc848e0b560947f93a780f4bf7b6d1926a570eb)

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:38:56 +01:00
Sean Nyekjaer
791468b7ab rust-cross-canadian: set CARGO_TARGET_<triple>_RUSTFLAGS
Avoid setting sdk-wide RUSTFLAGS as these flags only are valid when
building for target.
This will enable building for different targets with different
RUSTFLAGS.

(From OE-Core rev: 25627606aadacae3a2ab805a6098c81fed154b27)

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:38:56 +01:00
William Lyu
b509feb17b perl: fix intermittent test failure
Fixes [YOCTO #15136]

This fix addresses the intermittent failure of the Perl ptest
t/op/sigsystem.t.

(From OE-Core rev: 8c1ee92efa107ed055f1737640a027fa89077494)

Signed-off-by: William Lyu <William.Lyu@windriver.com>
Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:38:56 +01:00
Jose Quaresma
f784681413 sstatesig: be more precise and show the full path in exceptions
Also remove the warning than doesn't make sense as the code will generate
an exception and bitbake will abort.

Before:
| WARNING: core-image-minimal-initramfs-1.0-r0 do_image_complete: KeyError in .
| Exception: Exception: KeyError: 'getpwuid(): uid not found: xxxxx'
| Path . is owned by uid xxxxx, gid yyy, which doesn't match any user/group on target. This may be due to host contamination.

After:
| Exception: Exception: KeyError: 'getpwuid(): uid not found: xxxxx'
| Path /build/tmp/work/intel_corei7_64-lmp-linux/core-image-minimal-initramfs/1.0-r0/sstate-build-image_complete is owned by uid xxxxx, gid yyy, which doesn't match any user/group on target. This may be due to host contamination.

(From OE-Core rev: 90f84e345950a02bf91f823cc9c6d893e7cd1100)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:38:56 +01:00
Joshua Watt
70eddc70f8 goarch: Move Go architecture mapping to a library
Other spaces uses the Go architecture definitions as their own (for
example, container arches are defined to be Go arches). To make it
easier for other places to use this mapping, move the code that does the
translation of OpenEmbedded arches to Go arches to a library.

(From OE-Core rev: 3e86f72fc2e1cc2e5ea4b4499722d736941167ce)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:26:05 +01:00
Fabio Estevam
80a8fa3bae packagegroup-core-tools-profile: Remove PROFILE_TOOLS_X
Since commit d085e70eee ("sysprof: move recipe to meta-oe")
PROFILE_TOOLS_X is always set to an empty string.

Remove PROFILE_TOOLS_X as it is no longer needed.

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From OE-Core rev: cf767f4f4aaaf7c568816675c1c811132a892e30)

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:26:05 +01:00
Alexander Kanavin
15b08b8234 scripts/bitbake-whatchanged: remove
This is not documented or tested, and indeed hasn't been producing useful reports
for some time.

The script works by redirecting STAMPS_DIR into a separate location,
then running bitbake -S none, then comparing the two sets of stamp
filenames with regexes:

 Match the stamp's filename
 group(1): PE_PV (may no PE)
 group(2): PR
 group(3): TASK
 group(4): HASH
stamp_re = re.compile("(?P<pv>.*)-(?P<pr>r\d+)\.(?P<task>do_\w+)\.(?P<hash>[^\.]*)")

Then there's some code that finds out what changed in the above between the two sets.

Messing about with STAMPS_DIR like that isn't supported, and will either do nothing,
or remove the original stamps. Also stamp filenames aren't really a 'public API'.

For finding out the changes between two builds, 'bitbake -s printdiff' is a supported
and tested option. It may be a bit too verbose, but that can be more easily fixed than
rewriting bitbake-whatchanged into a working state.

(From OE-Core rev: f8193978eb0944e693e6a5cfbf9035e104e489f0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:26:05 +01:00
BELHADJ SALEM Talel
62739c2e8f bitbake.conf: Drop DEPLOY_DIR_TAR
DEPLOY_DIR_TAR is never used since package_tar.bbclass is removed.

(From OE-Core rev: 7f3963834c60e407f4252084b1f8e004c10b7c25)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:26:05 +01:00
Ross Burton
35cb985840 man-db: remove inexplicable man_db.conf patch
The patch we're applying to man_db.conf claims that the variable
@config_file_basename@ will be replaced with the package name, and that
this breaks multilib systems as that causes conflicts.

However, this suggests that both man-db and lib32-man-db are being
installed which is pointless, and the variable expands to the basename
which is just man_db.conf.

(From OE-Core rev: 8d80cce2921346b60c11f5cba630b94103bf05f3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:26:05 +01:00
Ross Burton
9cf04cf897 man-db: add RRECOMMENDS on glibc-utils for iconv
Sometimes man will want to call iconv to convert character encodings, so
recommend glibc-utils on glibc systems for that binary.

(From OE-Core rev: 067c5e1e590fff557581b6bec94dcfd083d56fb1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:26:05 +01:00
Khem Raj
8159c17bdd python3-urllib3: Update to 2.0.6
Only changes in this release [1] fixes CVE-2023-43804 [2] on top of 2.0.5

[1] 644124ecd0
[2] https://github.com/advisories/GHSA-v845-jxx5-vc9f

(From OE-Core rev: 2a9ae3ca372075868c046d3a3ba2ba9b483e986d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:06:53 +01:00
Siddharth Doshi
a0a8cec56d vim: Upgrade 9.0.2009 -> 9.0.2048
This includes CVE fix for CVE-2023-5535.

(From OE-Core rev: 9292eb70a2a0871cf235e4df0257d7028f43a278)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 13:06:52 +01:00
Marta Rybczynska
0d30313680 SECURITY.md: add file
Add a SECURITY.md file with hints for security researchers and other
parties who might report potential security vulnerabilities.

(From OE-Core rev: 4895e1892a49417fc5a806bd02c1bbac01f37253)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-19 11:31:13 +01:00
Richard Purdie
f65f100bc5 build-appliance-image: Update to master head revision
(From OE-Core rev: 4f84537670020a8d902248479efa9f062089c0d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 22:58:07 +01:00
Richard Purdie
dc262335f9 poky.conf: Bump version for 4.3 nanbield release
(From meta-yocto rev: c9f0946b6fd35ab7cb0197599a489560d129daf2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 22:57:59 +01:00
Trevor Gamblin
104decd489 patchtest/selftest: fix command arguments
Changes to patchtest's command-line arguments to work with oe-core by
default do not match the selftest script's argument list. Explicitly use
the --testdir and --repodir flags in selftest so that it is compatible
them.

(From OE-Core rev: 6cd547b24896596d4e0fe57f26f553842c5560b5)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 22:53:30 +01:00
Trevor Gamblin
b5a87b5f98 patchtest: update SPDX identifiers
Replace full license headers with SPDX identifiers and adjust all
patchtest-related code to use GPL-2.0-only.

(From OE-Core rev: 9bea6b39074296bb8d8719a3300636e316f19d1b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 22:53:30 +01:00
Alexandre Belloni
8fa77bf2f1 strace: further clean up of ptest folders
Removing the out files removes about 350MB of data which helps staying
in the currently allocated ptest image space as we are hitting disk
space issues after enabling the parallelization of tests.

Fixes [Yocto #15220]

(From OE-Core rev: fc424293b22bd15b3b13d98f8eedda599709c930)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 22:51:33 +01:00
Alejandro Hernandez Samaniego
e1e50ebc4e qemuarmv5: Drop QB_DTB conditional for older kernels
The conditional for the DTB nomenclature hasnt changed
and the 4.7 kernel is old enough at this point, hence
this check has become unnecessary'

(From OE-Core rev: f5dee6290ca750519455e311e429951b8eb7301b)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Trevor Gamblin
26e3d58e71 patchtest: set default repo and testdir targets
Since patchtest is in oe-core, the Python os module's methods can be
used to retrieve the repository path and tests directory by default.
This reduces the number of mandatory arguments for invocation of
patchtest unless the user wants to use a custom test suite or test
patches against a different repo. The REPO and TESTDIR arguments are
likewise adjusted so that they are optional. Also, make it more obvious
what the --startdir flag is meant for on the command line by renaming it
to --testdir, and update the scripts/patchtest.README file to be
consistent with the new usage.

(From OE-Core rev: bae7421ece4806f5148f164293810b9fe75e0756)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Trevor Gamblin
6e53a778f1 patchtest: add scripts to oe-core
Add the following from the patchtest repo:

- patchtest: core patch testing tool
- patchtest-get-branch: determine the target branch of a patch
- patchtest-get-series: pull patch series from Patchwork
- patchtest-send-results: send test results to selected mailing list
- patchtest-setup-sharedir: create sharedir for use with patchtest guest
  mode
- patchtest.README: instructions for using patchtest based on the README
  in the original repository

Note that the patchtest script was modified slightly from the repo
version to retain compatibility with the oe-core changes.
patchtest-send-results and patchtest-setup-sharedir are also primarily
intended for automated testing in guest mode, but are added for
consistency.

(From OE-Core rev: cf318c3c05fc050b8c838c04f28797325c569c5c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Trevor Gamblin
9d137188ad patchtest: add supporting modules
Add modules that support core patchtest functionality to
meta/lib/patchtest. These include classes and functions for handling
repository and patch objects, parsing the patchtest CLI arguments, and
other utilities.

(From OE-Core rev: 499cdad7a16f6cc256837069c7add294132127a4)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Trevor Gamblin
790aa2096f patchtest/requirements.txt: update
Add git-pw and boto3 to the list of requirements for patchtest.

(From OE-Core rev: f88e295cb5034950e9a0899c1dc3ca685a30a176)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Yoann Congal
07546cc63f insane: unimplemented-ptest: ignore source file errors
In some cases, pathlib.Path.glob() might throw FileNotFoundError when
file/directory disappear while it is iterating over them.

This "warning" is not important enough to crash build in this case so
just take a bb.note of the problem and move on.

(From OE-Core rev: 85ddbb67f0f6f823cac0966db78e5b74c5a54c4c)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reported-by: Mark Hatle <mark.hatle@amd.com>
Closes: https://lists.openembedded.org/g/openembedded-core/message/189254
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Yoann Congal
11bab63ca8 insane: skip unimplemented-ptest on S=WORKDIR recipes
On S=WORKDIR recipes, the unimplemented-ptest check will scan the whole
WORKDIR and "see" disappearing file and directory.

(From OE-Core rev: 9a2d2f7c2b7236667a6d80355f73db4c27e6582e)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reported-by: Mark Hatle <mark.hatle@amd.com>
Closes: https://lists.openembedded.org/g/openembedded-core/message/189254
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Lee Chee Yang
1e94086808 qemu: ignore RHEL specific CVE-2023-2680
(From OE-Core rev: 43b6d040979a766baa0fb2b1ff9125a94bb0152f)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Bruce Ashfield
34e1c00a2c linux-yocto/6.5: avoid serial port suspend issues
This is the integration of a workaround patch to avoid the serial
tx issues we are seeing on AB testing with the 6.5 kernel. Paul
Gortmaker located a 6.5 series commit that is causing tx to
intermittently stall to serial ports to stall under load.

    79a314e29b53 serial-core: disable power managment for serial tx

How to fix it properly with upstream is still and ongoing discussion.
We'll revisit and update this change once something lands in mainline.

The details of the commit are below:

    serial-core: disable power managment for serial tx

    1% of the time where the getty never appears on ttyS1 even after our
    timeout of 1000s.

    When this happens we've added code to login to the ttyS0 getty and run
    debug commands. We've been able to confirm the getty is running and the
    init system doesn't matter (happens with sysvinit and systemd). The
    most interesting debug I've seen is this:

    root@qemux86-64:~# cat /proc/tty/driver/serial
    serinfo:1.0 driver revision:
    0: uart:16550A port:000003F8 irq:4 tx:418 rx:43 RTS|CTS|DTR|DSR|CD
    1: uart:16550A port:000002F8 irq:3 tx:249 rx:0 RTS|CTS|DTR|DSR|CD
    2: uart:unknown port:000003E8 irq:4
    3: uart:unknown port:000002E8 irq:3
    root@qemux86-64:~# echo helloA > /dev/ttyS1
    root@qemux86-64:~# echo helloB > /dev/ttyS0
    helloB
    root@qemux86-64:~# cat /proc/tty/driver/serial
    serinfo:1.0 driver revision:
    0: uart:16550A port:000003F8 irq:4 tx:803 rx:121 RTS|CTS|DTR|DSR|CD
    1: uart:16550A port:000002F8 irq:3 tx:281 rx:0 RTS|CTS|DTR|DSR|CD
    2: uart:unknown port:000003E8 irq:4
    3: uart:unknown port:000002E8 irq:3

    This is being run after the getty didn't appear for 60s on ttyS1 so
    we've logged into ttyS0 and run these commands. We've seen that if it
    doesn't appear after 60s, it won't appear after 1000s either.

    The tx:249 is interesting as it should be tx:273, 273 being the number
    of bytes our successful serial getty prompt has. Once we echo something
    to the port (8 bytes), tx: jumps to 281, so it suddenly found our
    missing login prompt. This is confirmed with the data appearing on the
    port after the echo.

    I did try disabling the autosuspend code in the commit above but it
    made no difference. What does seem to help is changing the conditional
    the patch adds around start_tx() back to being under the original
    conditions. This is relatively harmless as it will just stop_tx() again
    if the xmit buffer is empty and this is a one off operation at probe
    time.
    The small overhead is much preferred to randomly failing tests.

    Discussions with upstream are being attempted:
    https://lore.kernel.org/linux-serial/c85ab969826989c27402711155ec086fd81574fb.camel@linuxfoundation.org/T/#t

(From OE-Core rev: 8715d72caa891cd29fd2198da5997d6e6b98fc98)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:34 +01:00
Chris Laplante
2460c1b3ec bitbake: codeparser: replace deprecated ast.Str and 's'
These have been deprecated since 3.8

(Bitbake rev: 5419a8473d6d4cd1d01537de68ad8d72cf5be0b2)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:33 +01:00
Alassane Yattara
e0e0a3f510 bitbake: Toaster: Fixed javascript issue on tests.browser.test_js_unit_tests
- Update /toastergui/static/js/projectpage.js to fix following
javascript issue that make fail test_js_unit_tests.
Uncaught TypeError: Cannot read properties of null (reading 'name')

Signed-off-by Alassane Yattara <alassane.yattara@savoirfairelinux.com>

(Bitbake rev: 87f5987e22b3d1c05b29a25ef354ecd63ac9e1df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:33 +01:00
Alassane Yattara
50d88674b2 bitbake: Toaster: Bug-fix failure on tests.browser.test_layerdetails_page
Call wait_until_visible before send_keys to be sure inputs is visible otherwise
we get followings error: selenium.common.exceptions.WebDriverException -> Message: element not interactable
Signed-off-by Alassane Yattara <alassane.yattara@savoirfairelinux.com>

(Bitbake rev: 8d671e50036acb0e65c90a07f757e066c0463113)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:33 +01:00
Alassane Yattara
7774bab05f bitbake: toaster: bug-fix on tests.browser.test_most_recent_builds_states
Fixed errors that make test_most_recent_builds_states failed.
Signed-off-by Alassane Yattara <alassane.yattara@savoirfairelinux.com>

(Bitbake rev: d34d1f58bd30b998ffaef2e91f02a26ca06c2745)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:33 +01:00
Marlon Rodriguez Garcia
480aeaff08 bitbake: toaster: fixed functional test
Updated functional test file to fix url access and added waiting time after click operations
to allow following elements to be available for tests, this will needed to be revisited
when autobuilder is ready

(Bitbake rev: fa30af75b3b7d37215f2615aa4b458525fce509e)

Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:33 +01:00
Marlon Rodriguez Garcia
06f2cf81f4 bitbake: toaster: update jquery version 2.0.3 -> 3.7.1
Updated jquery version from 2.0.3 to 3.7.1
https://blog.jquery.com/2023/08/28/jquery-3-7-1-released-reliable-table-row-dimensions/

(Bitbake rev: 8490844a0304ca2af2ee6c5700790121cccf0a13)

Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:33 +01:00
Marlon Rodriguez Garcia
ae269e191b bitbake: toaster: Update bootstrap version to 3.4.1
Update bootstrap version to 3.4.1 to fix incompatibility issues and security vulnerabilities
Files base, base_specific and js-unit-test were updated to match new versions of files

(Bitbake rev: 046bbe22f7144efa02fc33fec9c933c2e97e0ba7)

Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:31 +01:00
Marlon Rodriguez Garcia
5ed3a577cc bitbake: toaster: updated bootstrap version 3.3.6 -> 3.3.7
Updated bootstrap from version 3.3.6 to 3.3.7 to fix compatibility errors
https://github.com/twbs/bootstrap/issues/16834

(Bitbake rev: 5254e826877e416364f498f8d320b99970ea162d)

Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-17 11:41:28 +01:00
Quentin Schulz
f82ed3a207 recipes-rt: update README to match newer override syntax
The override syntax uses colon (':') instead of underscore ('_') since
Honister (3.4), so let's update the README to use that new syntax.

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

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-16 11:45:28 +01:00
Khem Raj
b46037db40 gcompat: Upgrade to 1.1.0 release
License-Update: Updated copyright years and contibutors [1]

Brings following changes
* b7bfe0b Update documentation for 1.1 release
* f0de9c6 CHANGELOG: Add pthread section
* 36f21a6 pthread: add pthread_mutexattr_[get|set]kind_np
* f23fb58 stdio: Hook fopen(3) to intercept /proc/self/exe
* 158f2b5 Update CHANGELOG for 1.1
* 4a4c840 fix path-searching for execvp
* 9dbbddc sysctl: Add __getauxval alias
* fbdd06c misc: add __libc_single_threaded
* f727ab7 locale: also override __newlocale/__duplocale
* 244110e random_r: fix null dereference when passed uninitialized buf

[1] b7bfe0b08c (0398ccd0f49298b10a3d76a47800d2ebecd49859)

(From OE-Core rev: 6f123655c71992d75746e662a6b757de4a57cce7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-16 11:32:34 +01:00