summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-04-24externalsrc: Add trailing slash warningsdankm/vecima/externalsrcDaniel McGregor
When setting EXTERNALSRCBUILD or EXTERNALSRC, adding a trailing / should be a warning, but overriding B happens after the warning is checked. So, also do the trailing slash warnings for EXTERNALSRC and EXTERNALSRC_BUILD in the externalsrc class. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
2023-04-24externalsrc: avoid getting srcrevsDaniel McGregor
Avoid attempting to resolve AUTOREV with externalsrc. The prevents build time errors with devtool on recipes using AUTOREV. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
2023-04-22go: backport fix for CVE-2023-24537Ross Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-22screen: backport fix for CVE-2023-24626Ross Burton
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20apt-util: Fix ptest on muslKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20shadow: backport patch to fix CVE-2023-29383Xiangyu Chen
The fix of CVE-2023-29383.patch contains a bug that it rejects all characters that are not control ones, so backup another patch named "0001-Overhaul-valid_field.patch" from upstream to fix it. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20report-error: make it catch ParseError errorMingli Yu
Make the report-error catch ParseError error as below and then we can check it directly via error report web. ParseError at /build/layers/oe-core/meta/recipes-support/curl/curl_7.88.1.bb:32: unparsed line: 'PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares,,,threaded-resolver' Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20machine/qemuarm*: don't explicitly set vmallocRoss Burton
In 5c6064 the qemuarm* machines gained vmalloc=256, because in testing Bruce was seeing problems when the vmalloc area was too big for the memory size of the machine (eg 256MB). The intention was for the area to be very small, but 256 bytes is too small and the kernel sets a minimal vmalloc area of 16MiB: [ 0.000000] vmalloc area is too small, limiting to 16MiB However, a 16MiB area is too small and results in pages of messages when you try and use the system: [ 242.822481] vmap allocation for size 4100096 failed: use vmalloc=<size> to increase size There have been a number of changes since this commit, remove the explicit vmalloc argument and use the default. I've tested that the system still boots locally. [1] early_vmalloc(), https://elixir.bootlin.com/linux/latest/source/arch/arm/mm/mmu.c#L1170 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20scripts/runqemu: Add possibility to disable networkPavel Zhukov
Default network configuration requires tun/tap module and while being usable it conflicts with tap devices created by VPN clients sometimes and requires root permissions to use . While it's possible to work this around it's not always feasible if network is not required Add nonetwork option which can be specified if the network connectivity is not needed and SDL/serial is enough to communicate with the image. Signed-off-by: Pavel Zhukov <pazhukov@suse.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20scripts/rpm2cpio.sh: Use bzip2 instead of bunzip2Pavel Zhukov
bzip2 is in HOSTTOOLS already and used in few other places already. This fixes bin_package class for RPM packages without adding bunzip2 to HOSTTOOLS. Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20stress-ng: upgrade 0.15.06 -> 0.15.07Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20python3-pytest: upgrade 7.2.2 -> 7.3.1Wang Mingyu
Changelog: https://docs.pytest.org/en/stable/changelog.html Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20python3-packaging: upgrade 23.0 -> 23.1Wang Mingyu
Changelog: =========== Parse raw metadata Import underlying parser functions as an underscored variable Improve error for local version label with unsupported operators Add dedicated error for specifiers with incorrect .* suffix Replace spaces in platform names with underscores Relax typing of _key on _BaseVersion Handle prefix match with zeros at end of prefix correctly Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20python3-dtschema: upgrade 2023.1 -> 2023.4Wang Mingyu
Changelog: ========== Schemas: - Add missing PCI descriptions and properties - Add I2C clock stretching property - Add 'firmware-name' property - Add UEFI chosen properties - Enable cache schema Meta-schemas: - Improve checking non-patterns in patternProperties - Allow 'not' at top-level of schemas - Relax meta-schema checks on referenced schemas Tools: - Handle examples with 'interrupt-controller' node Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20ofono: upgrade 2.0 -> 2.1Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20boost: upgrade 1.81.0 -> 1.82.0Wang Mingyu
Changelog: https://www.boost.org/users/history/version_1_82_0.html Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20libxml2: upgrade 2.10.3 -> 2.10.4Wang Mingyu
Changelog: ========== ### Security - [CVE-2023-29469] Hashing of empty dict strings isn't deterministic - [CVE-2023-28484] Fix null deref in xmlSchemaFixupComplexType - schemas: Fix null-pointer-deref in xmlSchemaCheckCOSSTDerivedOK ### Regressions - SAX2: Ignore namespaces in HTML documents - io: Fix "buffer full" error with certain buffer sizes Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20libsolv: upgrade 0.7.23 -> 0.7.24Wang Mingyu
Changelog: ========== - selected bug fixes: * handle learnt rules in solver_alternativeinfo() - new features: * support x86_64_v[234] architecture levels * implement decision sorting for package decisionlists Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20libgit2: upgrade 1.6.3 -> 1.6.4Wang Mingyu
Bug fixes ========= config: return GIT_ENOTFOUND for missing programdata Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20libxml2: Disable icu tests on muslKhem Raj
these tests do not work with musl's iconv implementation and would need enabling icu support using --with-icu which we do not enable by default Additionally enable locale with musl too. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20gawk: Add skipped.txt to emit test to ignoreKhem Raj
This file can be processed by run-ptest during runtime and tests mentioned in skipped.txt will not be run. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20gawk: Remove redundant patchKhem Raj
This patch is doing the same things thats already being done in the do_install_ptest where the problematic tests are being deleted from final package. run-ptest script runs a find for available tests and runs each test target found during run therefore its enough to remove them from final install. Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20gawk: Disable known ptest fails on muslKhem Raj
Add needed locale rdeps on musl as well. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20kernel: improve initramfs bundle processing timeBruce Ashfield
This is a partial fix for bugzilla 15059 [https://bugzilla.yoctoproject.org/show_bug.cgi?id=15059] It has been noted by several people that when an initramfs is bundled: - a lot of the kernel is rebuilt - it takes a really long time When looking at the logs, the second kernel compilation (that performs the bundle) is not using the parallel make settings, and builds with -j1. We are already explicitly passing PARALLEL_MAKE when building kernel modules, and by extending that explicit use to the main kernel compilation, we ensure that we always get a parallel build. Build times chnaged from more than 30 minutes for the bundle, to 3 minutes in local testing. The question of whether or not too much is rebuilding during the bundle step is still an open question, but with this tweak, at least the build time is back in the realm of acceptable. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20oeqa/utils/metadata.py: Fix running oe-selftest running with no distro setThomas Roos
This will use default values when no distribution is set. [YOCTO #15086] Signed-off-by: Thomas Roos <throos@amazon.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20oeqa/selftest: Use SSTATE_DIR of parent build dirThomas Roos
This will configure the build-st/conf/local.conf with the SSTATE_DIR of the parent build dir to speed up the build, test, dev process. Signed-off-by: Thomas Roos <throos@amazon.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-20systemd: upgrade 253.1 -> 253.3Wang Mingyu
Changelog: https://github.com/systemd/systemd-stable/blob/v253.3/NEWS 0025-systemctl-explicitly-cast-the-constants-to-uint64_t.patch removed since it's included in 253.3 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-14python3-build: add missing run-time dependenciesBartosz Golaszewski
python3-build has several run-time dependencies that are missing from the recipe. This makes it impossible to use the module in self-hosted images. Add missing RDEPENDS. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-14python3-manifest: add ensurepipBartosz Golaszewski
Add the pip bootstrapping module from the standard library to the manifest. This module is a run-time requirement of python3-build. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-14python3-manifest: add tomllibBartosz Golaszewski
Add the TOML parsing module from the standard library to the manifest. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-14python3-packaging: add missing run-time dependenciesBartosz Golaszewski
python3-profile is required by python3-packaging at run-time. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-14python3-pyproject-hooks: add missing run-time dependenciesBartosz Golaszewski
JSON module is required at run-time by pyproject-hooks. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-14package: Use shlex instead of deprecated pipeOla x Nilsson
The pipe library is deprecated in Python 3.11 and will be removed in Python 3.13. pipe.quote is just an import of shlex.quote anyway. Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-14patch.py: Use shlex instead of deprecated pipeOla x Nilsson
The pipe library is deprecated in Python 3.11 and will be removed in Python 3.13. pipe.quote is just an import of shlex.quote anyway. Clean up imports while we're at it. Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-14musl-locales: Add Canadian French (fr_CA) locale supportKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-14cve-update-nvd2-native: added the missing http importJan Vermaete
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-14libpam: Fix the xtests/tst-pam_motd[1|3] failuresZhixiong Chi
Reproducer: 1.Enable the ptest of libpam and build the image. 2.Boot the rootfs with nfs, then run the following tests as root: cd /usr/share/Linux-PAM/xtests /usr/share/Linux-PAM/xtests# ./run-xtests.sh . tst-pam_motd1 /usr/share/Linux-PAM/xtests# ./run-xtests.sh . tst-pam_motd3 After applying this patch, the ptest doesn't be failed. Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-13populate_sdk_ext.bbclass: set METADATA_REVISION with an DISTRO overrideMartin Jansa
* otherwise it ends '<unknown>' inside esdk, because of parsing order: # $METADATA_REVISION [3 operations] # set /OE/build/test-D/conf/local.conf:43 # "f2da54ef432eac89b0f18eaad68e602b6990b5de" # immediate /OE/build/test-D/layers/poky/meta/classes/metadata_scm.bbclass:9 # "${@oe.buildcfg.detect_revision(d)}" # set /OE/build/test-D/layers/poky/meta/classes/metadata_scm.bbclass:10 # [vardepvalue] "${METADATA_REVISION}" # pre-expansion value: # "<unknown>" METADATA_REVISION="<unknown>" * This causes base-files.do_install and following tasks to have different signatures between esdk and the build directory where this esdk was created: bitbake-diffsigs {test-D,poky/build-uninative-disabled}/tmp/stamps/qemux86_64-poky-linux/base-files/*do_install*sigdata* NOTE: Starting bitbake server... basehash changed from 5b6981cf58bfd57d416b0e31611b73a26baae635dd1ac31c08d46f95064c3ffc to dbdce042da4d7813d632b6d1cc87a16f728ad20e55fecbc392830e6acf72babd Variable METADATA_REVISION value changed from '<unknown>' to 'f2da54ef432eac89b0f18eaad68e602b6990b5de' and an warning from "python3 /OE/build/test-D/ext-sdk-prepare.py" when eSDK is being prepared for use: WARNING: The base-files:do_install sig is computed to be 83b9c9a6ef1145baac5a1e0d08814b9156af239c58fc42df95c25a9cd8a7f201, but the sig is locked to 3dc22233059075978e5503691e98e79e7cc60db94259dfcd886bca2291c0add7 in SIGGEN_LOCKEDSIGS_t-qemux86-64 [RP: Add commit about why we need the override for future reference] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-13libarchive: Enable acls, xattr for native as well as targetPiotr Łobacz
Libarchive is being used by OPKG package manager as default API for extracting tar files. This fix allows us to extract ipks packages with preserved ACLs and xattrs. Partially addresses [YOCTO #15091] [RP: Merge into main PACKAGECONFIG and tweak commit message] Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-13meta/recipes: ensure all recipes have a SUMMARYAlexander Kanavin
DESCRIPTION is optional for now; writing good component descriptions is not easy (but appreciated). Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-04-13kernel-devsrc: depend on python3-core instead of python3bkylerussell@gmail.com
Avoids pulling in potential GPLv3 packages through python3-misc catch-all. python3-core is the intended minimal RDEPENDS for packages requiring python3 support. Other python3 module dependencies should be listed explicitly. Signed-off-by: Kyle Russell <bkylerussell@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-13tiff: Add fix for CVE-2022-4645Pawan Badganchi
Below patch fixes the CVE-2022-4645 as well. 0001-Revised-handling-of-TIFFTAG_INKNAMES-and-related-TIF.patch Link: https://nvd.nist.gov/vuln/detail/CVE-2022-4645 Signed-off-by: Pawan Badganchi <Pawan.Badganchi@kpit.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-13kernel-fitimage: Fix the default dtb config checkArslan Ahmad
The current check for default dtb image checks if the file exists and is not empty but appends a slash to the path due to which the file is never found. It also doesn't replace slash in filename with _ as done when populating the DTB variable. A better way to check the existence of the device tree would be from the list of DTBs since this is used during compilation. Signed-off-by: Arslan Ahmad <arslan_ahmad@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-13mesa: upgrade 23.0.0 -> 23.0.2Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-13systemd: Refresh a musl patch to remove patch-fuzz with 253.3Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-13linux-firmware: upgrade 20230210 -> 20230404Dmitry Baryshkov
The LICENCE.qat_firmware license file was updated to reflect Intel licensing (it removed a term regarding patent licenses). License-Update: additional files Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2023-04-13python3-setuptools: upgrade 67.6.0 -> 67.6.1Wang Mingyu
Changelog: ========== #3865: Fixed _WouldIgnoreField warnings for scripts and gui_scripts, when entry-points is not listed in dynamic. #3875: Update code generated by validate-pyproject to use v0.12.2. This should fix default license patterns when pyproject.toml is used. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-04-13python3-pytz: upgrade 2022.7.1 -> 2023.3Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-04-13rust: Upgrade 1.68.1 -> 1.68.2Alex Kiernan
Changes: * Update the GitHub RSA host key bundled within Cargo. The key was rotated by GitHub on 2023-03-24 after the old one leaked. * Mark the old GitHub RSA host key as revoked. This will prevent Cargo from accepting the leaked key even when trusted by the system. * Add support for @revoked and a better error message for @cert-authority in Cargo’s SSH host key verification Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-04-13python3-pyopenssl: upgrade 23.0.0 -> 23.1.1Wang Mingyu
Changelog: =========== - Worked around an issue in OpenSSL 3.1.0 which caused X509Extension.get_short_name to raise an exception when no short name was known to OpenSSL. #1204. - cryptography maximum version has been increased to 40.0.x. - Add OpenSSL.SSL.Connection.DTLSv1_get_timeout and OpenSSL.SSL.Connection.DTLSv1_handle_timeout to support DTLS timeouts #1180. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>