summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ref-manual: point outdated link to the new locationRoland Hieber2023-09-191-5/+5
| | | | | | | | (From yocto-docs rev: afdfa717aec5cd382054030a2d1e1655277bc5a5) Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* template: fix typo in section headerRoland Hieber2023-09-191-1/+1
| | | | | | | | (From yocto-docs rev: 43661a55b5256a67d4d3e82ffd19bd0d4ae75626) Signed-off-by: Roland Hieber <rhi@pengutronix.de> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: licenses: mention SPDX for license complianceMichael Opdenacker2023-09-191-8/+22
| | | | | | | | (From yocto-docs rev: a34626dd59617a32f6c20aa9ac11f15db2795a75) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> CC: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: licenses: update license manifest locationMichael Opdenacker2023-09-191-2/+3
| | | | | | | | | | | - Fix broken markup (wasn't displaying properly) - Update the path to the directory containing license information - Fix typo later in the document (From yocto-docs rev: f090bb9d2d9cf3833ff0743cfa0cc52099688c64) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* contributor-guide: recipe-style-guide: add Upstream-StatusMichael Opdenacker2023-09-191-0/+81
| | | | | | | (From yocto-docs rev: 95c9a1e1e78bbfb82adef588f68d5d891fb64358) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: new-recipe.rst fix inconsistency with contributor guideMichael Opdenacker2023-09-191-6/+7
| | | | | | | | | | | This document was suggesting a way to version pre-releases which doesn't match the latest recommendations from the contributor guide. (From yocto-docs rev: b51c21e59bd624153f6f9b8bf3cf33329bd25e56) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* manuals: document LICENSE_FLAGS_DETAILSRoss Burton2023-09-193-1/+28
| | | | | | | | | (From yocto-docs rev: 299c9b295a8476abdb32fba01ac2f45efacea6f1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> CC: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipetool/devtool: Ensure server knows about changed filesRichard Purdie2023-09-185-1/+6
| | | | | | | | | Bitbake has changed to require notification when metadata changes in the middle of tinfoil sessions. Add the required function calls at the places metadata is changed. (From OE-Core rev: e5574163ab49a8f51b2b34fd37acfd1cad9b7595) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: server/process: Disable the flush() call in server loggingRichard Purdie2023-09-181-1/+2
| | | | | | | | | | | | | | | We've been chasing bitbake timeouts for a while and it was unclear where things were blocking on IO. It appears the flush() call in server logging can cause pauses up to minutes long on systems with slow (spinning) disks that are heavily loaded with IO. Since the flush() was added to aid debugging of other timing issues, we shouldn't need it now and it can be disabled. Leave a comment as a reminder of the pain this can cause. (Bitbake rev: afbc169e1490a86d6250969f780062c426eb4682) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: lib: Drop inotify support and replace with mtime checksRichard Purdie2023-09-186-148/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the flush in serverlog() removed and a memory resident bitbake with a 60s timeout, the following could fail in strange ways: rm bitbake-cookerdaemon.log bitbake-layers add-layer ../meta-virtualization/ bitbake-layers add-layer ../meta-openembedded/meta-oe/ bitbake -m specifically that it might error adding meta-oe with an error related to meta-virt. This clearly shows that whilst bblayers.conf was modified, bitbake was not recognising that. This would fit with the random autobuilder issues seen when the serverlog flush() call was removed. The issue appears to be that you have no way to "sync()" the inotify events with the command stream coming over the socket. There is no way to know if there are changes in the IO queue which bitbake needs to wait for before proceeding with the next command. I did experiment with os.sync() and fsync on the inotify fd, however nothing addressed the issue. Since it is extremely important we have accurate cache data, the only realistic thing to do is to switch to stat() calls and check mtime. For bitbake commands, this is straightforward since we can revalidate the cache upon new connections/commands. For tinfoil this is problematic and we need to introduce and explict command "revalidateCaches" that the code can use to force bitbake to re-check it's cache validity. I've exposed this through tinfoil with a new "modified_files" function. So, this patch: a) drops inotify support within bitbake's cooker/server and switch to using mtime b) requires a new function call in tinfoil when metadata has been modified (Bitbake rev: da3ec3801bdb80180b3f1ac24edb27a698415ff7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: add a patch to resolve build racesAlexander Kanavin2023-09-182-0/+52
| | | | | | | (From OE-Core rev: 0dedd8982bda35ef638c44b7a3a236dbbaebd621) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: update to latest revisionAlexander Kanavin2023-09-182-37/+1
| | | | | | | | | Drop patch as issue finally fixed upstream. (From OE-Core rev: d2ef4d4feeaa956c46dd241054a72f35d25a7bb5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libva-utils: update 2.19.0 -> 2.20.0Alexander Kanavin2023-09-181-2/+2
| | | | | | | (From OE-Core rev: da9010800f301a9103ca4ea73bb2eba75ef7a4ee) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: update 1.27.1 -> 1.28Alexander Kanavin2023-09-182-507/+3
| | | | | | | | | Drop procps 4 patch as upstream fixed the issue. (From OE-Core rev: 22eccdd1a1e26b67d1ce3ba03a43b44f14dd00c1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: update 1.76.1 -> 1.78.0Alexander Kanavin2023-09-183-36/+2
| | | | | | | | | Remove patch as issue fixed upstream. (From OE-Core rev: 02aaabf79e472813139db8cbdff6dcf85e3065e9) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* screen: update 4.9.0 -> 4.9.1Alexander Kanavin2023-09-183-194/+1
| | | | | | | | | Remove patches; they are merged upstream or backported. (From OE-Core rev: 2566f8e51d56848d8b28f37462160e90253b79fc) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* procps: update 4.0.3 -> 4.0.4Alexander Kanavin2023-09-184-179/+1
| | | | | | | | | Drop patches as all issues resolved upstream; one of them is a CVE backport. (From OE-Core rev: 8b5f6565a16bd17cf0cce62d5e7438a01e0cc1c3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gzip: update 1.12 -> 1.13Alexander Kanavin2023-09-183-28/+3
| | | | | | | | | | | Drop autoconf-2.73.patch as issue resolved upstream. License-update: http -> https (From OE-Core rev: 1ddf9e053b17913718c780ad4c877d5ddb6ff536) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go-helloworld: update to latest revisionAlexander Kanavin2023-09-182-2/+2
| | | | | | | | | Fix up test case to match what binary prints. (From OE-Core rev: 4683804b9669c71d31ea6a8a300e6e87e817ee12) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: update 3.44.1 -> 3.46.0Alexander Kanavin2023-09-182-35/+3
| | | | | | | | | Replace a patch with a recipe option. (From OE-Core rev: 84acec2fd882e42461031fc77247ddcdc4a9269a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* liburi-perl: update 5.17 -> 5.21Alexander Kanavin2023-09-182-8/+8
| | | | | | | | | License-Update: formatting (From OE-Core rev: 75aece4a7076241c47d791a7b82e4826d4bdd167) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdnf: update 0.70.1 -> 0.71.0Alexander Kanavin2023-09-184-13/+21
| | | | | | | (From OE-Core rev: 45a698ec64b4f60bf99cc466f1f325f7aa49db3d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ovmf: update edk2-stable202305 -> edk2-stable202308Alexander Kanavin2023-09-182-7/+7
| | | | | | | (From OE-Core rev: 48878248d39d7e0bf66f33051f7ecef49c14e1e1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: update 2.76.4 -> 2.78.0Alexander Kanavin2023-09-187-263/+84
| | | | | | | | | | Add a patch so that native glib executables do not error out on systems with kernels less than 5.4. (From OE-Core rev: 404d9187f2be1f99be740e10b3d4cc23e482027d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysstat: update 12.6.2 -> 12.7.4Alexander Kanavin2023-09-183-57/+10
| | | | | | | | | | | | | Old homepage is no longer being updated and will be taken down soon. Let's switch to git, as the new homepage is still being set up. Upstream has confirmed that odd-even version scheme is no longer in place: https://github.com/sysstat/sysstat/issues/373 (From OE-Core rev: f9d64fc36c963e6d53b1e686fdd6e998c606c413) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysstat: merge .inc into .bbAlexander Kanavin2023-09-182-76/+73
| | | | | | | (From OE-Core rev: 06fb5a80464c1cfbc7fd57da688d49a0edac5e98) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-tests: rename to glibc-y2038-testsAlexander Kanavin2023-09-184-6/+6
| | | | | | | | | | The recipe originates from meta-y2038 where the name was not confusing, but in oe-core it is. (From OE-Core rev: 90bc7a66b08580207839fc6aafe1ac86c12981c5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: ensure all ptest fails are caughtAlexander Kanavin2023-09-181-1/+1
| | | | | | | | | Piping results through sed may mask failures that sed isn't catching. (From OE-Core rev: 2b1b0e9e4d5011e7c2fd1b59fc277a7cfdc41194) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: parallelize testsAlexander Kanavin2023-09-181-1/+1
| | | | | | | | | This brings them from 15 minutes to just over 4. (From OE-Core rev: 9eeee78aa94aaa441da012aeb904a0f1cbcd4d91) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: enable 64 bit shell arithmetic (via long long type)Alexander Kanavin2023-09-181-1/+1
| | | | | | | | | | | This matters on 32 bit systems where otherwise timestamp manipulation in shell scripts would overflow after 2038. One of the scripts in strace test suite exposed the issue. (From OE-Core rev: 8165c980338d4719004bf62644e0fe24ef309fe0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: remove from time64.inc exception listAlexander Kanavin2023-09-181-2/+0
| | | | | | | | | | | | | | | The issues were resolved via https://github.com/strace/strace/pull/263 https://github.com/strace/strace/pull/264 https://github.com/strace/strace/pull/265 and the fixes were released in strace 6.5. (From OE-Core rev: 5c8709c98e1dff49953aa2665c790d85b9739ca4) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: parallelize ptestAlexander Kanavin2023-09-181-1/+1
| | | | | | | | | | strace is one of the slowest tests otherwise (can take 40 minutes or more), and this brings it to under 10 minutes \0/ (From OE-Core rev: 0c632b418a785494318d9f375a07d879772e8ced) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: ensure all failures are caughtAlexander Kanavin2023-09-181-1/+1
| | | | | | | | | | Sed expression may miss some failures, and | obscures the non-zero return code which would otherwise indicate them. (From OE-Core rev: 2fbba38df89fd54ef3a048ba5d8d31fff4a7518c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: use 64 bit integers across all targetsAlexander Kanavin2023-09-181-0/+1
| | | | | | | | | | | Otherwise perl would use 32 bit integers on 32 bit targets, causing loss of bits when copying 64 bit time_t into an internal representation. (From OE-Core rev: c99c1b92eb5fb76f22b3458df15d876748528a20) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest: report tests that were killed on timeoutAlexander Kanavin2023-09-181-1/+1
| | | | | | | | | | I'm not sure if this was reported correctly before, but it currently is not. Test that is stuck is an error in itself. (From OE-Core rev: 002e27c9932a83e46be0b03a5232594cfba7212c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: build and run the full set of ptestsAlexander Kanavin2023-09-182-3/+7
| | | | | | | | | | | | | | Not running make in the top level tests/ directory excluded about a third of them (those that consisted of running small test binaries). Also, run tests in parallel, which reduces total time from five minutes to about 75 seconds. (From OE-Core rev: ff88f275f5f8d52da2967726d8880cbbfdfc8f19) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool/build_sdk: Drop unused importsRichard Purdie2023-09-181-1/+1
| | | | | | | | Drop some unused imports. (From OE-Core rev: 432446ef402ff42fe0c90172b77376fa5981524a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* igt-gpu-tools: do not write shortened git commit hash into binariesAlexander Kanavin2023-09-171-1/+1
| | | | | | | | | | | | | Shortened hashes are prone to collisions, and in this case git lengthens the hash to resolve the collision. This in turn breaks reproducibility, depending on whether the colliding hash is present in the history or not. This has been observed here: http://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20230917-br60if6q/packages/diff-html/ (From OE-Core rev: a74e1eff93d4de5724481e3298308a6d925a4512) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update_mandb: deb fails due to missing man cacheEilís 'pidge' Ní Fhlannagáin2023-09-171-0/+2
| | | | | | | | | | | | | This only occurs in debian package builds when populating the sdk and is a work around that seems to work. Eventually we should look at why this is failing (I have ideas, it's somewhere in lib/oe/package_management/deb/sdk.py), but for now, do this so we can fix the core issue with nativesdk-intercepts. (From OE-Core rev: a411123a95114233c5efd762dbcc8eb513030aab) Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/package_managegment: Add nativesdk-intercept PATHEilís 'pidge' Ní Fhlannagáin2023-09-173-0/+15
| | | | | | | | | | | | | | | | | | [YOCTO #15023] This patch adds (and removes after function execution) the nativesdk-intercept/chown|chgrp PATH before target_pm.run_intercepts calls during populate_sdk builds. This has been tested with cleanall builds and testsdk and fails on deb due to an issue where $D${localstatedir}/cache/man/ does not exist for some reason. I've a work around for that in the next patch in this series. (From OE-Core rev: e7afdfe9da150209ab2676d09eae040de2155c6d) Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/context.py: check git command return valuesMikko Rapeli2023-09-141-1/+1
| | | | | | | | | | Don't ignore return values from the git command lines. If something goes wrong, fail the test right away. (From OE-Core rev: dfc178a70d6fa60e89d4716f05d68e2c72c6ecd3) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* testimage.bbclass: remove QEMU_USE_SLIRP variableMikko Rapeli2023-09-141-1/+1
| | | | | | | | | | QEMU_USE_SLIRP is replaced by TEST_RUNQEMUPARAMS with "slirp" and possibly other arguments to runqemu script. (From OE-Core rev: 99fd24f0d9ff79fed389ae5a01c3031d7e7167d0) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: capture logs in run-ptestMikko Rapeli2023-09-143-35/+14
| | | | | | | | | | | | Drop patch to improve logging since upstream rejected it but capture failure logs in run-ptests with similar code as what upstream uses when running the tests via https://github.com/openssh/openssh-portable/blob/master/.github/run_test.sh#L23 (From OE-Core rev: 5f817f5a3897bca39eb832bb910b032632f275b8) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 23.1.3 -> 23.1.7Markus Volk2023-09-143-1/+1
| | | | | | | | (From OE-Core rev: 335b7a7f4e9d67e724a6ff541b4117ece772e0ab) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext: Add missing dependency on gawk autoconfKhem Raj2023-09-141-3/+1
| | | | | | | | | | | | | Needed for additional tests e.g. autopoint-1 which are otherwise skipped Make locale-base-de-de and locale-base-fr-fw rdep unconditional as musl-locales do provide these locales (From OE-Core rev: b4091c20196ebde3ba14a502eca0082f28b09b5c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchtest: Add README.md for selftestsTrevor Gamblin2023-09-141-0/+20
| | | | | | | | | | Add a short README describing how to setup patchtest's selftests for oe-core. (From OE-Core rev: afd4f3d9fa22dd0fbb0c30bbfc4a3de37d695c76) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchtest: add requirements.txtTrevor Gamblin2023-09-141-0/+4
| | | | | | | | | | Add a requirements.txt file with the Python modules needed for Patchtest to run. (From OE-Core rev: 2fd953ac5dd86d3045a6af240d61c6e36c62d133) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchtest/selftest: remove configurable targetTrevor Gamblin2023-09-141-8/+6
| | | | | | | | | | | The ability to pass the target (i.e. oe-core) as an argument was a testing mechanism and isn't needed when the tests are part of the repo, so remove it and use os.path.dirname to get it instead. (From OE-Core rev: 87c54eae350e358f32b12ae807719fa845fd54af) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchtest: Add tests from patchtest oe repoTrevor Gamblin2023-09-1460-0/+2921
| | | | | | | | | | Copy the core components of the patchtest-oe repo into meta/lib/patchtest in oe-core. (From OE-Core rev: 257f64f4e4414b78981104aec132b067beb5a92a) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: git: Use path_is_descendant() instead of path for repo checkJoshua Watt2023-09-141-9/+6
| | | | | | | | | | | | | | Using path prefixes to check if the git directory is a descendant of the clone directory can be easily confused with symlinkes and bind mounts, causing directories to be deleted unnecessarily. Instead, use bb.utils.path_is_descendant() which is immune to the these sorts of problems. (Bitbake rev: b4d7a0546630620480b7fee159b84c3506e941a2) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>