AgeCommit message (Collapse)AuthorFilesLines
40 hoursdocs: add a top level page for bitbake documentationHEADmasterhardknottNicolas Dechesne2-1/+20
The top level index file includes a link to the Bitbake documentation. This link is static, however the location of the Bitbake documentation depends on the intersphinx configuration. As such, when looking at an old YP docs release, the link to the bitbake documentation is always the same (and wrong). Since we cannot use a cross reference in a toc index, this patch creates an intermediate page for bitbake documentation, and in that page we insert the right link to the bibtake documentation (e.g. :doc:`bitbake:index`) which will be adjusted dynamically based on intersphinx config. (From yocto-docs rev: 4f7f451df266a307b34bf145b29291ca85eb882f) Signed-off-by: Nicolas Dechesne <> Tested-by: Michael Opdenacker <> Signed-off-by: Richard Purdie <>
40 hoursdocs: replace anchor linksQuentin Schulz23-323/+301
Anchor links are treated by Sphinx as external links and are not checked during build, meaning it is impossible to know if a link becomes broken or not. As a matter of fact, most of the anchor links replaced in this commit were actually broken. The README now states that anchor links are forbidden so that there's no need to go through such a change later on. (From yocto-docs rev: de9e4d26b46afa3c79137d07529a74553400d2e0) Signed-off-by: Quentin Schulz <> Reviewed-by: Michael Opdenacker <> Signed-off-by: Richard Purdie <>
40 hourssdk-manual: fix typoUlrich Ölmann1-1/+1
(From yocto-docs rev: 5bde446a0335ccf7f3d772e1eef666aeb31eace3) Signed-off-by: Ulrich Ölmann <> Reviewed-by: Michael Opdenacker <> Signed-off-by: Richard Purdie <>
41 hoursbitbake: bitbake: Update version to 1.50.0 stable release seriesRichard Purdie2-2/+2
(Bitbake rev: e70b925ba98fd4fedf3940d141a4210c953087ca) Signed-off-by: Richard Purdie <>
4 daysbuild-appliance-image: Update to master head revisionRichard Purdie1-1/+1
(From OE-Core rev: 14241ed09f9ed317045cf75a6d08416d3579bb8d) Signed-off-by: Richard Purdie <>
4 dayspoky.conf: Bump version for 3.3 hardknott releaseRichard Purdie1-4/+3
(From meta-yocto rev: 32a30ba2b445e5a8440b35f44f0937c1f1190a71) Signed-off-by: Richard Purdie <>
4 daysperf-tests: add bash into RDEPENDS (v5.12-rc5+)Bruce Ashfield1-1/+1
Upstream commit: commit 1dc481c0b0cf18d3952d93a73c4ece90dec277f0 Author: Leo Yan <> Date: Sat Mar 20 18:45:54 2021 +0800 perf test: Change to use bash for daemon test When executing the daemon test on Arm64 and x86 with Debian (Buster) distro, both skip the test case with the log: Changes tools/perf/tests/shell/ to be explicitly bash (it was already required, but was just skipped on various distros). We add it into our RDEPENDS for perf-tests to fixup 5.12+ builds. We already have relatively heavy RDEPENDS for perf tests (python3), so adding bash into the RDEPENDS isn't signifcant even for older perf builds that use the same recipe. (From OE-Core rev: 159cdb159ad0e9d3ed73cfc07f9acd5c0b608e7b) Signed-off-by: Bruce Ashfield <> Signed-off-by: Richard Purdie <>
4 daysoeqa/selftest: add test case for SRC_URI dependency sniffingRoss Burton1-0/+54
Add tests to verify that SRC_URI dependency sniffing works correctly. (From OE-Core rev: 394b98f7d77c199a4a022447ec5d722ffb7d1741) Signed-off-by: Ross Burton <> Signed-off-by: Richard Purdie <>
4 daysuboot: Fixes SPL verified boot on corner casesKlaus Heinrich Kiwi2-21/+24
* The kernel-fitimage class adds a do_assemble_fitimage_initramfs task regardless of INITRAMFS_IMAGE_BUNDLE setting, which in some cases can result in that task running after do_uboot_assemble_fitimage and overwriting the u-boot-spl.dtb file with the pristine version (without public key). Fix this by making do_uboot_assemble_fitimage dependant on both do_assemble_fitimage_* tasks, regardless of the aforementioned setting. * Adjust 'type' and 'os' on the U-boot fitimage its script so that mkimage/dumpimage can recognize them. * Move the deployment of the u-boot-spl-nodtb files outside of concat_spl_dtb_helper(), so that we can better isolate the scenarios of creating an (unsigned) U-Boot fitimage versus also signing it. This prevents some stale files from being deployed in the images directory. * Remove any u-boot-fitImage and u-boot-its files from build tree, in case the build tree is being reused across bitbake calls. (From OE-Core rev: dc26d35e0935f30af55a3d2cb5c501d1b5c35437) Signed-off-by: Klaus Heinrich Kiwi <> Signed-off-by: Richard Purdie <>
4 dayskernel-yocto: fix do_kernel_configme indentationYann Dirson1-5/+5
(From OE-Core rev: 6a2a1a0d38499b2537e1b39ac34677cd52b81fc0) Signed-off-by: Yann Dirson <> Signed-off-by: Richard Purdie <>
4 daysmanuals: fix suspicious newlinesMichael Opdenacker5-36/+19
- That could originate from documentation migration issues - Checked that the corresponding links still exist (From yocto-docs rev: 38bae8f6067bc12f3617ed38587737d22dd7b32c) Signed-off-by: Michael Opdenacker <> Signed-off-by: Richard Purdie <>
4 daysref-manual: fix typoMichael Opdenacker1-1/+1
- Fix an obvious typo (From yocto-docs rev: 03bbd66ddb85acddcfa0c588cfd29e2eac15d3db) Signed-off-by: Michael Opdenacker <> Signed-off-by: Richard Purdie <>
4 daysoverview-manual: style improvementsMichael Opdenacker1-26/+28
- A few style improvements - Fix a few typos (From yocto-docs rev: 116484a850bdd9b8b648d919fd9c8858f6c55e21) Signed-off-by: Michael Opdenacker <> Signed-off-by: Richard Purdie <>
4 daysmanuals: Fix typos and spacingMichael Opdenacker17-33/+33
Fix double words, punctuation spacing issues, spacing issues, "its" instead of "it's", and other trivial issues. (From yocto-docs rev: 56eb1f340a7af112e62c1d8ad02d4bec0ad88313) Signed-off-by: Michael Opdenacker <> Signed-off-by: Richard Purdie <>
4 dayspoky.yaml: Use git instead of git-core for UbuntiJanne Kiiskila1-1/+1
Ubuntu has changed packaging and git-core is not available anymore, it is now just plain git. $ sudo apt-get install git-core [sudo] password for jankii01: Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'git' instead of 'git-core' git is already the newest version (1:2.17.1-1ubuntu0.8). The following package was automatically installed and is no longer required: linux-hwe-5.4-headers-5.4.0-65 Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded. Documentation should match the current package name to avoid confusion/warnings. Change can be verified by running the following script set -ex distros=("debian:8" "debian:9" "debian:10" "ubuntu:16.04" "ubuntu:18.04" "ubuntu:20.04") for i in "${distros[@]}" do folder="${i/:/.}" # change : to . mkdir -p $folder cd $folder echo FROM $i > Dockerfile echo RUN apt-get update \&\& apt-get install -y git >> Dockerfile echo cat Dockerfile docker build -t test-$folder . cd .. rm $folder/Dockerfile rmdir $folder done (From yocto-docs rev: 8cf3acb3b639ef0373c2f77daf0a4323a7f404b0) Signed-off-by: Janne Kiiskila <> Reviewed-by: Michael Opdenacker <> Signed-off-by: Richard Purdie <>
4 daysQuick build: checkout a branch instead of a fixed tagMichael Opdenacker1-24/+39
- Add guidelines for choosing a release - Check-out a branch instead of a fixed tag This way it's possible to pull release updates later (From yocto-docs rev: 00b45fcf7e37616b46ca003b49c83594c061c40b) Signed-off-by: Michael Opdenacker <> Signed-off-by: Richard Purdie <>
4 daysSDK manual: fix reference to appendixMichael Opdenacker1-5/+3
Fixes [YOCTO #14307] (From yocto-docs rev: d14bdf401114054d517c09d483947705e2a0d71d) Signed-off-by: Michael Opdenacker <> Reported-by: Alexandre Belloni <> Signed-off-by: Richard Purdie <>
4 daysmanuals: Spellcheck and capitalization fixesMichael Opdenacker15-50/+50
- Spelling fixes found using Emacs' spelling checker configured for US English - Fixes for some capitalization issues, especially some project names (QEMU, openSUSE, BusyBox), that were not consistently used with the same capitalization anyway. - A few whitespace fixes too (From yocto-docs rev: 05d69f17490dcc4933dcd85e57d9db53b912084a) Signed-off-by: Michael Opdenacker <> Reviewed-by: Nicolas Dechesne <> Signed-off-by: Richard Purdie <>
5 dayspoky.yaml: change gcc-multilib to gccRoss Burton1-1/+1
None of the other distributions install compilers for 32-bit compilation, and this package isn't available on arm64 Ubuntu systems. (From yocto-docs rev: 5036fea7854c3152a0c148d8ab1668e01b38697d) Signed-off-by: Ross Burton <> Signed-off-by: Richard Purdie <>
5 daysdocumentation/poky.yaml: Fix latest 3.2 series tag referenceRichard Purdie1-1/+1
This was accidentally missed in the last release update, fix it. (From yocto-docs rev: 8a671976818381d97ae01499e9d7deb571312f7d) Signed-off-by: Richard Purdie <>
5 daysoe-selftest: Add U-Boot fitImage signing testcasesKlaus Heinrich Kiwi1-0/+468
Derived from the similar kernel fitImage sign testcase, the U-Boot fitImage testcases exercises the following fitimage.FitImageTest scenarios: * test_uboot_fit_image - create unsigned U-Boot fitImage * test_uboot_sign_fit_image - create unsigned U-Boot fitImage in addition to signed Kernel fitImage * test_sign_standalone_uboot_fit_image - Create signed U-Boot fitImage without a Kernel fitImage * test_sign_cascaded_uboot_fit_image - Create and sign U-Boot and Kernel fitImages (From OE-Core rev: e71e4c617568496ae3bd6bb678f97b4f73cb43d8) Signed-off-by: Klaus Heinrich Kiwi <> Signed-off-by: Richard Purdie <>
5 daysu-boot: Use a different Key for SPL signingKlaus Heinrich Kiwi2-10/+45
Duplicate the variables governing u-boot signing so that we can have a different set of keys/parameters signing the SPL. (From OE-Core rev: 0e6b0fefa02356afeb11a32dfee7f0c7c250ab7f) Signed-off-by: Klaus Heinrich Kiwi <> Signed-off-by: Richard Purdie <>
5 daysu-boot: Add infrastructure to SPL verified bootKlaus Heinrich Kiwi2-35/+340
Add the necessary infrastructure to create a U-boot proper fitimage, sign it (using the same keys as the kernel-fitimage), and put the public key in the SPL binary so that verified SPL boot can be accomplished. (From OE-Core rev: 5af4dfe83c2f6509015916262be32fc09bc9714d) Signed-off-by: Klaus Heinrich Kiwi <> Signed-off-by: Richard Purdie <>
5 daysu-boot: Move definitions to common locationsKlaus Heinrich Kiwi4-104/+91
Move some definitions from into uboot-config.bbclass and similarly from kernel-fitimage.bbclass into uboot-sign.bbclass, so that they can be useful when signing the U-boot proper fitimage, for a verified-boot SPL. (From OE-Core rev: cc6c3e31526d3b6ef3a87ba5e548fcad7483bd51) Signed-off-by: Klaus Heinrich Kiwi <> Signed-off-by: Richard Purdie <>
5 daysreleases: update to include 3.2.3Michael Halstead3-4/+6
Updating to build 3.2.3 docs and add missing 3.0.4 release line. (From yocto-docs rev: 95972458c4c5ecea38676975f69afca7f0c91e35) Signed-off-by: Michael Halstead <> Signed-off-by: Richard Purdie <>
5 daysbitbake: runqueue: Further fixes for confused setscene tasksRichard Purdie1-13/+26
There is further evidence of tasks ending up being "covered" and "notcovered" which shouldn't happen and is bad. The code that caused this problem last time appears to have issues where stamps for tasks already exist. Split out the setscene stamp checking code to a separate function and use this when checking "hard dependencies" (like pseudo-native) so that if the stamps exist and it will be "covered", it is not put on the notcovered list. (Bitbake rev: a1848a481e36b729c8e4130c394b1d462d4b488a) Signed-off-by: Richard Purdie <>
5 daysoeqa/runqemu: Support RUNQEMU_TMPFS_DIR as a location to copy snapshot images toRichard Purdie6-4/+24
We have a working theory that IO queues on the autobuilder are impacting runtime testing under qemu, particularly async writes which inice does not influence. We already pass the snapshot option to qemu which copies the image and runs out of the copy. Add in the ability to copy the image to a specificed location which can be a tmpfs. This means that writes to the image would no longer be blocked by other writes to disk in the system. Preliminary tests show that this does improve the qemu errors at the expense of sometimes showing qemu startup timeouts as on a loaded system with a large test image, it can take longer than 120s to copy the image to tmpfs. Having a most consistent failure mode for loaded tests is probably desireable though. (From OE-Core rev: fd1c26ab426c3699ffd8082b83d65a84c8eb8bff) Signed-off-by: Richard Purdie <>
5 daysdiffoscope: Upgrade 168 -> 172Richard Purdie1-1/+1
In particular 170 includes rpm header fixes which stop the webpages for rpm diffs breaking web browsers and are important in the context of the autobuilder. (From OE-Core rev: 275738c3f2116de9b812b46e00d80b4de6975d7f) Signed-off-by: Richard Purdie <>
5 daysoeqa/concurrencytest: Fix display of test stdout/stderrRichard Purdie1-16/+17
If oe-selftest is run with -j, the output to stdout/stderr is being lost at present. Capture this and display it upon test failure. We have code that previously tried to enable this but it wasn't functioning correctly. This should give more usable error reports on the autobuilder. This code will mix stdout and stderr as the output is streamed from the test server without markup. This is most in keeping with subunit/testools though and the easiest way to handle the various challenges here as far as I can see. (From OE-Core rev: 6a954ce5834c8026adecff8478c3d827640bc647) Signed-off-by: Richard Purdie <>
5 daysoeqa/concurrencytest: Rename variables to improve the codeRichard Purdie1-13/+13
Each time I look at this code I get confused about what the different variables represent. Rename a few of them to better indicate what they represent. (From OE-Core rev: e39d97c0b191add9281bac463ca059685288c81a) Signed-off-by: Richard Purdie <>
6 dayswebkitgtk: Drop include_array.patchKhem Raj2-16/+0
It has been fixed with another upstream fix (From OE-Core rev: d6e1452491e27a1bd70b82e6b41c4f058d8684aa) Signed-off-by: Khem Raj <> Signed-off-by: Richard Purdie <>
6 daysapt: Fix do_compile error when enable ccacheChen Qi1-0/+1
When apt was upgraded, the '-DCMAKE_DISABLE_FIND_PACKAGE_Zstd=True' was dropped. However, it was there to fix do_compile error when ccache is enabled. See details in the following commit. """ commit 0aa7d612b8b7e5f14b4ed38f2a32b3f7eefca31c Author: Robert Yang <> Date: Tue Jan 19 01:23:45 2021 -0800 apt: Fix do_compile error when enable ccache Fixed: apt-pkg/ undefined reference to `ZSTD_endStream' collect2: error: ld returned 1 exit status This is because ccache-native depends on zstd-native which makes apt wronly find it. Disable zstd for apt to fix the problem. """ Now we are meeting do_compile failure again when enabling ccache, so add it back to solve the problem. (From OE-Core rev: f8aa80a8fc777464f20e864b53af0582487d0387) Signed-off-by: Chen Qi <> Signed-off-by: Richard Purdie <>
6 daysbitbake.conf: Limit the number of OpenMP threadsJoshua Watt1-1/+6
Limits the number of OpenMP threads to match BB_NUMBER_THREADS. This prevents OpenMP (libgomp in particular) from falling back to using all the available CPUs, which behaves poorly when attempting to limit build usage, especially when attempting to build in a container. (From OE-Core rev: fd2b8986aef11609123da917aaf6bcbe41f63112) Signed-off-by: Joshua Watt <> Signed-off-by: Richard Purdie <>
6 daysbinutils: Fix a missing break in case statementKhem Raj1-11/+12
This was missed during patch forward porting its only effective when printing options (From OE-Core rev: 5c6a585347199c099700b93405f511971f5fe26d) Signed-off-by: Khem Raj <> Signed-off-by: Richard Purdie <>
6 daysconf/machine: Enable keyboard and mouse on RISC-V machinesAlistair Francis1-0/+1
(From OE-Core rev: d115ebea8983641b42202379119ce35d6ee4a3b0) Signed-off-by: Alistair Francis <> Signed-off-by: Khem Raj <> Signed-off-by: Richard Purdie <>
6 daysuboot: Deploy default symlinks with fitImageKlaus Heinrich Kiwi1-0/+9
Some image recipes uses ${DEPLOY_DIR_IMAGE}/${UBOOT_BINARY} to create their images. Force the re-creation of those symlinks pointing to the u-boot-fitImage in case UBOOT_FITIMAGE_ENABLE is set. (From OE-Core rev: 11a016aaf243a110f7139ea052fd4e568aad40dd) Signed-off-by: Klaus Heinrich Kiwi <> Signed-off-by: Richard Purdie <>
6 dayslibxcb: use PN for naming dynamic packagesMatt Madison1-2/+2
so an explicit runtime dependency on one of the library packages doesn't generate a message about libxcb and libxcb-native both being providers. (From OE-Core rev: 9021db018b74f484109d5f62787fc957229933ba) Signed-off-by: Matt Madison <> Signed-off-by: Richard Purdie <>
6 daysvalgrind: print failed ptest detailsYi Fan Yu1-0/+10
Some intermittent failures in valgrind are hard reproduce. Printing the difference between actual and expected will make understanding them slightly easier. [YOCTO #14294] (From OE-Core rev: 099313ef541920d4a84b801d9d8788a56ba7ec61) Signed-off-by: Yi Fan Yu <> Signed-off-by: Richard Purdie <>
6 daysconf/machine: Enable bochs-display on RISC-V machinesAlistair Francis1-0/+1
Enable the bochs-display as q QEMU argument when running on RISC-V machines. (From OE-Core rev: ec085b75a1edb14c6e4dd1dc2f5cdf62f44d0e39) Signed-off-by: Alistair Francis <> Signed-off-by: Richard Purdie <>
6 dayspython3: Skip failing ptests due to load variabilityYi Fan Yu2-0/+54
Skip tests until load issue is fixed, most commonly seen on the arm64 builder. [YOCTO #14296] (From OE-Core rev: 7c67bc2476b784083acbc7a55ecf3627ec8f2b6b) Signed-off-by: Yi Fan Yu <> Signed-off-by: Richard Purdie <>
6 daysmake-mod-scripts: pass CROSS_COMPILE to configure and buildDenys Dmytriyenko1-1/+1
Fixes: | CALL /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/ | CALL /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/atomic/ | LDS arch/arm64/kernel/vdso/ | CC arch/arm64/kernel/vdso/vgettimeofday.o | AS arch/arm64/kernel/vdso/note.o | AS arch/arm64/kernel/vdso/sigreturn.o | LD arch/arm64/kernel/vdso/ | VDSOSYM include/generated/vdso-offsets.h | OBJCOPY arch/arm64/kernel/vdso/ | objcopy: Unable to recognise the format of the input file `arch/arm64/kernel/vdso/' | /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/arch/arm64/kernel/vdso/Makefile:61: recipe for target 'arch/arm64/kernel/vdso/' failed Cc: Bruce Ashfield <> Cc: Nishanth Menon <> (From OE-Core rev: ddad8183490c725062626fa52985da2b04a2aa8f) Signed-off-by: Denys Dmytriyenko <> Signed-off-by: Richard Purdie <>
6 daysimage-live.bbclass: optional depends when ROOTFS emptyGuillaume Champagne1-1/+1
`ROOTFS` is optional. It can be empty if the live image doesn't require a rootfs. In such cases, the build doesn't depend on `do_image_{LIVE_ROOTFS_TYPE}`. (From OE-Core rev: 96f47c39f1d17f073243913d524bde84add41d8f) Signed-off-by: Guillaume Champagne <> Signed-off-by: Richard Purdie <>
6 daysperl: fix creation and generate new perl-rdepends.txtAwais Belal2-2/+10
The creation of perl-rdepends.txt simply copied over the generated list (perl-rdepends.generated) to perl-rdepends.txt while missing out the manual dependencies placed in This caused missing runtime dependencies. Additionally, the mechanism always appended which then produced duplicated lines in perl-rdepends.txt if the creation function is run multiple times. We now concatenate both the .inc and .generated to the final .txt so manual and generated both types of dependencies make it to the final configuration. A new perl-rdepends.txt is then generated with these fixes. (From OE-Core rev: 61d6584eeadb42943a020c4168f398e7abb377e2) Signed-off-by: Awais Belal <> Signed-off-by: Richard Purdie <>
6 daysperl: allow empty lines and comments in perl-rdepends.txtAwais Belal1-0/+3
With this change the rdepends file can now have empty lines and comment lines. The perl-rdepends.txt generation will be fixed with further commits to leverage this change. (From OE-Core rev: 2256afc652d69e720a31f7c5858d5ab32b0065f2) Signed-off-by: Awais Belal <> Signed-off-by: Richard Purdie <>
6 daysptest-runner: correct version checkAlexander Kanavin1-1/+0
(From OE-Core rev: 0942515b32d79fd1043adaa27942203680b31cfa) Signed-off-by: Alexander Kanavin <> Signed-off-by: Richard Purdie <>
6 daysptest-runner: Upgrade to 2.4.1Anibal Limon1-1/+1
Changes: cce0edb utils.c: wait_child reimplement timeout using alarm acbba90 utils.c: Use a thread to read from child cb2840a utils.c: Fix exit status of a child 77bc79e utils.c: get_available_ptests allow to specify relative directories d27e242 Small fix mtrace call c5d5831 tests/utils.c: Add braces in START_TEST/END_TEST now required in check 0.15.x (From OE-Core rev: e3fd8f17dfb41173dbe037c25087a69f90b1346f) Signed-off-by: Aníbal Limón <> Signed-off-by: Richard Purdie <>
6 daysmesa: enable dri in native/nativesdk through gallium driversAlexander Kanavin2-4/+2
Previously, dri was enabled via a token dri driver (swrast, then nouveau). Upstream is discussing removing dri drivers altogether (they're becoming difficult to support and only needed for obsolete x86 hardware), so let's prepare for that happening in the future: (From OE-Core rev: d32add868ee5cb05c4fdbc0c30c7bb01070e683b) Signed-off-by: Alexander Kanavin <> Signed-off-by: Richard Purdie <>
6 daysmesa: gallium option requires libdrmAlexander Kanavin1-1/+1
Previously it was pulled in via dri option, and there was no configuration where gallium was enabled and dri was not. (From OE-Core rev: 1328556e9c0853babff45bf1bf67643d7ddfdabb) Signed-off-by: Alexander Kanavin <> Signed-off-by: Richard Purdie <>
6 daysrunqemu: do not stop processing graphical options after nographicAlexander Kanavin1-1/+0
Some options such as egl-headless are fully compatible with it, so there is no need to quit. (From OE-Core rev: 66d11106f9e76d19e397ba3d14c3a22726033567) Signed-off-by: Alexander Kanavin <> Signed-off-by: Richard Purdie <>
6 daysmesa: update 21.0.0 -> 21.0.1Alexander Kanavin3-1/+1
(From OE-Core rev: e72dc396f0e147b078160fae0ac43861eb60e76f) Signed-off-by: Alexander Kanavin <> Signed-off-by: Richard Purdie <>