summaryrefslogtreecommitdiffstats
path: root/meta
AgeCommit message (Collapse)Author
6 daysqemu: upgrade 8.2.1 -> 9.0.0rpurdie/t222Martin Hundeb?ll
Remove pacthes accepted upstream, and refresh the remaining ones. Remove patches required by ubuntu 18.04, as those are unmaintainable. Remove CVE status for CVEs not applicable to the new version. Exclude hppa-firmware{,64}.img files from stripping during packaging, as those (binary) files are already stripped. Signed-off-by: Martin Hundebøll <martin@geanix.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 dayspython3-jinja2: Upgrade 3.1.3 -> 3.1.4Richard Purdie
Switch to use flit core since upstream changed. They also changed the capitalisation under pypi. The license didn't change but the file was renamed, probably as it wasn't rst. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysnasm: Upgrade 2.16.01 -> 2.16.03Richard Purdie
6 dayslibtool: Drop obsolete configure/compile prependsRichard Purdie
The introduction of sstate and recipe specific sysroots made the configure prepends obsolete and unneeded. The compile prepend has been there for over a decade and is also likely obsolete. Remove the whole lot, we look into any issues that arise. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysautotools/libtool: Drop libtool sysroot patch as not neededRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysRevert "kernel.bbclass: hoist up "unset S" bbfatal from kernel-yocto.bbclass ↵Richard Purdie
to kernel.bbclass" This reverts commit 246e50c126c66e70f9b32c030e4daaf5d4d933fc.
6 dayskernel.bbclass: hoist up "unset S" bbfatal from kernel-yocto.bbclass to ↵Luca Ceresoli
kernel.bbclass Writing a simple recipe that inherits kernel.bbclass and downloads a kernel tarball (e.g. a mainline release from kernel.org) via http or ftp fails with either: ERROR: linux-acme-6.3.3-r0 do_configure: oe_runmake failed ... | make: *** No rule to make target 'oldnoconfig'. Stop. or (seen on a different setup, based on kirkstone): ... do_populate_lic: QA Issue: ... LIC_FILES_CHKSUM points to an invalid file: .../work-shared/.../kernel-source/COPYING [license-checksum] This happens when not setting S in the recipe. In this case, kernel.bbclass sets it to ${STAGING_KERNEL_DIR} (${TMPDIR}/work-shared/${MACHINE}/kernel-source). This means that in do_symlink_kernsrc(), the 'if s != kernsrc' never triggers and thus the kernel tree will not me moved into work/shared, which results in an empty work-shared/.../kernel-source directory. When downloading a tarball it is usually not required to set S in recipes, so this is not obvious here and the error message does not point to the problem or its solution. There is such a check in kernel-yocto.bbclass though, so move it to kernel.bbclass so that also kernel recipes not based on kernel-yocto can benefit from it. The check is moved: - from the beginning of do_kernel_checkout() in kernel-yocto - to the end of do_symlink_kernsrc() in kernel.bbclass and since do_kernel_checkout is executed 'after do_symlink_kernsrc', the code flow does not change in a relevant way when using linux-yocto. (From OE-Core rev: 8b5a8924204287737f47c660efe9ea7a89313d57) Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysRevert "systemd hack"Richard Purdie
This reverts commit 0ce79d9d867af8b36a10edfcb98401fcbcc5f96c.
6 dayssystemd hackRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysselftest: Add tests for populate_sdk taskPavel Zhukov
Two tests to cover both installing package with IMAGE_INSTALL as well as installing versioned dependencies of the package (using perl (>= 5.XX). Related: [Yocto #13338] [Yocto #14995] [Yocto #14066] Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysdummy-sdk-package.inc: Specify providers versionPavel Zhukov
Some of the packages require versioned providers (DEPENDS: perl (>= 5.38) is an example and for such packages do_populate_sdk fails because dummy packages provided unversioned packages (PROVIDES: perl) which doesn't meet the version requirement. Specify 999.9-r9 version for such provides to work this around Fixes [Yocto #14995] Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 dayspackage_deb: Revert versioned providers workaroundPavel Zhukov
dpkg and apt seem to handle versioned provides correctly now [1] so this workaround is not needed anymore. This fixes [Yocto #14995] for package_deb. [1] https://www.debian.org/doc/debian-policy/ch-relationships.html#virtual-packages-provides Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysdummy-sdk-package.inc: Filter packages which are marked for installationPavel Zhukov
if packages is provided by dummysdk and in the same time marked for installation with IMAGE_INSTALL it causes conflict in apt because virtual providers are not taken into account if package is asked to be installed explicitly. Filter such packages from provides/conflicts to workaround this problem. This workaround brakes RPM usecase because of file conlicts with DUMMYPROVIDES, use DUMMYPROVIDES_PACKAGES_MULTILIB instead (which doesn't include file based conflicts). While this is needed for the case of package_deb only adding it for all package managers to not complicate the code. Fixes: [Yocto #13338] [Yocto #14066] Fixes: The following information may help to resolve the situation: The following packages have unmet dependencies: target-sdk-provides-dummy : Conflicts: bash E: Unable to correct problems, you have held broken packages. Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysRevert "wip"Richard Purdie
This reverts commit a25654ee14cc4dd0685ccc722b61bbfd7559b273.
6 dayswipRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 dayslicense/license_image: Fix license file layout to avoid overlapping filesRichard Purdie
Currently DEPLOY_DIR/licenses is added to SSTATE_ALLOW_OVERLAP_FILES. This leads to bugs since when one MACHINE_ARCH recipes is cleaned, it removes the files for another which then results in later build failures as license files disappear. The solution is to include SSTAGE_PKGARCH in the path names to the license files. That does mean a search has to be used to find the correct license files for a given PN but that can be done via SSTATE_ARCHS. The implication for other tools is the layout has changed so tools will need to adapt to the new paths. The benefit is no more strange build failures such as from patterns like: MACHINE=qemux86-64 bitbake core-image-minimal MACHINE=genericx86-64 bitbake core-image-minimal MACHINE=qemux86-64 bitbake linux-yocto -c clean MACHINE=genericx86-64 bitbake core-image-minimal -C rootfs [YOCTO #14123] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 dayspseudo: Quiet loggingRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysshadow experimentRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysRevert "oeqa/selftest: change deprecated usage of run_serial"Richard Purdie
This reverts commit cd265a1a1f00fdf3274f5a910bb0b86d05d1b378.
6 daysRevert "fixup"Richard Purdie
This reverts commit e2e378a8a0fd295823947361d8db1c0e9cc69976.
6 daysoeqa/selftest: change deprecated usage of run_serialLouis Rannou
Prefer the new function run_serial_socket. Change calls where the modification is easy. (From OE-Core rev: 0f1fc49f44db5e867ae831c74602ed2d55184942) Signed-off-by: Louis Rannou <lrannou@baylibre.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 dayscore-image-minimal: increase extra space to pass df.py oeqa runtime testMikko Rapeli
testimage.bbclass requires that ssh communication with target works and then it runs oeqa runtime tests with that. Tests like df.py check that there is more than 5Mb free space on the rootfs on target. Sadly latest core-image-minimal only has 1.5 Mb free space if ssh-server-dropbear is added to it. Thus by default, core-image-minimal is now failing oeqa rutime df.py test. Fix this by increasing core-image-minimal rootfs size by 5Mb if testimage.bbclass is used which implies adding either ssh-server-dropbear or ssh-server-openssh to the target rootfs. (From OE-Core rev: 0210c1314a066c807dd5876c091cdc8dd04d2fda) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysppp-dialin: Fix groupname gid change warningJD Schroeder
This patch fixes warnings when useradd-staticids.bbclass is used and USERADD_PARAM is used to add the user to a group that has not been explicitly created yet. By adding the GROUPADD_PARAM for the new group being used the warnings for changing the gid from GID-OLD to GID-NEW is eliminated. Warning fixed: ppp-dialin: Changing groupname nogroup's gid from (WXYZ) to (JKLM), verify configuration files! (From OE-Core rev: e0713aace14b1a2600ea1ad4c72e5e0aa962b639) Signed-off-by: JD Schroeder <sweng5080@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysoeqa/qemurunner: Extra debugRichard Purdie
(From OE-Core rev: 312a6a4f0a586f5e4c85bd59c34667e4928b6869) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysrust-cross-canadian: Fix file conflicts for arm and aarch64Deepthi Hemraj
[YOCTO #15061] Rust multilib sdks broken because of the conflicts between attempted installs of rust-cross-canadian for arm and aarch64. Arm and aarch64 target architectures are trying to install cargo.sh and rust.sh in the same path which resulted in the issue. The current patch modifies CARGO_ENV_SETUP_SH and RUST_ENV_SETUP_SH macros based on the architecture. Hence, creates different file names for the environment setup scripts and resolves the issue. (From OE-Core rev: 97f0272681be5c20182d2e2115d4dfa7da456168) Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysmake-mod-scripts: exclude rm_workJose Quaresma
- Add the recipe to the RM_WORK_EXCLUDE With rm_work active, external module signing throws an error: scripts/sign-file: error while loading shared libraries: libcrypto.so.3: can not open shared object file: No such file or directory Preserve libraries that sign-file script needs during runtime. Some solutions [1][2] for this problem have already been submitted on the mailing list but none of them get merged: [1] Fix using RM_WORK_EXCLUDE_ITEMS https://lists.openembedded.org/g/openembedded-core/message/180113 [2] Fix using static linking https://lists.openembedded.org/g/openembedded-core/message/182024 (From OE-Core rev: 2a3decb71286773814b26fa56deba2321939ff04) 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>
6 daysusbutils: upgrade 015 -> 017Alexander Kanavin
Drop CFLAGS (containing host paths) from installed pkg-config file. (From OE-Core rev: 6ef8aca5587161ac63cbf6a04386792f0121884f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysRevert "sstatesig: Ensure spdx dependencies update when abisafe recipes change"Richard Purdie
This reverts commit fd9261726b19bbdd6e7709f7d1ae2dc4a2dfa59b. (From OE-Core rev: c8cb0636909de594ce460c47940e91a0ebea8c48) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 dayssstatesig: Ensure spdx dependencies update when abisafe recipes changeRichard Purdie
If you build openssh, bump the version of base-passwd, then rerun openssh:do_create_spdx, it will fail due to references to the old version of base-passwd. This is due to base-passwd being listed in SIGGEN_EXCLUDERECIPES_ABISAFE. Ignore these recipes for the purposes of create_spdx and force rebuilds when things change. (From OE-Core rev: 5d7098077b177208a064b3edfbe680ca78408fbb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysno-gplv3: Add workarounds for update-alternatives and ptestRichard Purdie
Document the tribal knowledge that we have to disable ptests for gplv3. Also document the workaround for update-alternatives issues with bash and opkg-utils. As with anything in this file, the exclusions come at a cost. (From OE-Core rev: 9553861ba13effe72d0dbec71b11e416115b2556) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysimage.bbclass/rootfs: set and unpack package-databaseJohannes Schneider
set the package-database of a "lower image" to unpack and build upon when installing packages for the current image. This way a lean image will be created, which only holds the packages that are not already present in the lower image, that then could be used with overlayfs or systemd-sysext to extend the "lower image" on demand; for development purposes on an RO lower image for example. (From OE-Core rev: a867c4363562ac328618e2ea0070ee6cf5af0ec2) Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysclasses: add a systemd-sysext image classJohannes Schneider
systemd-sysext can load a raw-image containing usr/ and opt/ folders to mount them as RO overlay over the rootfs, to "extend" the systems. This class provides the necessary changes/additions to the enclosed file-system so that systemd-sysext accepts the extension for "merge" into the rootfs. With such an created image, placed into the correct folder (see [1]), `systemd-sysext list` should be able to list the "extension" and `systemd-sysext merge` should enable the overlay. On both commands a preceding "SYSTEMD_LOG_LEVEL=debug" can aide in figuring out what is amiss. The strict name checking systemd-sysext does against the name of extension-release.NAME file, is disabled, as there is only one such in the resulting image. This is done to allow a user to freely rename the resulting image file. Note that for e.g. squashfs, the kernel needs CONFIG_SQUASHFS_XATTR=y Link: https://www.freedesktop.org/software/systemd/man/latest/systemd-sysext.html Link: https://0pointer.net/blog/testing-my-system-code-in-usr-without-modifying-usr.html (From OE-Core rev: 516497879379d20ec8db85c158dc557d05b92958) Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysimage.bbclass/rootfs: archive and deploy opkg package databaseJohannes Schneider
archive the package database after the rootfs has been put together as *rootfs-pkdbfs.tar.gz, and put it into the deploy folder. This creates a snapshot of the package mangers state at the point in time when all dependencies have been resolved and installed; which can be used by "follow up" images to be built upon. (From OE-Core rev: d0fae3ad20a33e468d480ea393cbd341f7a7073b) Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysglibc: fix multilib headers conflict for armKai Kang
The header files conflic when multilib enabled for arm: | Error: Transaction test error: | file /usr/include/finclude/math-vector-fortran.h conflicts between attempted installs of lib32-libc6-dev-2.39+git0+312e159626-r0.armv7at2hf_neon and libc6-dev-2.39+git0+312e159626-r0.cortexa72 Invoke function oe_multilib_header to resolve it. (From OE-Core rev: c936698c64515b9de6ff99fdd3894ec8f1ef8478) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysimage-tests: Add initial image test png filesEilís 'pidge' Ní Fhlannagáin
This is an initial commit of png's we can use to test qemu image testing against. (From OE-Core rev: a186c9cf9ca07fdb05054be9a791529248865b1c) Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysRevert "libbsd: Fix conflict error when enable multlib."Richard Purdie
This reverts commit 1ca03c78ea588fd54675cffd5d55ce6cfad02870. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 dayslibbsd: Fix conflict error when enable multlib.Lei Maohui
Error: Transaction test error: file /usr/include/bsd/sys/cdefs.h conflicts between attempted installs of libbsd-dev-0.12.1-r0.core2_64 and lib32-libbsd-dev-0.12.1-r0.core2_32 The difference of bsd/sys/cdefs.h between libbsd-dev and lib32-libbsd-dev is as following: /* Define the ABI for the current system. */ -#define LIBBSD_SYS_TIME_BITS 64 +#define LIBBSD_SYS_TIME_BITS 32 #define LIBBSD_SYS_HAS_TIME64 1 (From OE-Core rev: 1ca03c78ea588fd54675cffd5d55ce6cfad02870) Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 dayscve-check: Add provision to exclude classesDhairya Nagodra
- There are times when exluding a package that inherits a particular class/classes may be desired. - This provides the framework for that via the variable: CVE_CHECK_CLASS_EXCLUDELIST (From OE-Core rev: f62b74f9a837b74a9e2292a35cae21359431a825) Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 dayscdrtools-native: fix build with gcc-14Martin Jansa
Fixes: http://errors.yoctoproject.org/Errors/Details/770525/ | checking whether the C compiler (gcc -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works... no | configure: error: installation or configuration problem: C compiler cannot create executables. | RULES/rules.cnf:70: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf: No such file or directory | make: *** [RULES/rules.cnf:59: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf] Error 1 | make: *** Waiting for unfinished jobs.... where config.log show it's caused by gcc-14: configure:1189: checking whether the C compiler (gcc -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works configure:1211: gcc -o conftest -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe -D_GNU_SOURCE conftest.c 1>&5 configure:1208:1: error: return type defaults to 'int' [-Wimplicit-int] configure: failed program was: main(){return(0);} (From OE-Core rev: ac46b77d35ef96f72dfe05478ea19613cbce0324) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysRevert "insane: Add warning for WORKDIR instead of UNPACKDIR"Richard Purdie
This reverts commit b4580dc40b3fe3938d1a3b5947ddd80069cf82e7.
6 daysinsane: Add warning for WORKDIR instead of UNPACKDIRRichard Purdie
(From OE-Core rev: 7431d3d266c300b7e240bff0ac66b095c6efae11) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysRevert "base/reproducible: Simplify search for git SOURCE_DATE_EPOCH"Richard Purdie
This reverts commit a363f9aaf03680f0111bf644c64d7921ac0282cb.
6 daysbase/reproducible: Simplify search for git SOURCE_DATE_EPOCHRichard Purdie
Searching WORKDIR for git repositories probably made sense when we started out however limiting the search to S makes more sense and means we don't need horrible search exclusion lists too. (From OE-Core rev: 58a18bee920ce581d2bc288e27a3f856d4da0592) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysRevert "testimage: Enable runtime 'login' screenshot tests"Richard Purdie
This reverts commit c631640bbdbb3d041bad7d23a612e623cab58855. (From OE-Core rev: 1e9abecbe30453069de4405ed770bc928800247b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daystestimage: Enable runtime 'login' screenshot testsRichard Purdie
Enable the new runtime login screenshot tests which primarily test whether sato images display a desktop correctly. (From OE-Core rev: 1db5ce366cd687c0c135b651e30cb77e2c5487dc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysquilt: 0.67 -> 0.68Robert Yang
* Remove backported patches: fix-grep-3.8.patch. faildiff-order.patch 0001-test-Fix-a-race-condition-in-merge.test.patch (From OE-Core rev: 0965ac9f8e48d70ec43af28602ef8354b46a3c99) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 dayswic-tools: Add python3-native and python3-websocketsRichard Purdie
(From OE-Core rev: 5962bb3fdd49bb8d6ae36df36fbeabe453e5375c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 dayslibtool: 2.4.7 -> 2.5.0Richard Purdie
Whilst this is an alpha release, it makes sense for us to stay close to upstream. We can drop a lot of merged patches which is great to see. During testing, one bug showed up, particularly on mip64 due to an issue with FILECMD being changed to use AC_CHECK_PROG incorredly. A patch has been added for that and sent upstream. (From OE-Core rev: cb4befe91b980a260342f6c8667f86a712105d27) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 dayssstatesig/populate_sdk_ext: Improve unihash cache handlingRichard Purdie
Copying in the bb_unihashes cache file was at best a hack and creates a number of challenges. One is staying in sync with bitbake since it may not have saved the most recent version of the file. A second is a determinism problem since there may be more entries in the file than the SDK should have had access to. To improve the situation, add code to write the data into the locked-sigs.inc file such that even when locked-sigs aren't used, the right hash mappings are injected by the get_cached_unihash call. The functions in copy_buildsystem need to be updated to preserve data they're not editting. (From OE-Core rev: 45b875748d21e7b0e943c21d3416c21319b1b549) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 daysopenssl: Tweak to work with bitbakeRichard Purdie
(From OE-Core rev: baa58787509eb34d38105e452e35bca0d7354d25) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>