]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 years agopatchtest-send-results: check max line length, simplify responses
Trevor Gamblin [Wed, 25 Oct 2023 14:47:39 +0000 (10:47 -0400)] 
patchtest-send-results: check max line length, simplify responses

Check that the maximum line length of the testresult file is less than
220 characters, to help guard against malicious changes being sent in
email responses. If any line exceeds this length, replace the normal
testresults used in the response with a line stating that tests failed,
but the results could not be processed. Also clean up the respone
substrings slightly to go along with the change.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoopenssl: Inherit riscv32 config from latomic config on linux
Khem Raj [Mon, 23 Oct 2023 20:24:24 +0000 (13:24 -0700)] 
openssl: Inherit riscv32 config from latomic config on linux

We still need this option for riscv32, the patch is also submitted
upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoperf: lift TARGET_CC_ARCH modification out of security_flags.inc
Rasmus Villemoes [Mon, 23 Oct 2023 07:03:30 +0000 (09:03 +0200)] 
perf: lift TARGET_CC_ARCH modification out of security_flags.inc

Building perf without security_flags.inc being included in one's
distro results in the buildpaths warning

WARNING: perf-1.0-r9 do_package_qa: QA Issue: File /usr/bin/trace in
package perf contains reference to TMPDIR

because the ${DEBUG_PREFIX_MAP} does not get used. Most recipes get
that from CFLAGS, but the perf recipe explicitly unsets that.

Now ${SELECTED_OPTIMIZATION} of course contains more than just
${DEBUG_FLAGS}/${DEBUG_PREFIX_MAP}. For most TUs, perf's build system
adds its own optimization flags (-O6 for odd reasons), so for those
including the -O2 or -Og doesn't change anything. But looking at the
.o.cmd files show that there are some TUs which currently get built
without any -O flag. So for those adding the distro's
SELECTED_OPTIMIZATION seem to be the right thing to do.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest: disable merge test
Trevor Gamblin [Tue, 24 Oct 2023 18:40:08 +0000 (14:40 -0400)] 
patchtest: disable merge test

Disable the merge-on-head test until patchtest properly handles merging
of series subsets and accounts for patches that are rapidly merged (i.e.
before patchtest is run).

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest-send-results: improve subject line
Trevor Gamblin [Tue, 24 Oct 2023 13:14:48 +0000 (09:14 -0400)] 
patchtest-send-results: improve subject line

Pull the actual email's subject line from the .mbox file and use that in
patchtest's test results response, so that it's clearer which patch it
is replying to.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto: update CVE exclusions
Ross Burton [Mon, 23 Oct 2023 14:05:53 +0000 (15:05 +0100)] 
linux-yocto: update CVE exclusions

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoscripts/yocto_testresults_query: add option to change display limit
Alexis Lothoré [Sun, 22 Oct 2023 17:49:38 +0000 (19:49 +0200)] 
scripts/yocto_testresults_query: add option to change display limit

Add a "-l"/"--limit" option to allow changing the display limit in
resulttool.
- If no value is passed, resulttool uses its default value.
- If 0 is passed, the display limit is removed and every regression will be
  displayed
- If a custom value is passed, this value overrides the vlaue configured in
  resulttool

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoscripts/resulttool: make additional info more compact
Alexis Lothoré [Sun, 22 Oct 2023 17:49:37 +0000 (19:49 +0200)] 
scripts/resulttool: make additional info more compact

Since "matched" and "improved" tests are not as important as regressions,
reduce the place they take in the regression report:

- merge "matched" and "improved" tests, while removing the label
- add a single line of additional info per pair

Those changes make the "Matches and improvements" look like the following
sample:

oeselftest_almalinux-9.2_qemux86-64_20230910083156
oeselftest_almalinux-8.8_qemux86-64_20231018010951
    -> +7 test(s) present

oeselftest_almalinux-9.2_qemux86-64_20230911010538
oeselftest_debian-11_qemux86-64_20231017150459

oeselftest_debian-11_qemux86-64_20230910012927
oeselftest_debian-11_qemux86-64_20231017151319
    -> +7 test(s) present
[...]

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoscripts/resulttool: rearrange regressions report order
Alexis Lothoré [Sun, 22 Oct 2023 17:49:36 +0000 (19:49 +0200)] 
scripts/resulttool: rearrange regressions report order

Regressions reports currently reports matching pairs and improved pairs
first, then regressions.

Change order to print regressions first, which is the most valuable info in
the report, and then print improvements and matches at the bottom.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoscripts/resulttool: limit the number of changes displayed per test
Alexis Lothoré [Sun, 22 Oct 2023 17:49:35 +0000 (19:49 +0200)] 
scripts/resulttool: limit the number of changes displayed per test

Most of the changes list generated in regression reports fall in one
of the two following categories:
- there is only a few (<10) changes listed and the info is
  valuable/relevant
- the list is huge (> 100 ? 1000 ?) and basically tells us that the whole
  tests category suffers the same status (test missing, test failing, test
  skipped, etc)

Prevent those huge, worthless lists by limiting the output for each test
group:
- current default limit is arbitrarily set to 50
- limit can still be overriden with a new "-l"/"--limit" flag, either with
  custom value, or with 0 to print the whole lists of changes
- limit is applied per test family: currently it distinguishes only types
  of ptests, but it can be adapted to other kind of tests

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolighttpd: modernize lighttpd.conf
Glenn Strauss [Fri, 20 Oct 2023 13:30:26 +0000 (09:30 -0400)] 
lighttpd: modernize lighttpd.conf

- remove obsolete modules
- replace mod_compress directives with mod_deflate
- do not enable debug.log-request-handling by default
  (should not be enabled *by default* on any production system,
   especially not an embedded system)
- update TLS syntax for modern recommended use
  (separate files for certificate+chain, and private key)
- remove incorrect comment about server.event-handler
  lighttpd defaults correctly to use kqueue on *BSD systems
- remove ancient config which disables range requests for PDF
  (cargo-culted config from ~15 years ago to address problem
   in then-popular PDF client)
- use recommend config file include syntax
  (more efficient and more deterministic include file ordering)

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolighttpd: update init script
Glenn Strauss [Fri, 20 Oct 2023 13:30:25 +0000 (09:30 -0400)] 
lighttpd: update init script

- add configtest option
- add configtest before starting, restart, reload, force-reload
- change reload,force-reload to use lighttpd graceful restart
  via kill signal USR1

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolighttpd: upgrade 1.4.71 -> 1.4.72
Glenn Strauss [Fri, 20 Oct 2023 13:30:24 +0000 (09:30 -0400)] 
lighttpd: upgrade 1.4.71 -> 1.4.72

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoopenssl: Match target name for riscv64/riscv32
Khem Raj [Fri, 20 Oct 2023 18:56:31 +0000 (11:56 -0700)] 
openssl: Match target name for riscv64/riscv32

This is updated in openssl [1] [2] since opensssl 3.2 onwards

[1] https://github.com/openssl/openssl/commit/42ee6e7be43c57136d71e5612fed22a06f7f5d0e
[2] https://github.com/openssl/openssl/commit/c29554245ae107c87d71c8463eef0134391da318

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibsndfile1: fix CVE-2022-33065
Alex Stewart [Fri, 20 Oct 2023 17:19:22 +0000 (13:19 -0400)] 
libsndfile1: fix CVE-2022-33065

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopackage_qa_check_rdepends: Allow /usr/bin/sh if usrmerge
Jörg Sommer [Fri, 20 Oct 2023 07:48:41 +0000 (09:48 +0200)] 
package_qa_check_rdepends: Allow /usr/bin/sh if usrmerge

If the distro feature usrmerge is set, all files from /bin are moved to
/usr/bin, i.e. /usr/bin/sh is the same as /bin/sh and should be allowed be
ignored, because it's always present.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorunqemu: Add squashfs filesystem types
Logan Gunthorpe [Thu, 19 Oct 2023 21:05:15 +0000 (15:05 -0600)] 
runqemu: Add squashfs filesystem types

When using a squashfs filesystem type, runqemu requires specifying the
full path to the image because it doesn't list squashfs types in its
fstypes variable. Add them to provide the same support as other
filesystem types.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoshared-mime-info: Fix missing sentinel warning
Khem Raj [Thu, 19 Oct 2023 17:44:23 +0000 (10:44 -0700)] 
shared-mime-info: Fix missing sentinel warning

Clang finds it, gcc does not.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobb-matrix-plot.sh: Show underscores correctly in labels
Peter Kjellerstedt [Thu, 19 Oct 2023 16:04:37 +0000 (18:04 +0200)] 
bb-matrix-plot.sh: Show underscores correctly in labels

Underscores previously caused the next character in the label to be
printed using subscript due to the enhanced string support in gnuplot.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agokea: drop unused directory
Thomas Wolber [Thu, 19 Oct 2023 14:57:17 +0000 (16:57 +0200)] 
kea: drop unused directory

the usage of /var/kea was dropped in the 1.6 release (see
https://gitlab.isc.org/isc-projects/kea/-/issues/538 ).
Creating the directory fails on systems with read-only rootfs.

Signed-off-by: Thomas Wolber <Thomas.Wolber@bruker.com>
Signed-off-by: Vyacheslav Yurkov <vyacheslav.yurkov@bruker.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosystemd: add option to use stub-resolv.conf
Eero Aaltonen [Thu, 19 Oct 2023 11:11:52 +0000 (14:11 +0300)] 
systemd: add option to use stub-resolv.conf

Add option to use the stub-resolv.conf file, which is the systemd
upstream's recommended default mode
https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html#/etc/resolv.conf

This enables the resolution of Multicast DNS and Link-Local Multicast
Name Resolution names for programs that do not use Name Service Switch.

Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobase-files, systemd: add nss-resolve plugin
Eero Aaltonen [Thu, 19 Oct 2023 11:11:51 +0000 (14:11 +0300)] 
base-files, systemd: add nss-resolve plugin

Add nss-resolve plugin to the glibc Name Service Switch (NSS) with
systemd-resolved DISTRO_FEATURE so that systemd-resolved is used in DNS
name resolution.

This enables the resolution of Multicast DNS and Link-Local Multicast
Name Resolution names, depending on the selected options.

Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoqemuboot.bbclass: fix typos in documentation
Marcus Folkesson [Thu, 19 Oct 2023 08:52:50 +0000 (10:52 +0200)] 
qemuboot.bbclass: fix typos in documentation

comand -> command
docuemntation -> documentation

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agollvm: Upgrade to 17.0.3
Khem Raj [Thu, 19 Oct 2023 03:58:29 +0000 (20:58 -0700)] 
llvm: Upgrade to 17.0.3

Brings following fixes

888437e1b600 [asan] Ensure __asan_register_elf_globals is called in COMDAT asan.module_ctor (#67745)
2e00f4ca4e91 [clang-format][doc] Update the Linux kernel coding style URL
aeb83c3783a6 [clang-format] Fix a serious bug in git-clang-format (#65723)
268faa377aee [LSan] Mark create_thread_leak.cpp as UNSUPPORTED: darwin.
491a91e8eea2 [PowerPC] Use zext instead of anyext in custom and combine (#68784)
8ce6b65c89ad [PowerPC] Add test for #68783 (NFC)
7a23a5d43c67 [clang-format] Fix a bug in RemoveParentheses: ReturnStatement (#67911)
be4016e52779 [X86] Fix logic for optimizing movmsk(bitcast(shuffle(x))); PR67287
496b174053bd [X86] Add tests for incorrectly optimizing out shuffle used in `movmsk`; PR67287
f50c6382c716 [clang] [MinGW] Explicitly always pass the -fno-use-init-array (#68571)
d10b731adcc8 [LVI][CVP] Treat undef like a full range (#68190)
37b79e779f44 [X86] combineConcatVectorOps - only concatenate single-use subops
5a13ce2d6020 Bump version to 17.0.3
e7b3b94cf500 [clang] Correct behavior of `LLVM_UNREACHABLE_OPTIMIZE=OFF` for `Release` builds (#68284)
f0a687d821c1 [LLD] [COFF] Fix handling of comdat .drectve sections (#68116)
8a8ade49ff49 workflows/release-binaries: Use more cores to avoid the 6 hour timeout (#67874)
1090b91a2840 [AArch64] Disable loop alignment for Windows targets (#67894)
69c8c96691c7 [Sema] Use underlying type of scoped enum for -Wformat diagnostics (#67378)
b2417f51dbbd (tag: llvmorg-17.0.2) Fix release/export.sh to export runtimes tarball, too (#67404)
23988a1d82d5 [libc++] Fix `std::pair`'s  pair-like constructor's incorrect assumption (#66585)
33e14ecd6aac [CodeGen] Don't treat thread local globals as large data (#67764)
03f797b51df6 [workflow] Fix abi checker in llvm-tests. Same fix as in 99fb0af80d16b0ff886f032441392219e1cac452 (#67957)
f6cf58eed973 [clang] [MinGW] Tolerate mingw specific linker options during compilation (#67891)
b338a2830a2c [LLD] [COFF] Restore the current dir as the first entry in the search path (#67857)
6a5be8e95b43 [LLD] [COFF] Clarify -print-search-path for the empty string element (#67856)
71be0aafe357 [NFC] clang-format lld/COFF/Driver.cpp and lld/Common/Filesystem.cpp
0a2d7dae6ef2 [compiler-rt] Reinstate removal of CRT choice flags from CMAKE_*_FLAGS* (#67935)
098e653a5bed [MemCpyOpt] Merge alias metadatas when replacing arguments (#67539)
78d201ebc3e2 [MemCpyOpt] Add test for #67539 (NFC)
e718f3240a57 [DependencyScanningFilesystem] Make sure the local/shared cache filename lookups use only absolute paths (#66122)
45066b9fbc7b [Sema] Fix fixit cast printing inside macros (#66853)
87ec1f460d0e Work around two more instances of __noinline__ conflicts. (#66138)
9da5b7a93bca [lldb] Fix building LLDB standlone without framework
c056d720b534 [lldb][NFCI] Change logic to find clang resource dir in standalone builds
cb23434f9e63 [XCOFF] Do not generate the special .ref for zero-length sections (#66805)
1b55dc9d94c3 Fix buildbot failure caused by D157623
28d81a2bfa0a [lld][COFF] Remove incorrect flag from EHcont table
b7eba056b93c workflows/release-tasks: Setup FileCheck and not for release-lit (#66799)
9678f11b057c [StackColoring] Handle fixed object index
49e9ee190080 [StackColoring] Handle SEH catch object stack slots conservatively
17123a60b87c [X86] Add test for #66984 (NFC)
2839aa915066 [SimpleLoopUnswitch] Fix exponential unswitch
773f136d6faa [SimpleLoopUnswitch] Fix reversed branch during condition injection
4362f3e4cf48 [clang] Include `expected-no-diagnostics` in newly-added test (NFC)
5f1fcc43e592 [clang] Bail out when handling union access with virtual inheritance
178cf5bc8732 [clang][Diagnostics] Fix wrong line number display (#65238)
25a150b830f6 Revert "[InlineCost] Check for conflicting target attributes early"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopatchtest: fix lic_files_chksum test regex
Trevor Gamblin [Fri, 20 Oct 2023 14:42:02 +0000 (10:42 -0400)] 
patchtest: fix lic_files_chksum test regex

the test_lic_files_chksum_modified_not_mentioned test in patchtest
wasn't picking up on 'License-Update:' tags correctly. Use pyparsing's
AtLineStart class to simplify the regex setup and search.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoselftest/buildoptions: tag the download mirror test with 'yocto-mirrors'
Alexander Kanavin [Thu, 19 Oct 2023 11:25:42 +0000 (13:25 +0200)] 
selftest/buildoptions: tag the download mirror test with 'yocto-mirrors'

This will allow bundling all yocto mirror tests together, both for
the purposes of running only them specifically,
and excluding them from 'general' oe-selftest runs.

There is an upcoming test for sstate cache served over content
delivery network which will use the same tag, so it can be run
together with this.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest: skip merge test if not targeting master
Trevor Gamblin [Thu, 19 Oct 2023 21:03:32 +0000 (17:03 -0400)] 
patchtest: skip merge test if not targeting master

Avoid testing mergeability of a patch when not targeting master, so that
patches tested via other means (e.g. maintainer branches and AB runs)
don't get unnecessarily reviewed an extra time.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest: test regardless of mergeability
Trevor Gamblin [Thu, 19 Oct 2023 20:49:27 +0000 (16:49 -0400)] 
patchtest: test regardless of mergeability

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.5: serial: core: integrate upstream fixes
Bruce Ashfield [Thu, 19 Oct 2023 15:08:49 +0000 (11:08 -0400)] 
linux-yocto/6.5: serial: core: integrate upstream fixes

Integrating the following commit(s) to linux-yocto/6.5:

    14f83e409308 serial: core: test for -EINPROGRESS during tx power management validation
    1b5b735f311f serial: core: Fix checks for tx runtime PM state
    dee98a75d75c Revert "serial-core: disable power managment for serial tx"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.5: config: remove VIDEO_STK1160_COMMON
Bruce Ashfield [Thu, 19 Oct 2023 15:41:57 +0000 (11:41 -0400)] 
linux-yocto/6.5: config: remove VIDEO_STK1160_COMMON

Integrating the following commit(s) to linux-yocto/.:

    4531e74daf0 media/media-usb-tv.cfg: remove VIDEO_STK1160_COMMON

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest: sort when reading patches from a directory
Ross Burton [Thu, 19 Oct 2023 13:40:53 +0000 (14:40 +0100)] 
patchtest: sort when reading patches from a directory

When reading patches from a directory it's important to sort the output
of os.listdir(), as that returns the files in an effectively random
order.  We can't test the patches apply if they're applied in the wrong
order, and typically patch filenames are prefixed with a counter to
ensure the order is correct.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest: remove unused imports
Ross Burton [Thu, 19 Oct 2023 13:40:54 +0000 (14:40 +0100)] 
patchtest: remove unused imports

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest: check for untracked changes
Trevor Gamblin [Thu, 19 Oct 2023 13:47:10 +0000 (09:47 -0400)] 
patchtest: check for untracked changes

[YOCTO #15243]

Avoid overwriting local changes when running patchtest by checking for
anything unstaged or uncommitted in the target repo, and logging an
error if something is found. This will provide the user helpful feedback
if (for example) they forgot to commit a change for their patch under
test, and will leave the target repository in a reasonable state (rather
than a temporary branch created by patchtest).

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-firmware: create separate packages
Fahad Arslan [Wed, 18 Oct 2023 11:49:42 +0000 (16:49 +0500)] 
linux-firmware: create separate packages

This is in continuation of earlier commit:
3ddddfc14f805fe7572bba129605869fb848fed4
linux-firmware: create separate package for cirrus and cnm firmwares

And creates separate sub packages for firmwares corresponding to following list of
licenses:
LICENSE.amphion_vpu
LICENCE.cw1200
LICENSE.ice_enhanced
LICENCE.mediatek
LICENCE.microchip
LICENCE.moxa
LICENSE.nxp_mc_firmware
LICENCE.OLPC
LICENCE.phanfw
LICENCE.qla2xxx
LICENCE.ti-keystone
LICENCE.wl1251
LICENCE.xc4000
LICENCE.xc5000
LICENCE.xc5000c

Signed-off-by: Fahad Arslan <fahad.arslan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosystemd: add p11kit package config
Jose Quaresma [Wed, 18 Oct 2023 11:32:55 +0000 (12:32 +0100)] 
systemd: add p11kit package config

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosystemd: add cryptsetup-plugins package config
Jose Quaresma [Wed, 18 Oct 2023 11:32:54 +0000 (12:32 +0100)] 
systemd: add cryptsetup-plugins package config

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosystemd: add systemd-crypt package
Jose Quaresma [Wed, 18 Oct 2023 11:32:53 +0000 (12:32 +0100)] 
systemd: add systemd-crypt package

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosystemd: sort packages before pn
Jose Quaresma [Wed, 18 Oct 2023 11:32:52 +0000 (12:32 +0100)] 
systemd: sort packages before pn

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobase-files: Remove localhost ::1 from hosts if ipv6 missing
Jörg Sommer [Mon, 16 Oct 2023 10:31:23 +0000 (12:31 +0200)] 
base-files: Remove localhost ::1 from hosts if ipv6 missing

If a distribution doesn't provide IPv6, the mapping of localhost and ::1 has
to be removed.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibtirpc: Support ipv6 in DISTRO_FEATURES
Jörg Sommer [Mon, 16 Oct 2023 10:34:59 +0000 (12:34 +0200)] 
libtirpc: Support ipv6 in DISTRO_FEATURES

If the ipv6 feature for the distribution is not set, the package should not
contain settings for ipv6. This makes rpcbind doesn't try to bind to a IPv6
socket, and complain that this fails.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agostress-ng: upgrade 0.16.05 -> 0.17.00
Wang Mingyu [Mon, 16 Oct 2023 08:49:24 +0000 (16:49 +0800)] 
stress-ng: upgrade 0.16.05 -> 0.17.00

Changelog:
============
remove redundant assignment to variable handler_set
remove some empty lines
move child stressor invoking code into stress_run_child
use stressor array size as limit for stressor loops

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agosqlite3: upgrade 3.43.1 -> 3.43.2
Wang Mingyu [Mon, 16 Oct 2023 08:47:07 +0000 (16:47 +0800)] 
sqlite3: upgrade 3.43.1 -> 3.43.2

Changelog:
============
-Add support for Contentless-Delete FTS5 Indexes.
-Enhancements to the date and time functions:
-Added the octet_length(X) SQL function.
-Added the sqlite3_stmt_explain() API.
-Query planner enhancements:
-Enhancements to the decimal extension:
-If X is a floating-point value, then the decimal(X) function now does a full
 expansion of that value into its exact decimal equivalent.
-Performance enhancements to JSON processing results in a 2x performance
 improvement for some kinds of processing on large JSON strings.
-New makefile target "verify-source" checks to ensure that there are no
 unintentional changes in the source tree.
-Added the SQLITE_USE_SEH compile-time option that enables Structured Exception
 Handling on Windows while working with the memory-mapped shm file that is part
 of WAL mode processing. This option is enabled by default when building on
 Windows using Makefile.msc.
-The VFS for unix now assumes that the nanosleep() system call is available
 unless compiled with -DHAVE_NANOSLEEP=0.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoshared-mime-info: upgrade 2.2 -> 2.3
Wang Mingyu [Mon, 16 Oct 2023 08:34:40 +0000 (16:34 +0800)] 
shared-mime-info: upgrade 2.2 -> 2.3

Changelog:
============
* Make update-mime-database compatible with MSVC (by porting it to C++)
* Fix description for audio/x-xi
* ci: Use ci-templates to build image
* CI: Use dnf5 instead of dnf
* use Title Case for mime type description
* ci: Use detached pipelines
* Make application/pgp-* not inherit from text/plain
* Change descriptions to say LibreOffice rather than OpenOffice
* `audio/x-wav`: Add missing sub-class relationship with `application/x-riff`

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorepo: upgrade 2.36.1 -> 2.37
Wang Mingyu [Mon, 16 Oct 2023 08:32:31 +0000 (16:32 +0800)] 
repo: upgrade 2.36.1 -> 2.37

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-wcwidth: upgrade 0.2.6 -> 0.2.8
Wang Mingyu [Mon, 16 Oct 2023 08:31:18 +0000 (16:31 +0800)] 
python3-wcwidth: upgrade 0.2.6 -> 0.2.8

Changelog:
 Include requirements files in the source distibution

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoxkeyboard-config: upgrade 2.39 -> 2.40
Wang Mingyu [Mon, 16 Oct 2023 06:02:53 +0000 (14:02 +0800)] 
xkeyboard-config: upgrade 2.39 -> 2.40

License-Update: remove excess line end spaces

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobase-files: profile: allow profile.d to set EDITOR
Johannes Schneider [Fri, 13 Oct 2023 10:27:34 +0000 (10:27 +0000)] 
base-files: profile: allow profile.d to set EDITOR

With a profile.d configuration in place that sets the EDITOR variable,
the automatic terminal 'resize' logic would not trigger. Which then
would possibly lead to a 80x24 fallback on the debug serial console.

This can simply be avoided by setting a flag variable when the shell
is first opened, then processing all profile.d includes, trigger the
'resize' depending on the flag and shell-level and finally only set
EDITOR to some default if it is still unset.

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agopython3-ruamel-yaml: upgrade 0.17.32 -> 0.17.35
Wang Mingyu [Fri, 13 Oct 2023 09:10:17 +0000 (17:10 +0800)] 
python3-ruamel-yaml: upgrade 0.17.32 -> 0.17.35

Changelog:
==============
- support for loading dataclasses with 'InitVar' variables (some
  special coding was necessary to get the, unexecpected, default
  value in the corresponding instance attribute
  in [this question](https://stackoverflow.com/q/77228378/1307905))
- Python 3.12 also loads C version when using 'typ='safe''
- added 'flow_seq_start', 'flow_seq_end',
  'flow_seq_separator', 'flow_map_start',
  'flow_map_end', 'flow_map_separator'
  **class** attributes to the 'Emitter' class so flow
  style output can more easily be influenced

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agopython3-pycairo: upgrade 1.24.0 -> 1.25.0
Wang Mingyu [Fri, 13 Oct 2023 09:09:42 +0000 (17:09 +0800)] 
python3-pycairo: upgrade 1.24.0 -> 1.25.0

Changelog:
==========
Update to cairo 1.18.0 for the Windows wheel
Provide a Windows arm64 wheel

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agopython3-packaging: upgrade 23.1 -> 23.2
Wang Mingyu [Fri, 13 Oct 2023 09:07:41 +0000 (17:07 +0800)] 
python3-packaging: upgrade 23.1 -> 23.2

Changelog:
==========
-Document calendar-based versioning scheme
-Enforce that the entire marker string is parsed
-Requirement parsing no longer automatically validates the URL
-Canonicalize names for requirements comparison
-Introduce metadata.Metadata
-Introduce the validate keyword parameter to utils.validate_name()
-Introduce utils.is_normalized_name()
-Make utils.parse_sdist_filename() and utils.parse_wheel_filename() raise
 InvalidSdistFilename and InvalidWheelFilename, respectively, when the
 version component of the name is invalid

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agopython3-markdown: upgrade 3.4.4 -> 3.5
Wang Mingyu [Fri, 13 Oct 2023 09:07:11 +0000 (17:07 +0800)] 
python3-markdown: upgrade 3.4.4 -> 3.5

Changelog:
===========
Add permalink_leading configuration option to the toc extension (#1339)
Add support for cPython version 3.12 (and PyPy 3.10) and drop support for Python version 3.7 (#1357).
Refactor changelog to use the format defined at https://keepachangelog.com/.
Update the list of empty HTML tags (#1353).
Add customizable TOC title class to TOC extension (#1293).
Add API documentation of the code base which is generated by mkdocstrings (#1220).
Fix a corner case in admonitions where if an indented code block was provided as the first block, the output would be malformed (#1329).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agopython3-iso8601: upgrade 2.0.0 -> 2.1.0
Wang Mingyu [Fri, 13 Oct 2023 09:06:24 +0000 (17:06 +0800)] 
python3-iso8601: upgrade 2.0.0 -> 2.1.0

Changelog:
============
Fixed
------
Use ruff for linting
Fixed CHANGELOG version links

Added
------
Add readthedocs configuration

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agopython3-hypothesis: upgrade 6.86.2 -> 6.87.4
Wang Mingyu [Fri, 13 Oct 2023 09:05:34 +0000 (17:05 +0800)] 
python3-hypothesis: upgrade 6.86.2 -> 6.87.4

Changelog:
============
-When randoms() was called with use_true_randoms=False, calling sample on it
 with an empty sequence and 0 elements would result in an error, when it
 should have returned an empty sequence to agree with the normal behaviour of
 random.Random. This fixes that discrepancy.
-This patch ensures that the hypothesis codemod CLI will print a warning
 instead of stopping with an internal error if one of your files contains
 invalid syntax (issue #3759).
-This patch makes some small changes to our NumPy integration to ensure forward
 compatibility. Thanks to Mateusz Sokół for pull request #3761.
-Fixes issue #3755, where an internal condition turns out to be reachable after
 all.
-This release deprecates use of assume() and reject() outside of property-based
 tests, because these functions work by raising a special exceptioni.
 It also fixes some type annotations (issue #3753).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agopython3-cffi: upgrade 1.15.1 -> 1.16.0
Wang Mingyu [Fri, 13 Oct 2023 09:04:32 +0000 (17:04 +0800)] 
python3-cffi: upgrade 1.15.1 -> 1.16.0

Changelog:
===========
-Add support for Python 3.12.
-Drop support for end-of-life Python versions (2.7, 3.6, 3.7).
-Add support for PEP517 builds; setuptools is now a required build dependency.
-Declare python_requires metadata for Python 3.8+. This allows unsupported Pythons
 to continue using previously released sdists and wheels.
-Move project source under src/; a more standard layout that also enables CI to more easily
 catch packaging errors.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agopython3-beartype: upgrade 0.15.0 -> 0.16.2
Wang Mingyu [Fri, 13 Oct 2023 09:03:54 +0000 (17:03 +0800)] 
python3-beartype: upgrade 0.15.0 -> 0.16.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agopython3-babel: upgrade 2.12.1 -> 2.13.0
Wang Mingyu [Fri, 13 Oct 2023 09:03:15 +0000 (17:03 +0800)] 
python3-babel: upgrade 2.12.1 -> 2.13.0

Changelog:
===========
Features
--------
Add flag to ignore POT-Creation-Date for updates
Support 't' specifier in keywords
Add f-string parsing for Python 3.12 (PEP 701)

Fixes
-------
Various typing-related fixes
babel.messages.catalog: deduplicate _to_fuzzy_match_key logic

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agopython3-git: upgrade 3.1.36 -> 3.1.37
Wang Mingyu [Fri, 13 Oct 2023 09:02:00 +0000 (17:02 +0800)] 
python3-git: upgrade 3.1.36 -> 3.1.37

License-Update: remove excess whitespace

Changelog:
==========
-Improve Python version and OS compatibility, fixing deprecations
-Better document env_case test/fixture and cwd
-Remove spurious executable permissions
-Fix up checks in Makefile and make them portable
-Fix URLs that were redirecting to another license
-Assorted small fixes/improvements to root dir docs
-Use venv instead of virtualenv in test_installation
-Omit py_modules in setup
-Don't track code coverage temporary files
-Configure tox
-Format tests with black and auto-exclude untracked paths
-Upgrade and broaden flake8, fixing style problems and bugs
-Fix rollback bug in SymbolicReference.set_reference
-Remove @NoEffect annotations
-Add more checks for the validity of refnames

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agolibva: upgrade 2.19.0 -> 2.20.0
Wang Mingyu [Fri, 13 Oct 2023 09:01:25 +0000 (17:01 +0800)] 
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)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agoltp: upgrade 20230516 -> 20230929
Wang Mingyu [Fri, 13 Oct 2023 09:00:54 +0000 (17:00 +0800)] 
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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agolibubootenv: upgrade 0.3.4 -> 0.3.5
Wang Mingyu [Fri, 13 Oct 2023 08:59:47 +0000 (16:59 +0800)] 
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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agolibsdl2: upgrade 2.28.3 -> 2.28.4
Wang Mingyu [Fri, 13 Oct 2023 08:59:20 +0000 (16:59 +0800)] 
libsdl2: upgrade 2.28.3 -> 2.28.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agolibcomps: upgrade 0.1.19 -> 0.1.20
Wang Mingyu [Fri, 13 Oct 2023 08:58:56 +0000 (16:58 +0800)] 
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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agokmod: upgrade 30 -> 31
Wang Mingyu [Fri, 13 Oct 2023 08:58:12 +0000 (16:58 +0800)] 
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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agoell: upgrade 0.58 -> 0.59
Wang Mingyu [Fri, 13 Oct 2023 08:56:54 +0000 (16:56 +0800)] 
ell: upgrade 0.58 -> 0.59

Changelog:
 Fix issue with symbol visibility.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agodhcpcd: upgrade 10.0.2 -> 10.0.3
Wang Mingyu [Fri, 13 Oct 2023 08:56:31 +0000 (16:56 +0800)] 
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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agocreaterepo-c: upgrade 1.0.0 -> 1.0.1
Wang Mingyu [Fri, 13 Oct 2023 08:56:07 +0000 (16:56 +0800)] 
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.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agobtrfs-tools: upgrade 6.5.1 -> 6.5.2
Wang Mingyu [Fri, 13 Oct 2023 08:55:31 +0000 (16:55 +0800)] 
btrfs-tools: upgrade 6.5.1 -> 6.5.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agobluez5: upgrade 5.69 -> 5.70
Wang Mingyu [Fri, 13 Oct 2023 08:55:06 +0000 (16:55 +0800)] 
bluez5: upgrade 5.69 -> 5.70

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agoopenssh: Add sshd.service
Mingli Yu [Thu, 12 Oct 2023 06:10:14 +0000 (14:10 +0800)] 
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.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agooeqa/sdk/rust: Add build and run test of rust binary with SDK host
Sean Nyekjaer [Mon, 9 Oct 2023 10:51:14 +0000 (12:51 +0200)] 
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.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agorust-cross-canadian: set CARGO_TARGET_<triple>_RUNNER for nativesdk
Sean Nyekjaer [Mon, 9 Oct 2023 10:51:13 +0000 (12:51 +0200)] 
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

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agorust-cross-canadian: set CARGO_TARGET_<triple>_RUSTFLAGS
Sean Nyekjaer [Mon, 9 Oct 2023 10:51:12 +0000 (12:51 +0200)] 
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.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agoperl: fix intermittent test failure
William Lyu [Tue, 10 Oct 2023 14:10:07 +0000 (10:10 -0400)] 
perl: fix intermittent test failure

Fixes [YOCTO #15136]

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

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>
2 years agosstatesig: be more precise and show the full path in exceptions
Jose Quaresma [Mon, 9 Oct 2023 08:40:51 +0000 (08:40 +0000)] 
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.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2 years agogoarch: Move Go architecture mapping to a library
Joshua Watt [Tue, 17 Oct 2023 13:59:02 +0000 (07:59 -0600)] 
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.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopackagegroup-core-tools-profile: Remove PROFILE_TOOLS_X
Fabio Estevam [Tue, 17 Oct 2023 18:25:55 +0000 (15:25 -0300)] 
packagegroup-core-tools-profile: Remove PROFILE_TOOLS_X

Since commit d085e70eeedb ("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>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoscripts/bitbake-whatchanged: remove
Alexander Kanavin [Tue, 17 Oct 2023 13:30:50 +0000 (15:30 +0200)] 
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.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobitbake.conf: Drop DEPLOY_DIR_TAR
BELHADJ SALEM Talel [Wed, 18 Oct 2023 10:36:54 +0000 (11:36 +0100)] 
bitbake.conf: Drop DEPLOY_DIR_TAR

DEPLOY_DIR_TAR is never used since package_tar.bbclass is removed.

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoman-db: remove inexplicable man_db.conf patch
Ross Burton [Mon, 16 Oct 2023 17:03:55 +0000 (18:03 +0100)] 
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoman-db: add RRECOMMENDS on glibc-utils for iconv
Ross Burton [Mon, 16 Oct 2023 17:03:34 +0000 (18:03 +0100)] 
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-urllib3: Update to 2.0.6
Khem Raj [Sun, 15 Oct 2023 15:28:44 +0000 (08:28 -0700)] 
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] https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d
[2] https://github.com/advisories/GHSA-v845-jxx5-vc9f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovim: Upgrade 9.0.2009 -> 9.0.2048
Siddharth Doshi [Wed, 18 Oct 2023 15:13:12 +0000 (20:43 +0530)] 
vim: Upgrade 9.0.2009 -> 9.0.2048

This includes CVE fix for CVE-2023-5535.

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoSECURITY.md: add file
Marta Rybczynska [Wed, 18 Oct 2023 05:22:41 +0000 (07:22 +0200)] 
SECURITY.md: add file

Add a SECURITY.md file with hints for security researchers and other
parties who might report potential security vulnerabilities.

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Tue, 17 Oct 2023 21:58:03 +0000 (22:58 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest/selftest: fix command arguments
Trevor Gamblin [Tue, 17 Oct 2023 15:16:33 +0000 (11:16 -0400)] 
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.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest: update SPDX identifiers
Trevor Gamblin [Tue, 17 Oct 2023 13:25:45 +0000 (09:25 -0400)] 
patchtest: update SPDX identifiers

Replace full license headers with SPDX identifiers and adjust all
patchtest-related code to use GPL-2.0-only.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agostrace: further clean up of ptest folders
Alexandre Belloni [Tue, 17 Oct 2023 16:53:49 +0000 (18:53 +0200)] 
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]

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemuarmv5: Drop QB_DTB conditional for older kernels
Alejandro Hernandez Samaniego [Mon, 16 Oct 2023 20:45:23 +0000 (14:45 -0600)] 
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'

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest: set default repo and testdir targets
Trevor Gamblin [Mon, 16 Oct 2023 19:44:58 +0000 (15:44 -0400)] 
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.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest: add scripts to oe-core
Trevor Gamblin [Mon, 16 Oct 2023 19:44:57 +0000 (15:44 -0400)] 
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.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest: add supporting modules
Trevor Gamblin [Mon, 16 Oct 2023 19:44:56 +0000 (15:44 -0400)] 
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.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest/requirements.txt: update
Trevor Gamblin [Mon, 16 Oct 2023 19:44:55 +0000 (15:44 -0400)] 
patchtest/requirements.txt: update

Add git-pw and boto3 to the list of requirements for patchtest.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoinsane: unimplemented-ptest: ignore source file errors
Yoann Congal [Mon, 16 Oct 2023 15:51:13 +0000 (17:51 +0200)] 
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.

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>
2 years agoinsane: skip unimplemented-ptest on S=WORKDIR recipes
Yoann Congal [Mon, 16 Oct 2023 15:51:12 +0000 (17:51 +0200)] 
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.

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>
2 years agoqemu: ignore RHEL specific CVE-2023-2680
Lee Chee Yang [Mon, 16 Oct 2023 08:51:51 +0000 (16:51 +0800)] 
qemu: ignore RHEL specific CVE-2023-2680

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto/6.5: avoid serial port suspend issues
Bruce Ashfield [Mon, 16 Oct 2023 12:11:53 +0000 (08:11 -0400)] 
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

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>
2 years agorecipes-rt: update README to match newer override syntax
Quentin Schulz [Mon, 16 Oct 2023 10:40:51 +0000 (12:40 +0200)] 
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>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogcompat: Upgrade to 1.1.0 release
Khem Raj [Sat, 14 Oct 2023 15:39:24 +0000 (08:39 -0700)] 
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] https://git.adelielinux.org/adelie/gcompat/-/commit/b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6#0398ccd0f49298b10a3d76a47800d2ebecd49859

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogcompat: Add fcntl64 wrapper
Khem Raj [Sat, 14 Oct 2023 15:39:23 +0000 (08:39 -0700)] 
gcompat: Add fcntl64 wrapper

Needed by pvr mesa drivers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/qemurunner: Drop newlines serial workaround
Richard Purdie [Sun, 15 Oct 2023 08:06:24 +0000 (09:06 +0100)] 
oeqa/qemurunner: Drop newlines serial workaround

Drop the newlines serial workaround, it doesn't seem to fix things
enough of the time to be useful.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>