summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-02-21poky-tiny: set QB_DEFAULT_FSTYPE correctlyross/tinyRoss Burton
QB_DEFAULT_FSTYPE is used literally as the image extension in the testimage code, so this shouldn't be set as IMAGE_FSTYPES because that variable is a list of image types, so if IMAGE_FSTYPES is extended and testimage ran it will try to look for an image called e.g. "core-image-minimal-cpio.gz ext4". Instead, set QB_DEFAULT_FSTYPE explicitly to cpio.gz. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-21poky-tiny: don't blacklist core-image-base and core-image-full-cmdlineRoss Burton
Building a "tiny" core-image-full-cmdline may not make a lot of sense, but it build, so don't blacklist these images. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-21Revert "poky-tiny: don't set image fstypes"Ross Burton
This reverts commit b73c01e4bff72820af4ff99d256c6a5b6fc3a0f3. Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-21poky-tiny: don't set image fstypesRoss Burton
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-02-21tiff: Add backports for two CVEs from upstreamRichard Purdie
(From OE-Core rev: 6ae14b4ff7a655b48c6d99ac565d12bf8825414f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21vim: Upgrade 8.2.4314 -> 8.2.4424Richard Purdie
License file had some grammar fixes. Includes CVE-2022-0554. (From OE-Core rev: a8d0a4026359c2c8a445dba9456f8a05470293c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21libxml-parser-perl: Add missing RDEPENDSRichard Purdie
Running the ptest package in an image alone highlighted missing module dependencies. Add them to fix those errors. (From OE-Core rev: 3859f49db2d694c7b63fdbe25be0018afba5c738) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21perl: Improve and update module RPDEPENDSRichard Purdie
The perl module RDEPENDS needed refreshing so I updated it with the script. I also found a ton of issues with missing test2 module dependencies so I've tweaked the generator script to improve those. For some reason they were previously excluded but I can't see anything wrong with the generated dependencies so I've added them. A number of manual dependencies were still needed in addition. I did notice an issue with trailing ")" characters so the sed is updated to handle that (it did already handle "("). This fixes issues seen in the dependecies for libxml-parser-perl's ptest package. (From OE-Core rev: a5b0f6cacb6ae785ea10f8561982692772d198a9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21expat: Upgrade 2.4.5 -> 2.4.6Richard Purdie
(From OE-Core rev: 91aa5e3f94a7f82be7949ecfde2764d51384ad42) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21expat: Upgrade 2.4.4 -> 2.4.5Richard Purdie
This is a security fix release containing fixes for CVE-2022-25235, CVE-2022-25236, CVE-2022-25313, CVE-2022-25314 and CVE-2022-25315. (From OE-Core rev: b71344dacb71cfc452b335a6f2fb9cb74e2e1ff8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20libhandy: Use upstream regex to check version of upgrade.wangmy
(From OE-Core rev: 3ca368aa12ac3a8398312c9bf5cb6136261d56af) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20waffle: add wayland-protocols when building with waylandAndrey Zhizhikin
When 'wayland is selected in ' DISTRO_FEATURES, following build error occurs during do_configure: | Run-time dependency wayland-protocols found: NO (tried pkgconfig) | | ../git/meson.build:120:2: ERROR: Dependency "wayland-protocols" not found, tried pkgconfig Add "wayland-protocols" to PACKAGECONFIG to resolve missing dependency. (From OE-Core rev: a545a0848c6526d58731bc333f2ade0ae926fcc4) Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20grub: Fix build with bintutils 2.38 on riscvKhem Raj
(From OE-Core rev: d42596457628f41baa5729545e2932c6692f73ee) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20libgit2: Upgrade to 1.4.1Khem Raj
this is bugfix release https://github.com/libgit2/libgit2/releases/tag/v1.4.1 (From OE-Core rev: ee862994d27d1a82642309b84e5957e4a7d341e3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20sstate: Setup fetcher environment in advanceRichard Purdie
The threading code here can race as the fetcher changes the environment which is shared between the threads. By setting it up in advance, it isn't changed and therefore no longer races. (From OE-Core rev: cabc3cc2eac5916e63340c18d1074411b377ced4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20oeqa/selftest/bbtests: Update after license changesRichard Purdie
Update the test to match the renamed license in the recipe. (From OE-Core rev: 3d50ee782e5073c055d72f114619502719a33752) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie
license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20scripts: Add a conversion script to use SPDX license namesRichard Purdie
We're standardising on SPDX license names so it is overdue to change the ones in the LICENSE fileds to the SPDX values. Add a conversion script which makes this straightforward on the most part. Ultimately this allows the core code to be more efficient and not need to consult the mappings. (From OE-Core rev: 512cd4ca91bc5107d68b7e721257a8f62f878994) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20core-image-testmaster: Rename to core-image-testcontrollerRichard Purdie
Rename the image, the test controller class/code/module and the underlying image sentinel file to all match the controller terminology. (From OE-Core rev: f87b32833ac5327c4659ab8c06af34e7bda83f83) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20gstreamer1.0: update licenses of all modulesJose Quaresma
Since all gstreamer modules uses LGPLv2.1 with exceptions for some plugins in bad and ugly modules that has GPLv2+. (From OE-Core rev: 7ca1bce20ded40468e31ede74f901434ad31c0e2) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20gdb: update 11.1 -> 11.2Alexander Kanavin
Simplyfy .inc structure: merge gdb.inc into gdb_11.2.bb, rename gdb-${PV}.inc to gdb.inc. This will allow easier automatic updates. Drop upstreamed patch. (From OE-Core rev: ee8ec22c75f5eacae7a6b1cafe0df6e21acde479) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: fetch2: Abstract fetcher environment to a functionRichard Purdie
The changing of the environment inside the wget fetcher can race if threading is used, such as with sstate in OE-Core. Abstract the function so the environment can be correct before the function is called, removing the race since the enviroment is then no longer changed. (Bitbake rev: c73bb6023c73f003a160bb02aa4da1b580b86c23) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: wget: Fix grammar "can happen"Zygmunt Krynicki
(Bitbake rev: 52630eefb5174e4ca357ac57085093a7f5767bd8) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: utils: Fix typo "dependency" and "spawning"Zygmunt Krynicki
(Bitbake rev: 8f76117816fa84367753d5eee0264b90e9f29a8c) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: tinfoil: Fix typo "receive" and "something"Zygmunt Krynicki
(Bitbake rev: 2e0407f6d8fbea22a4bfde124f7665a912482401) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: progress: Fix typo "wherever"Zygmunt Krynicki
(Bitbake rev: bb43be9b8b10b7d799436790e9bce0ef3df4aa6d) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: process: Fix typo: "process"Zygmunt Krynicki
(Bitbake rev: 2874e9cb3ebfd675657919eca7286ccdc25a63b6) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: persist_data: Fix typo "committed"Zygmunt Krynicki
(Bitbake rev: f9bea2b29ad8121ca82df82cdbc71f5b9d15d515) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: fetch2/git: Remove duplicate "the"Zygmunt Krynicki
(Bitbake rev: 02e29e90eac56e46635e9ae44e5c5da684b70ed2) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: fetch2: Fix typo "conform" and "processed"Zygmunt Krynicki
(Bitbake rev: e1c13a820f9e3154699ec32d84cce502464e4f6b) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: event: Fix typo "asynchronous" and "occasionally"Zygmunt Krynicki
(Bitbake rev: bb60472ff41b583b7b3a65e7ddccd4554840952b) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: daemonize: Fix typo "separate"Zygmunt Krynicki
(Bitbake rev: c93bc3849051c758fd7ca54226933172b0cb0c5d) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: cookerdata: Fix typo "normally"Zygmunt Krynicki
(Bitbake rev: d0b633256daf8d11f213a14fb44ebc6bc5d45f37) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: cooker: Fix typo "isn't" and "tuples"Zygmunt Krynicki
(Bitbake rev: ac688b6e93faa51d48768b677685499862d3e7c4) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: fetch2/wget: move loop-invariant load of BB_ORIGENVZygmunt Krynicki
BB_ORIGENV is used as a fallback environment block. It is repeatedly accessed inside the loop. Since it is a loop invariant, move it out of the loop. (Bitbake rev: 346a1a6c76d40458d7b4c116147ec4d371bee74a) Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20bitbake: utils: Fix environment decorator logic errorRichard Purdie
File "/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testsdkext/layers/build/bitbake/lib/bb/fetch2/wget.py", line 328, in checkstatus with bb.utils.environment(**newenv): File "/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testsdkext/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.10/contextlib.py", line 142, in __exit__ next(self.gen) File "/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testsdkext/layers/build/bitbake/lib/bb/utils.py", line 1737, in environment del os.environ[var] File "/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testsdkext/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.10/os.py", line 695, in __delitem__ raise KeyError(key) from None It is possible the wrapped function might change the environment which can lead to KeyError issues like this. The key may no longer be in the original environment so handle that case correctly and avoid the tracebacks. (Bitbake rev: ae4ce4c21998bb2a12a1e1f0b8e0af8d218b87e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20manuals: Remove unnecessary \n from SSTATE_MIRRORS examplesPeter Kjellerstedt
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror entries) there is no need to separate the entries in SSTATE_MIRRORS with "\n". (From yocto-docs rev: 87b34b69b2df72d4e6edbd81839622fffd560331) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18manuals: add 3.4 and 3.4.1 release notes after migration informationMichael Opdenacker
Only done for release 3.4 and 3.4.1 so far. Release notes are kept under the migration-guides/ directory for the moment, for easier reviewing. (From yocto-docs rev: b311070d866cf4ab51c72ff3ac7bc41ea3e932cb) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18ref-manual: update TCLIBC descriptionMichael Opdenacker
Stop mentioning the long gone POKYLIBC variable and fix punctuation (From yocto-docs rev: d90be3bbfd45317ce07d1715af3d65ffb1e24ac7) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18documentation: Add multiconfig initramfs configuration:Alejandro Hernandez Samaniego
dev-manual/common-tasks.rst: Add section to create an initramfs image from a separate multiconfig. ref-manual/variables.rst: Add new variable definitions for INITRAMFS_DEPLOY_DIR_IMAGE and INITRAMFS_MULTICONFIG (From yocto-docs rev: 7853ab3df82c27ba309879a66a084b2e597dc1e5) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18dev-manual: update example from kernel.bbclassChristian Eggers
Since f7485646534e ("kernel: provide virtual/kernel for all kernels"), all recipes which inherit kernel.bbclass provide "virtual/kernel", independent of the value of `KERNEL_PACKAGE_NAME`. (From yocto-docs rev: da69e75c7f84f51c8fa95e9217e11b4b36af52d6) Signed-off-by: Christian Eggers <ceggers@arri.de> Reviewed-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18archiver: Fix typoRichard Purdie
(From OE-Core rev: 3389fa68eed8a55c3a3b413798676a944b1366ca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18glibc: fix create thread failed in unprivileged processHongxu Jia
Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2 and clone3] applied, start a unprivileged container (docker run without --privileged), it creates a thread failed in container. In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined. If __clone3 returns -1 with ENOSYS, fall back to clone or clone2. As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP, CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS was specified by an unprivileged process (process without CAP_SYS_ADMIN) [1] https://man7.org/linux/man-pages/man2/clone3.2.html So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could fix the issue. (From OE-Core rev: 58802b2c4f63a4572cc7cca26d1d8a6b30e2fc79) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18go: upgrade 1.17.6 -> 1.17.7wangmy
(From OE-Core rev: e1a1b201c4a850ae116d88975df3fdab4dea6945) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18recipeutils: Add missing get_srcrev() callRichard Purdie
Updates within bitbake now require this call to be triggered somewhere with floating git source revs. Add the missing call. Issue can be reproduced with: devtool check-upgrade-status dbus-wait (From OE-Core rev: d7088b2b5012f9e386914a6837685f5869379cc5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18diffoscope: upgrade 202 -> 204Alexander Kanavin
(From OE-Core rev: 77dcb7c0a99a210e0987f70715cfd0ceb8027d93) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18libical: upgrade 3.0.13 -> 3.0.14Alexander Kanavin
(From OE-Core rev: 362539186adf94ed08e87a5447c16ca0e983c2fb) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18gst-examples: upgrade 1.18.5 -> 1.18.6Alexander Kanavin
(From OE-Core rev: 7deb66a4a707cc6615470a5ff011bad017cf9eea) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18shaderc: upgrade 2022.0 -> 2022.1Alexander Kanavin
(From OE-Core rev: 5af183b73e01848a59d1edd04692c4d4f9b276f1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18piglit: upgrade to latest revisionAlexander Kanavin
(From OE-Core rev: 985d2d1953f9edafa5ca3636f4553f968ef16591) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>