summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-06-01create_spdx: Add missing variable exclusionsjpew/spdx-pkg-archRichard Purdie
Some variables cause issues with taskhashes and are accounted for in the output in other ways, or don't affect it. Exclude these to improve the taskhashes with create-spdx and allow the sstate selftests to work better. (From OE-Core rev: ce187e864e611e001c85b5e6a3cac01f8ec9ed45) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01layer.conf: Add missing dependency exclusionRichard Purdie
Add a dependency which should have been in this list but wasn't, found when debugging create-spdx hash issues. (From OE-Core rev: 93bb5c9906f008a3407105091dfb328baa724691) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01sstatesig: Drop SPDX special casingRichard Purdie
Other changes in create-spdx code mean we shouldn't need to do this now. We need the various exclusions to allow the task hashes to behave correctly for the SPDX tasks too. (From OE-Core rev: 8a006b611cb2f7970561cac66c8096a5e6126e16) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-06-01classes/create-spdx-2.2: Fix runtime dependency calculationsJoshua Watt
Fixes the runtime dependency calculations to also only follow direct dependencies of the current task instead of all transient dependencies in a similar way as the build time dependencies. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2023-06-01classes/create-spdx-2.2: Make license errors fatalJoshua Watt
Otherwise the task is still put into sstate, which means the error can effectively be hidden by ignoring it. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2023-06-01server: Fix crash when checking lock fileJoshua Watt
Fixes a crash when the server process attempts to check the PID of the lock file that resulted because an integer (os.getpid()) was attempting to be concatenated to a string Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2023-06-01classes/create-spdx-2.2: Fix build time dependency calculationsJoshua Watt
Build time dependencies were not being correctly calculated for SPDX documents because while a task can `deptask` itself (as do_create_spdx did), those dependencies do not appear in BB_TASKDEPDATA (to avoid circular dependencies). To fix this, an intermediate task called do_collect_sdpx_deps is created that does the 'deptask' on do_create_spdx and records the recipe dependencies. do_create_spdx then runs after this new task. This breaks the circular dependency and thus all of the do_create_spdx tasks correctly show up as dependencies of do_collect_spdx_deps. In addition, the dependency collection logic was improved to handle the case of transitive dependencies (that is, a dependency of a dependency) SPDX documents missing and causing an error. These transitive dependencies don't actually need to be included anyway since one can follow the relationship of the direct dependency to find them. As such, the code is reworked to find the current task in BB_TASKDEPDATA, and then only collect the immediate dependencies of the current task. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2023-05-31meta-world-pkgdata: Fix for create-spdxRichard Purdie
(From OE-Core rev: a2c863626a828ec0b37e69a48e217b7f78df7825) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31create-spdx: sdk pkgdata fixupRichard Purdie
(From OE-Core rev: f179987b93d3d857b4b290037742fd51aeb8a023) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-31classes/create-spdx: Respect PKG for providersJoshua Watt
If a package renames itself using PKG, the new name should be respected as a name that the recipe provides. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2023-05-31classes/create-spdx-2.2: Split documents by SSTATE_PKGARCHJoshua Watt
Previously, all SPDX documents were put into the same subdirectory that was named ${MACHINE}. This is wrong however because different recipes variants (e.g. native, nativesdk, multilib) can all produce different SPDX documents that would attempt to be written under the same "MACHINE", which causes conflicts and errors. Instead, split documents by SSTATE_PKGARCH which avoids these conflicts. In order for this to work properly, a given SPDX task needs a method for finding the SPDX document generated by its dependencies which is more difficult because it doesn't know the dependencies SSTATE_PKGARCH. To solve this, create another document index based on the hash filename (hashfn) that is now reported by bitbake in BB_TASKDEPDATA Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2023-05-30runqueue: Pass hashfn in taskdep dataJoshua Watt
Include the hashfn (the value of BB_HASHFILENAME) in the task dependency data. This allows tasks to get a specific unique hash for dependent tasks when one is available. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2023-05-30Revert "sqlite3: Whitelist CVE-2022-21227"Richard Purdie
This reverts commit cfc42fdabb3f12eb4ac5069a549ba5699385dfdc. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29selftest: wic.py respect IMAGE_LINK_NAMEMartin Jansa
* use IMAGE_LINK_NAME instead of hardcoding core-image-minimal-${MACHINE} assumption [YOCTO #12937] (From OE-Core rev: e34d7617b00ec9423221c9c7b96be6f9e5358e6a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29sqlite3: Whitelist CVE-2022-21227Sanjay Chitroda
This CVE is applicable to "SQLite3 bindings for Node.js" only. References: https://nvd.nist.gov/vuln/detail/CVE-2022-21227 (From OE-Core rev: cfc42fdabb3f12eb4ac5069a549ba5699385dfdc) Signed-off-by: Sanjay Chitroda <schitrod@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29connman: backport a fix for build with pppd-2.5.0Martin Jansa
* pppd was upgraded in: https://git.openembedded.org/openembedded-core/commit/?id=5512bf4dfd299b8d5d474d9f26c2146b3e53514a * connman fails to build with pptp or l2tp PACKAGECONFIG is enabled (From OE-Core rev: 0688b307c82c8cc454633ff92e4bc06987a7ac77) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29curl: Update from 8.1.0 to 8.1.1Robert Joslyn
This is a bugfix only release. Release notes: https://curl.se/changes.html#8_1_1 (From OE-Core rev: 833191171181f11802a3e0ae8b91b8ca5892b067) Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29Revert "sqlite3: update CVE_PRODUCT"schitrod=cisco.com@lists.openembedded.org
This reverts commit 8800976e79d65956218ab462d9644d0661579301. As per NVD database "ghost:sqlite3" product is specific to "node.js" CVEs reported against above products are not applicable to us. (From OE-Core rev: 7616b1d28cb119adb471b5268a77ec61d5dd555c) Signed-off-by: Sanjay Chitroda <schitrod@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29Revert "python3/ruby/shadow: Revert add libxcrypt-native dependency"Richard Purdie
This reverts commit c6198e1b1c3e3a3413b6ff9f014b40114f1850db. This reverts commit 167c2c9f15c1bfe401c0512e420a76fa1379c012. This reverts commit 65532fc751dc00e5568e256166f7b259d3a3c06c. The dependencies should not be a -native in the target case. Revert these whilst the proper patch is worked out. (From OE-Core rev: 54eccb76eb8ba2086a56a30dfbb8aba06b02865a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-29uninative: Upgrade to 4.0 to include latest gcc 13.1.1Michael Halstead
(From OE-Core rev: f87becb69e02bdf055dffb633ed4f6d36b36f7a7) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28busybox: 1.36.0 -> 1.36.1Andrej Valek
- regression on x86 is still in place (From OE-Core rev: 09c5499f5885662a55a8810078e7208a1696b29f) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28glib: Fix ptest race issueRichard Purdie
gio/tests/portal: Fix test ordering race When the gnome test runner executes the tests, the test appear to execute in disk order. This means it sometimes works and we sometimes see breakage in portal-support-snap and portal-support-snap-classic. The issue is that some tests create config files but some don't. If they run in the wrong order, tests see config files they shouldn't and break. Fix this by deleting the files after each test run, properly cleaning up after themselves. There are probably better ways to handle this but this patch should at least let us check this is the issue. I've tried to report upstream but their issue tracker account creation is struggling and I can't get my account to work. (From OE-Core rev: bff17171841fd15fb6084262e397c736005f7e3b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28shadow: add libxcrypt-native dependencyMarkus Volk
crypt.h is otherwise taken from the host machine (From OE-Core rev: 65532fc751dc00e5568e256166f7b259d3a3c06c) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28ruby: add libxcrypt-native dependencyMarkus Volk
crypt.h is otherwise taken from the host machine (From OE-Core rev: 167c2c9f15c1bfe401c0512e420a76fa1379c012) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28python3: add libxcrypt-native dependencyMarkus Volk
crypt.h is otherwise taken from the host machine (From OE-Core rev: c6198e1b1c3e3a3413b6ff9f014b40114f1850db) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28ell: upgrade 0.56 -> 0.57Markus Volk
ver 0.57: Fix issue with handling Generic Netlink cancel requests. ell 0.57 is required for iwd 2.5 (From OE-Core rev: f13fe33403f077802640e70a84596546d555c3b9) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28gcc: Upgrade to 13.1.1Khem Raj
Some distros e.g. gentoo have latest on gcc-13 branch and we have a situation where libstdc++ ABI is changed between 13.1 and 13.2 so official 13.1 release based uninative will no longer work on these distros, therefore switch to a snapshot that includes [1] which fixes it [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 Reported-by: Martin Jansa <Martin.Jansa@gmail.com> (From OE-Core rev: d554c404166f6ba1aa247c377fa9d3316e53aa40) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-28uninative: Upgrade to 3.10 to support gcc 13Michael Halstead
(From OE-Core rev: f811bffb861b23238e8291394bd6e8407f013619) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26migration-guides: release-notes-4.0.4.rst: fix typoMichael Opdenacker
Introduced by previous commit (From yocto-docs rev: 084ba9fad50d9903f520d0333e6a7d5ed4f40cc9) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26migration-guides: add release notes for 4.0.10Lee Chee Yang
(From yocto-docs rev: 49cfa32a08be0d0fe0d98c8c1a6b2ff69c659025) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26migration-guides: use new cve_mitre macroMichael Opdenacker
(From yocto-docs rev: 9dc21e807e76c5ea8429ac31b57ad7b352fbaa71) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26conf.py: add macro for Mitre CVE linksMichael Opdenacker
Useful for CVEs that are not found (yet) on https://nvd.nist.gov/ (From yocto-docs rev: bd9add8a0e62465429cf62c314aaa766b7f6f544) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26manuals: kernel-dev: Use protocol=https in a SRC_URI examplePeter Kjellerstedt
This matches the change in commit 139102a73d (recipes: Default to https git protocol where possible) in openembedded-core. (From yocto-docs rev: 0e1e0d2dd986dcc6462f979ecc5a1ac1e17476ba) 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>
2023-05-26releases.svg: fix and explain duration of Hardknott 3.3Michael Opdenacker
(From yocto-docs rev: 518a81859619104cb97d5a68d8542c1861ad772b) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reported-by: Takayasu Ito <ito@lineo.co.jp> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26migration-guides: update 4.3 release notesMichael Opdenacker
(From yocto-docs rev: ad3ba5c576011e31f71a39c9138f8bd67b3c444f) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26ref-manual: improve documentation for kernel-devicetree classMichael Opdenacker
- Document the new KERNEL_DTBDEST and KERNEL_DTBVENDORED variables - Also document the related KERNEL_DEVICETREE_BUNDLE and KERNEL_PACKAGE_NAME variables (From yocto-docs rev: 19f128e725da35234ec2c234c667ee7ff3d67d8d) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26migration-guides: add release-notes for 4.1.4Lee Chee Yang
(From yocto-docs rev: 77c0076a5dc35282aa09fb4453a69e2f4738b09e) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26ref-manual: document uboot-sign class and variablesMichael Opdenacker
(From yocto-docs rev: 221bcf2e32fb42b6527ff0b4cfe0c4591ab89f78) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> CC: Jamin Lin <jamin_lin@aspeedtech.com> CC: Sean Anderson <sean.anderson@seco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26ref-manual: improve description of kernel-fitimage variablesMichael Opdenacker
- Mentioning that they are related to this class (for further information about their usage) - Replace "fitImage" by "FIT image" - Minor formating and style fixes (From yocto-docs rev: 07214a4ff2646efb143a02fc9381a029870e9b56) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> CC: Jamin Lin <jamin_lin@aspeedtech.com> Reviewed-by: Sean Anderson <sean.anderson@seco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26ref-manual: document devicetree class variablesPetr Kubizňák
Document the newly added DT_FILES variable and closely related DT_FILES_PATH. Also add DT_PADDING_SIZE to the glossary. (From yocto-docs rev: 8f3f187e2353c718c6fb4e224d13ba559ad2f85b) Signed-off-by: Petr Kubizňák <kubiznak@2n.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26releases.svg: update according to latest releaseMichael Opdenacker
- Update the Mickledore starting and ending time - Mickledore is no longer a future release (From yocto-docs rev: 47b5eba8a38df4bfc6c704d3cfb7a24bfd8c4dce) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26release-notes-4.2: update known issues and Repositories/DownloadsLee Chee Yang
(From yocto-docs rev: 3f5897c5909b8b9b0e2f9d1f1d541c4a8a4d89da) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26migration-guides: release-notes-4.3: add stub section for documentation changesMichael Opdenacker
(From yocto-docs rev: 91ce841fa166d68448fa26b68a199de020ff18ac) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26migration-guides: release-notes-4.2: add doc improvement highlightsMichael Opdenacker
(From yocto-docs rev: 66b5f10bf0747b6ae0a8fbb05103e2f1070b6474) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26linux-yocto: Drop 5.15 supportRichard Purdie
5.15 doesn't work with gcc 13 and we'll be replacing 5.15 with a new kernel version later in the release cycle. Drop 5.15 now so we can move forward with gcc 13 and we'll add a new kernel version later. (From meta-yocto rev: 084d840d7f655466d5d668ca309a8b09b83f23fb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26glib-2.0: Fix TMPDIR mismatch test failuresRichard Purdie
gcc 13 appears to trigger TMPDIR changes in glib which causes ptest failures: FAIL: glib/utils-c-90.test (Child process killed by signal 6) FAIL: glib/utils.test (Child process killed by signal 6) FAIL: glib/utils-c-99.test (Child process killed by signal 6) FAIL: glib/utils-c-17.test (Child process killed by signal 6) FAIL: glib/utils-c-11.test (Child process killed by signal 6) The issue is caused by our symlinks between tmp directories which cause the tests to get confused. We can set G_TEST_TMPDIR to a resolved path using readlink to avoid the failures. (From OE-Core rev: 7ef0ce88e23c7ca138bc4041931d9bfe1d85dfc0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26lttng-tools: Add patch to fix gcc 13 test issueRichard Purdie
Add a couple of patches from upstream which fix a failing test with gcc 13. (From OE-Core rev: 9148de637f565578a96e8c02bad765ce3daffe27) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26perf: Fix build with gcc-13Khem Raj
(From OE-Core rev: 5a891d8c3d7e9d8d36bab680ef9fe3ac40fdb8b8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-26bitbake.conf: Add -fcanon-prefix-map to DEBUG_PREFIX_MAPKhem Raj
This should help canonicalize the relative paths and symlinks during cross compile, -fcanon-prefix-map is newly added in gcc-13+ [1] [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108464#c8 (From OE-Core rev: ba778e43576aaab212751ccc13270fd4c504ba1f) (From OE-Core rev: abe97fa74b10c2c71d79bc3573d4edb509b111f5) 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>
2023-05-26gcc: Upgrade to GCC 13.1 releaseKhem Raj
- Package libhwasan_preinit.o, its available on some arches e.g. x86_64 on gcc13+ - GCC 13 Porting guide [1] and major changes [2] and detailed documentation [3] - Fix aarch64 cross build when S != B [1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html [2] https://www.gnu.org/software/gcc/gcc-13/changes.html [3] https://gcc.gnu.org/onlinedocs/13.1.0/ (From OE-Core rev: b80c020eaeaaae82e5b32209ca8608b36eaaee40) (From OE-Core rev: bea46612fd9106cc5b46eb1d81623b6492563c13) 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>