summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* vim: Upgrade 8.2.4681 -> 8.2.4912Richard Purdie2022-06-011-2/+2
| | | | | | | | | | | Includes fixes for CVE-2022-1381, CVE-2022-1420. (From OE-Core rev: 4757b4381f56a0d6da373e3fc75a28ab7958d26f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 77d745bd49c979de987c75fd7a3af116e99db82b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade 20220411 -> 20220509Dmitry Baryshkov2022-06-011-2/+2
| | | | | | | | | | | | License-Update: additional files (From OE-Core rev: 847a200fb0d2107732430da61b50c41c64493251) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 85b1fef733683be09a1efdb2d8b8ffe543053ace) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adding missing space in appendsMichael Opdenacker2022-05-243-6/+6
| | | | | | | | (From yocto-docs rev: 9ae3071f66c1811d847ed559cb773999ff6185fc) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reported-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: sort-pmuevents: allow for additional type qualifiers and storage classMax Krummenacher2022-05-121-14/+16
| | | | | | | | | | | | | | | | | | With kernel 5.16 some structs in pmu-events do get a const qualifier, some a static const storage class and qualifier. The current sort-pmuevents cannot cope with that and drops all struct arrays with such additional elements. This then leads to compiler errors. Allow '^struct', '^const struct', '^static struct', '^static const struct'. (From OE-Core rev: e0d5d93a18d1682f3393fc10133f08009f008601) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> (cherry picked from commit 8406e83ade1c34d8a7d8063f2e7445aafa471721) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: sort-pmuevents: don't drop elementsMax Krummenacher2022-05-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a struct element neither has an element cpuid or name it gets silenty dropped. Kernel 5.15 for some ARCHs have at least one array of structs matching this. e.g. for arm pmu-events.c: |#include "pmu-events/pmu-events.h" struct pmu_events_map pmu_events_map[] = { { .cpuid = 0, .version = 0, .type = 0, .table = 0, }, }; struct pmu_sys_events pmu_sys_event_tables[] = { { .table = 0 }, }; Before this patch the second struct is translated to an empty array:: struct pmu_sys_events pmu_sys_event_tables[] = { }; (From OE-Core rev: a6cc268224194218809b56874c70b87c7df4a94f) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> (cherry picked from commit e1382583cd5060be301afaa9998ccf250cc8bca3) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: support kernel 5.18+Bruce Ashfield2022-05-1211-1/+750
| | | | | | | | | | | | | | | | Backporting changes from lttng master to support building against the 5.18+ kernel. No changes required to the patches. Once a new -stable 2.13.x is released, we can drop these patches. To enable newer kernel development against the LTS, it is worth pulling these in while we wait for an upstream release. (From OE-Core rev: 99c3034acf03a3099d78523c33501e58703a13b7) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8a7237a47488442513741930ea55d69dd6bd7be4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: upgrade 2.13.2 -> 2.13.3wangmy2022-05-121-1/+1
| | | | | | | | | | | (From OE-Core rev: 346d7e6acabbaac3563dbf4df51b425a228ead81) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f9b3727b9f4014a8b08c2ba9c03b8b5f96f01083) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: upgrade 2.13.1 -> 2.13.2wangmy2022-05-121-3/+2
| | | | | | | | | | | | | | | | | | | | | | Changelog: ========= * Fix: incorrect in/out direction for syscall exit * fix: net: socket: rename SKB_DROP_REASON_SOCKET_FILTER (v5.17) * fix: net: skb: introduce kfree_skb_reason() (v5.17) * fix: random: rather than entropy_store abstraction, use global (v5.17) * fix: btrfs: pass fs_info to trace_btrfs_transaction_commit (v5.17) * fix: mm: compaction: fix the migration stats in trace_mm_compaction_migratepages() (v5.17) * fix: block: remove the ->rq_disk field in struct request (v5.17) * fix: block: remove GENHD_FL_SUPPRESS_PARTITION_INFO (v5.17) * Copyright ownership transfer (From OE-Core rev: 8407ac82264475ade1f8ef7fbafd70f830a0376c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 093d6dba95c03911d3d7e1b3b07ceff2c1de5563) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-modules: update to 2.13.1Bruce Ashfield2022-05-123-1226/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping lttng-modules to 2.13.1, which fixes the build against 5.16+ kernels. We drop two previously backported patches. The following commits are part of this update: 8c0aec7e Version 2.13.1 533556cd fix: mm: move kvmalloc-related functions to slab.h (v5.16) 2f0087ab fix: block: don't call blk_status_to_errno in blk_update_request (v5.16) 9b092ff2 fix: KVM: MMU: change tracepoints arguments to kvm_page_fault (v5.16) 036297af fix: KVM: x86: Get exit_reason as part of kvm_x86_ops.get_exit_info (v5.16) a029f2a3 fix: isystem: delete global -isystem compile option (v5.16) d82de6f3 fix: block: move block-related definitions out of fs.h (v5.16) 4fabf854 Fix: syscall tracing: missing trigger actions 38b35aff Warn on event registration/unregistration failure e26f740b fix: implicit-int error in EXPORT_SYMBOL_GPL c570be0d fix: Revert "Makefile: Enable -Wimplicit-fallthrough for Clang" (v5.15) 8be4c8a3 fix: cpu/hotplug: Remove deprecated CPU-hotplug functions. (v5.15) (From OE-Core rev: e0c8a921e9cc9fd1c0f120a3012990bba87957cd) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2edeebed4ff172f77e337af82fc1cddc681881df) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/git: Ensure we don't have circular referencesRichard Purdie2022-05-121-1/+8
| | | | | | | | | | | | | | | | This is horrible but I'm running out of better ideas. We hit circular reference issues which we were trying to avoid in the core HOSTTOOLS code. When building the eSDK, there can be two copies of the script. Therefore assume git will never be in a directory called scripts. This fixes eSDK build failures. (From OE-Core rev: 8b1d8ba7e1b2e4278c9127654a66336d2615e58b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 27de610ac30d4c81352efc794df7e9b1060f7a68) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts: Make git intercept globalRichard Purdie2022-05-121-0/+0
| | | | | | | | | | | | | | | | | | The previous minimially invasive git intercept simply isn't enough. For example, meson used in the igt-gpu-tools recipe hardcodes the path to git in the configure step so at install time, changing PATH has no effect. There are lots of interesting things we could do to try and avoid problems but making the git intercept and dropping fakeroot privs for git global is probably the least worst solution at this point. It will add slight overhead to git calls but we don't make many so the overall impact is likely minimal. (From OE-Core rev: 2863b1237128906bccf7d2e9ecb739afb395fe4e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit af27c81eaf68ee681dcd9456a74cca6a9ab40bf6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base: Drop git interceptRichard Purdie2022-05-121-1/+0
| | | | | | | | | | | We're going to use the environment approach for solving this issue. (From OE-Core rev: 16686a05a6acc87725431b964ac6a0d1271d4716) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0982977dc052ad4e65608f6853f930121d08837a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* install/devshell: Introduce git intercept script due to fakeroot issuesPaul Gortmaker2022-05-123-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a devshell, recent versions of git will complain if the repo is owned by someone other than the current UID - consider this example: ------ bitbake -c devshell linux-yocto [...] kernel-source#git branch fatal: unsafe repository ('/home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source kernel-source# ------ Of course the devshell has UID zero and the "real" UID is for "paul" in this case. And so recent git versions complain. As the whole purpose of the devshell is to invoke a shell where development can take place, having a non-functional git is clearly unacceptable. Richard suggested we could use PSEUDO_UNLOAD=1 to evade this issue, and I suggested we probably will see other similar instances like this and should make use of PATH to intercept via devshell wrappers - conveniently we already have examples of this. Here, we copy the existing "ar" example and tune it to the needs of git to combine Richard's suggestion and mine. As such we now also can store commit logs and use send-email with our user specific settings, instead of "root", so in additon to fixing basic commands like "git branch" it should also increase general usefulness. RP: Tweaked the patch so the PATH change only applies to the devshell task and is a generic git intercept rather than devshell specific. RP: Also apply the PATH change to do_install tasks since that also runs under fakeroot and several software projects inject "git describe" output into their binaries (systemd, iputils, llvm, ipt-gpu-tools at least) causing reproducibility issues from systems with different git versions. (From OE-Core rev: 262470f5c01c08826e0fcf3d08337d17952a257d) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3266c327dfa186791e0f1e2ad63c6f5d39714814) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base: Avoid circular references to our own scriptsRichard Purdie2022-05-121-0/+4
| | | | | | | | | | | | We'd like to intercept git calls but we don't want circular references and HOSTTOOLS currently sets them up. Tweak to avoid them. (From OE-Core rev: e032a725944aaa60be9dc2bdedf43ffa5fce6b4d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 52c37e133fa55846aca2248ffcf3a10648dbb8d7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest: add test for git working correctly inside pseudoRoss Burton2022-05-122-0/+30
| | | | | | | | | | | | | | | | The fix for CVE-2022-24765 in git[1] breaks any use of git inside pseudo. Add a simple test case to oe-selftest to verify that at least basic uses of git work fine under pseudo. [1] https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9 (From OE-Core rev: c1b43595a023e481daeb6005c431f51897aeb45d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 46822268040a23dbb81f71fe35aee8c2663a31f6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* volatile-binds: Change DefaultDependencies from false to noPortia2022-05-121-1/+1
| | | | | | | | | | | | | The systemd-unit parameter DefaultDependencies changed from true/false to yes/no. This changed in systemd in v242. (From OE-Core rev: a45c20b9ebdffc962411e7db2ffd353330b98da8) Signed-off-by: Portia Stephens <stephensportia@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit add4dcb03dc7b034253db05f0023cb97cab8b26d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs-postcommands: fix symlinks where link and output path are equalDavide Gardenal2022-05-121-6/+8
| | | | | | | | | | | | | | | When creating the manifest and the testdata.json links, if the link name is equal to the output name the link is not created, otherwise it is. This prevents a link-to-self in the first case. (From OE-Core rev: aae0ba9a83f4aa0d3812f9fd643a444ece7653f2) Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bed63756c56f296ff3d5a7eef66e978bd19f1008) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* neard: Switch SRC_URI to git repoRahul Kumar2022-05-121-6/+7
| | | | | | | | | | | | | | | | | | | | | The tarball (neard-0.16.tar.xz) fetched by the recipe is incomplete. Few plugins (e.g. tizen) and tests scripts (e.g. Test-channel, test-see, neard-ui.py, ndef-agent etc) are missing. Since neard did not release latest tarballs, so as per community recommendation switching the recipe SRC_URI to git repo. Community Discussion: https://lists.openembedded.org/g/openembedded-core/topic/90058043#163681 (From OE-Core rev: 1095841ef77bce46bcd7c6db28a376372cb12c50) Signed-off-by: Rahul Kumar <rahul.kumar_3@philips.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b563f40ebf4461d9c35df72bd7599ea11e97da9c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cases/buildepoxy.py: fix typoChen Qi2022-05-121-1/+1
| | | | | | | | | | | | | (From OE-Core rev: 6f04b791315dcaa58876e416098712ab9740aaf9) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3a9b6e71d1e7e8e2ebc0ed047841e36f09300387) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit af5bcfdc0b21607122fbbda6c35fac5d0cb0f829) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Use base_bindir instead of hardcoding /bin pathKhem Raj2022-05-121-1/+1
| | | | | | | | | | | | | | | This symlink is not valid when using usrmerge and ptest packaging would fail Exception: FileExistsError: [Errno 17] File exists: '/usr/bin/busybox.suid' -> '/mnt/b/yoe/master/build/tmp/work/ppc64p9le-yoe-linux-musl/busybox/1.35.0-r0/package/usr/lib/busybox/ptest/bin/login' (From OE-Core rev: aedd917364beedb806e1d4d1d02c28d2597e473c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 238fd30689054c7b44176dce7180fb6dac4e1b6f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to honister head revisionyocto-3.4.4honister-3.4.4Richard Purdie2022-05-031-1/+1
| | | | | | (From OE-Core rev: 1a6f5e27249afb6fb4d47c523b62b5dd2482a69d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: mark all directories as safe for git to readRoss Burton2022-05-031-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent git releases containing [1] have an ownership check when opening repositories, and refuse to open a repository if it is owned by a different user. This breaks any use of git in do_install, as that is executed by the (fake) root user. Whilst not common, this does happen. Setting the git configuration safe.directories=* disables this check, so that git is usable in fakeroot tasks. This can be set globally via the internal environment variable GIT_CONFIG_PARAMETERS, we can't use GIT_CONFIG_*_KEY/VALUE as that isn't present in all the releases which have the ownership check. We already set GIT_CEILING_DIRECTORIES to ensure that git doesn't recurse up out of the work directory, so this isn't a security issue. [1] https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9 (From OE-Core rev: 7a97531169d662fe0466db5992566bcdbe3a0d5f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8bed8e6993e7297bdcd68940aa0d47ef47120117) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty: reduce keep-alive timeout from 5000s (83 minutes) to 10 minutesRoss Burton2022-04-301-3/+4
| | | | | | | | | | | | | | | The keep alive timeout is excessively long at 83 minutes (5000 seconds), reduce this to 10 minutes: this should be long enough that it rarely triggers in normal builds, but when it does it has useful information. (Bitbake rev: c2d8f9b2137bd4a98eb0f51519493131773e7517) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dcf52157d3635925491783be656c6b76d1efe1a4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty: display active tasks when printing keepAlive() messageRoss Burton2022-04-301-1/+3
| | | | | | | | | | | | | | | | | | | | | In interactive bitbake sessions it is obvious what tasks are running when one of them hangs or otherwise takes a long time. However, in non-interactive sessions (such as automated builds) bitbake just prints a message saying that it is "still alive" with no clues as to what tasks are active still. By simply listing the active tasks when printing the keep alive message, we don't need to parse the bitbake log to identify which of the tasks is still active and has presumably hung. (Bitbake rev: cc4e7d7049f949b54b1ea7926844b3c76f361c64) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 30f6c3f175617beea8e8bb75dcf255611e3fc2fd) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: update for 3.4.4 releaseAnuj Mittal2022-04-291-6/+6
| | | | | | | | (From yocto-docs rev: 5ead7d39aaf9044078dff27f462e29a8e31d89e4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: bump version for 3.4.4 releaseAnuj Mittal2022-04-291-1/+1
| | | | | | | (From meta-yocto rev: 2a33fff78467c115844d56e5a5ed07b28cfc2396) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow-native: Simplify and fix syslog disable patchRichard Purdie2022-04-281-111/+39
| | | | | | | | | | | | | | | | | Shadow is happily spamming the host syslog with messages and shouldn't be which suggests the patch isn't working. Redo it to work at the configure level which is simpler and hopefully more effective. This is a squashed cherry-pick of commit 8f181686 (shadow-native: Simplify and fix syslog disable patch) and commit e1f21d0d (shadow: Disable the use of syslog() for the native tools). (From OE-Core rev: d411ea3114cde55ae68a2d437e854c5b17f78131) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: correct license for ar3k firmwareDmitry Baryshkov2022-04-281-2/+2
| | | | | | | | | | | | | | | According to the WHENCE file, some a3k firmware files are licensed under the special ar3k license, while others are licensed under the more generic Atheros license. Document this by adding extending the LICENSE:${PN}-ar3k and depending on both of them. (From OE-Core rev: c246ed4215821d145c86633df7097047855621c5) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 8e651814af706285d64b532095fcd6f5f02629ba) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wireless-regdb: upgrade 2022.02.18 -> 2022.04.08zhengruoqin2022-04-281-1/+1
| | | | | | | | | | (From OE-Core rev: e35065026b72a218249e41e2b26aefb06066071c) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c6ea7450a919f2b571746e7af350c1362e41f8e1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade 20220310 -> 20220411wangmy2022-04-281-2/+2
| | | | | | | | | | | | | | License-Update: Version of driver files updated Added files for some drivers (From OE-Core rev: 9c9594ca55e498313d89f609af12ef3f507c7e69) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 01684df3a51be476081ee21eb54c24fef00acb3f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Inherit pkgconfigPeter Kjellerstedt2022-04-281-0/+3
| | | | | | | | | | | | | pkg-config is used by the Makefiles, and thus pkgconfig needs to be inherited. (From OE-Core rev: 3acf518f06afa73ec68556a2ef19db68576144ad) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6148ac9bc5d3e0d0ffdbbd6695acd96ca1836b78) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-tools: Ensure we install correctlyRichard Purdie2022-04-281-0/+1
| | | | | | | | | | | | | With the fix for #8621, cleandirs is now applied to autotools_do_install and this results in a lot of the install targets to be removed. Ensure cleandirs isn't set for autotools_do_install. (From OE-Core rev: a27f0e9e7efc2554826b7365a83c25980b28cf2d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 72299395b06fc3fdaca5f7b8b87a6ea32a6267ad) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: add missing COPYINGv3Konrad Weihmann2022-04-281-3/+5
| | | | | | | | | | | | | add COPYINGv3 license text to LIC_FILES_CHKSUM (From OE-Core rev: 8b6a363e0acfb690bb3621eeb55cab7c1f2294cc) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8e8cf07a58a6bf5412572e76e2a7ab27df8af01f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license_image.bbclass: close package.manifest fileMartin Jansa2022-04-221-2/+2
| | | | | | | | | | | | | | | | | | | | * fixes: NOTE: Executing write_package_manifest ... DEBUG: Executing python function write_package_manifest /OE/build/oe-core/openembedded-core/meta/classes/license_image.bbclass:23: ResourceWarning: unclosed file <_io.TextIOWrapper name='/OE/build/oe-core/tmp-glibc/deploy/licenses/core-image-minimal-qemux86-64/package.manifest' mode='w+' encoding='UTF-8'> 'w+').write(output) ResourceWarning: Enable tracemalloc to get the object allocation traceback DEBUG: Python function write_package_manifest finished [YOCTO #14772] (From OE-Core rev: 4c556b4fd07a3ce9128019b51e5623e8eeeb7400) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b3114d5d438b7a63a276b4e825b62f3b1ebceed6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxshmfence: Correct LICENSE to HPNDRichard Purdie2022-04-222-2/+2
| | | | | | | | | | | | | | The license in this code is listed as MIT and whilst it is compatible with and usable as MIT, it actually looks like HPND. Clarify the license field accordingly. (From OE-Core master rev: 922b645f443c33060a8990d32e6b7b62ea5497c3) (From OE-Core rev: 7c3f8ffdbed56eb2791745c5e6a562b5431040ca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* externalsrc/devtool: Fix to work with fixed export funcition flags handlingRichard Purdie2022-04-221-9/+10
| | | | | | | | | | | | | | | | If we fix bitbake to correctly handle the cleandirs and fakeroot flags for tasks handled by EXPORT_FUNCTIONS, we break devtool since it only considers these for top level functions. Add in extra code to intercept the cleandirs flags for commonly used sub functions too. [YOCTO #8621] (From OE-Core rev: a41229effb807c97ebfe45fea61c3418de1255a7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 67fad829f37ed0a8e20c599d2b65635158591d06) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiff: Add marker for CVE-2022-1056 being fixedRichard Purdie2022-04-221-0/+1
| | | | | | | | | | | | As far as I can tell, the patches being applied also fix CVE-2022-1056 so mark as such. (From OE-Core rev: c3d6829f6c7979ed9836276a75c758e100798648) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 256d212fd1eb9b6d4b87c2c84b1ea2a3afdeb843) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative: Upgrade to 3.6 with gcc 12 supportRichard Purdie2022-04-221-4/+4
| | | | | | | | | | | | | | There are reports of issues with the new libstdc++ from gcc 12. This upgrades to a gcc 12 version of uninative to allow builds on those systems. Gcc 12 isn't finalised so we may need to add a new version of this if/as appropriate when it is. (From OE-Core rev: 5f23b1fde0a87896f2097749435abdc7963e24da) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e3da4da7e5da5bb9e1d360e2be2fdd5132e69320) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xz: fix CVE-2022-1271Ralph Siemsen2022-04-222-1/+99
| | | | | | | | | | | | | | | | Malicious filenames can make xzgrep to write to arbitrary files or (with a GNU sed extension) lead to arbitrary code execution. Upstream-Status: Backport [https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch] CVE: CVE-2022-1271 (From OE-Core rev: dd6239a0f6173115968278cfd58a5efa228aee7d) Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 97bf86ccde4417daec8ef3945071a50a09134bc6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Fix handling of absolute linksAlexandre Belloni2022-04-221-1/+1
| | | | | | | | | | | | | Update to a version of pseudo which has a fix for absolute links, evaluating them from the chroot path. (From OE-Core rev: ab69b7566f04aa5495c0004064d41784734c9e84) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 33147b89bc3c9e9bdd53a942a5551d8a1d06130c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.109Bruce Ashfield2022-04-223-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: d9c5818a0bc0 Linux 5.10.109 163960a7de13 llc: only change llc->dev when bind() succeeds 2b5a6d771450 nds32: fix access_ok() checks in get/put_user c064268eb8ed wcn36xx: Differentiate wcn3660 from wcn3620 95193d12f10a tpm: use try_get_ops() in tpm-space.c 5d3ff9542a40 mac80211: fix potential double free on mesh join fcc9797d0d13 rcu: Don't deboost before reporting expedited quiescent state 87f7ed7c3659 Revert "ath: add support for special 0x0 regulatory domain" c971e6a1c8fa crypto: qat - disable registration of algorithms 9f4e64611ebe ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU 0b2ffba2de50 ACPI: battery: Add device HID and quirk for Microsoft Surface Go 3 2724b72b225d ACPI / x86: Work around broken XSDT on Advantech DAC-BJ01 board 2c74374c2e88 netfilter: nf_tables: initialize registers in nft_do_chain() eb1ba8d1c3e2 drivers: net: xgene: Fix regression in CRC stripping a2368d10b7fb ALSA: pci: fix reading of swapped values from pcmreg in AC97 codec 6936d2ecf822 ALSA: cmipci: Restore aux vol on suspend/resume cbd27127af5f ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB 0ae81ef3ea0e ALSA: pcm: Add stream lock during PCM reset ioctl operations b560d670c87d ALSA: pcm: Fix races among concurrent prealloc proc writes a38440f00697 ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free calls 8527c8f052fb ALSA: pcm: Fix races among concurrent read/write and buffer changes 0f6947f5f520 ALSA: pcm: Fix races among concurrent hw_params and hw_free calls 014c81dfb319 ALSA: hda/realtek: Add quirk for ASUS GA402 05256f3fd6c9 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671 ca8247b4dfb8 ALSA: hda/realtek: Add quirk for Clevo NP50PNJ 26fe8f31033b ALSA: hda/realtek: Add quirk for Clevo NP70PNJ 80eab86a86d2 ALSA: usb-audio: add mapping for new Corsair Virtuoso SE 5ce74ff70593 ALSA: oss: Fix PCM OSS buffer allocation overflow db03abd0dae0 ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call 571df3393f52 llc: fix netdevice reference leaks in llc_ui_bind() 56dc187b35d5 staging: fbtft: fb_st7789v: reset display before initialization 351493858ebc tpm: Fix error handling in async work ea21245cdcab cgroup-v1: Correct privileges check in release_agent writes 824a950c3f11 cgroup: Use open-time cgroup namespace for process migration perm checks f28364fe384f cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv 9eeaa2d7d58a exfat: avoid incorrectly releasing for root inode ae8ec5eabb1a net: ipv6: fix skb_over_panic in __ip6_append_data 25c23fe40e6e nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION 9940314ebfc6 Linux 5.10.108 37119edab8f4 Revert "selftests/bpf: Add test for bpf_timer overwriting crash" 9248694dac20 esp: Fix possible buffer overflow in ESP transformation 96340cdd5526 smsc95xx: Ignore -ENODEV errors when device is unplugged e27b51af5449 net: usb: Correct reset handling of smsc95xx b54daeafc1b0 net: usb: Correct PHY handling of smsc95xx 204d38dc6a81 perf symbols: Fix symbol size calculation condition f0d43d22d241 Input: aiptek - properly check endpoint type 98e7a654a5be scsi: mpt3sas: Page fault in reply q processing 10a805334a11 usb: usbtmc: Fix bug in pipe direction for control transfers 00bdd9bf1ac6 usb: gadget: Fix use-after-free bug by not setting udc->dev.driver 28bc0267399f usb: gadget: rndis: prevent integer overflow in rndis_set_response() 2c010c61e614 arm64: fix clang warning about TRAMP_VALIAS 277b7f63948b net: mscc: ocelot: fix backwards compatibility with single-chain tc-flower offload 2550afba2a30 net: bcmgenet: skip invalid partial checksums bf5b7aae86d3 bnx2x: fix built-in kernel driver load failure c07fdba12fb0 net: phy: mscc: Add MODULE_FIRMWARE macros ba50073cf4af net: dsa: Add missing of_node_put() in dsa_port_parse_of a630ad5e8b2d net: handle ARPHRD_PIMREG in dev_is_mac_header_xmit() 336b6be6ad09 drm/panel: simple: Fix Innolux G070Y2-L01 BPP settings 9d45aec02f7b drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check() 9b763ceda6f8 hv_netvsc: Add check for kvmalloc_array 09a7264fb0d0 atm: eni: Add check for dma_map_single 70b7b3c055fd net/packet: fix slab-out-of-bounds access in packet_recvmsg() 169add82d201 net: phy: marvell: Fix invalid comparison in the resume and suspend functions 01fac1ca8ab9 esp6: fix check on ipv6_skip_exthdr's return value d9fe590970c4 vsock: each transport cycles only on its own sockets ac7dd60946c0 efi: fix return value of __setup handlers fa3aa103e79c mm: swap: get rid of livelock in swapin readahead df3301dc60a3 ocfs2: fix crash when initialize filecheck kobj fails 0f9b7b8df175 crypto: qcom-rng - ensure buffer for generate is completely filled (From OE-Core rev: 8b0079d029e3d876990d7ab137f24525440ffe91) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit db6a636319ffd2b12c54b6ec1b3fdd670f9b6704) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Upgrade 8.2.4524 -> 8.2.4681Richard Purdie2022-04-221-3/+3
| | | | | | | | | | | | | | | License change is a date in the license file only. This includes a fix for CVE-2022-0943. (From OE-Core rev: 4fdc8884c4ce387d51578d5da0624c630d7791dc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 69bc2f37d6ca7fa4823237b45dd698b8debca0a9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* unzip: fix CVE-2021-4217Joe Slater2022-04-222-0/+68
| | | | | | | | | | | | Avoid a null pointer dereference. (From OE-Core rev: 57b608a3c37d24b2d407b178b16136c1ff65b2c4) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 36db85b9b127e5a9f5d3d6e428168cf597ab95f3) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/runqemu: Fix memory limits for qemux86-64Richard Purdie2022-04-221-1/+1
| | | | | | | | | | | | | When setting memory to 4GB, qemu is only running with 2GB for x86_64. Avoid this by removing the mem= option to the kernel and letting the qemu configuration handle it for x86 in a similar way to mips. (From OE-Core rev: ad7a8bf827a24f195df55a5d49e3ace949b6e23e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2fd53417eba354c31c058c4bb066bb882e098add) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf.py/poky.yaml: Move version information to poky.yaml and read in conf.pyRichard Purdie2022-04-202-2/+22
| | | | | | | | | | Merge in the changes from master allowing conf.py to use information from poky.yaml. This allows the head version mapped to X.999 on the website to have the version information displayed clearly and correctly. (From yocto-docs rev: 7afbdfeda280d3a8308a82c2af568578627a4124) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: server/process: Disable gc around critical sectionRichard Purdie2022-04-161-0/+3
| | | | | | | | | | | | | | | | The python gc can trigger whilst we're holding the event stream lock and when cleaning up objects, they can trigger warnings. This translates into a new event which would then need the lock and we can deadlock. Disable gc whilst we hold that lock to avoid this unfortunate and problematic situation. (Bitbake rev: 70ea322a4866f7ef20361a6b146f2be568261c6a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 96a6303949cefd469bcf5ed250ff512271354357) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkitgtk: update to 2.32.4Chee Yang Lee2022-04-092-2/+2
| | | | | | | | | | | | | | | | | | This is a bug fix release in the stable 2.32 series. new in the WebKitGTK 2.32.4 release: Do not append .asc extension to downloaded text/plain files. Fix several crashes and rendering issues. https://webkitgtk.org/2021/09/17/webkitgtk2.32.4-released.html Also update patch file to fix fuzz. (From OE-Core rev: 75e47b96d8cf82ec4a7fa3225c7fbb5b6ab62b02) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zlib: backport the fix for CVE-2018-25032Ross Burton2022-04-092-0/+348
| | | | | | | | (From OE-Core rev: f47a606780e3ecb7ea23813ad52fc4bfc3b71b94) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/devtool: ensure Git username is set before upgrade testsRoss Burton2022-04-091-0/+8
| | | | | | | | | | | | | The 'devtool upgrade' tests fail if Git doesn't know the user's name or email, so verify this before the tests start and skip if it is not. (From OE-Core rev: 8874b5e602798a04643b06d981098f58fb4f7320) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit b4d8aca97a1ead38ce55f3bb5859d3d05d9dd84f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: ignore CVE-2021-46705Ross Burton2022-04-091-0/+2
| | | | | | | | | | | | | This is specific to SUSE Linux. (From OE-Core rev: 76bd42e585a79f19f8cad6ffffd64d4c590a33b1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 594baef3b08d40fbbf1899f4cadeb9931c035c1a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>