summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-12-02don't reinvent check=trueross/patchrunRoss Burton
2021-12-02patch: use run instead of popenRoss Burton
2021-12-02quilt: use _runcmdRoss Burton
2021-12-02patch: pass cwd directlyRoss Burton
2021-12-01README.OE-Core.md: update URLsQuentin Schulz
Update URLs to what they actually redirect to. Cc: Quentin Schulz <foss+yocto@0leil.net> (From OE-Core rev: ec2131070cae6c3933e5b08986e8245fcd9deb99) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01vim: set PACKAGECONFIG idiomaticallyRoss Burton
Don't set an empty default value and them immediately assign to it. (From OE-Core rev: d7565241437487618a57d8f3f21da6fed69f6b8a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01vim: fix CVE-2021-3968 and CVE-2021-3973Ross Burton
Backport a fix for -3972, and whitelist -3968: it isn't valid as it fixes a bug which was introduced after 8.2. (From OE-Core rev: bec5caadfb53638748d8c41ce7230c2bf7808d27) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01libtool: change the default AR_FLAGS from "cru" to "cr"Li Wang
Backport patch to fix warning: `u' modifier ignored since `D' is the default (see `U') (From OE-Core rev: 3d5092e7ee63fb8119a22b3d9de1f23e94791b56) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01Revert "weston-init: Pass --continue-without-input when launching weston"Khem Raj
This reverts commit 762a20b493cc219a46d9ac188fe4895a111ee7b4. This breaks machines using fbdev backend, since this option is drm backend specific, we need to know the backend before using it, until we have a smart way to detect that, this will not be a fool proof solution, therefore revert it for now. (From OE-Core rev: 6b7d8b2a141cc79272010b24d0648e6238fa4c74) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01scripts/checklayer/common.py: Fixed a minor grammatical errorDhruva Gole
(From OE-Core rev: 8ea17456ae5318ed7a3b4c8f75c8441456d8b979) Signed-off-by: Dhruva Gole <goledhruva@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01python3-libarchive-c: upgrade 3.1 -> 3.2wangmy
This release fixes the seek callbacks passed to libarchive by the custom_reader and stream_reader function. (https://github.com/Changaco/python-libarchive-c/pull/116) (From OE-Core rev: b9176bf09e68fcb01b4d81d26bc507b6336afade) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01python3-docutils: upgrade 0.18 -> 0.18.1wangmy
Changelog: docutils/nodes.py Node.traverse() returns a list again to restore backwards compatibility. Fixes bug #431. New method Node.findall(): like Node.traverse() but returns an iterator. Obsoletes Node.traverse(). docutils/utils/__init__.py: Fix behaviour of get_stylesheet_list(): do not look up stylesheets given as "stylesheet" setting. Cf. bug #434. docutils/writers/_html_base.py: Fix handling of footnote_backlinks==False (report Alan G Isaac). docutils/writers/html5_polyglot/math.css: Fix typo (bug #432). docutils/writers/odf_odt/__init__.py: Fix spurious output with Windows (bug #350). test/test_error_reporting.py: Fix a false positive (bug #434). License-Update: year updated to 2021 update url of elyxer add url of BSD 3-Clause License change "2-Clause BSD license" to "BSD 2-Clause License" (From OE-Core rev: 126444702f2c2e63a54d55dfb1844bc6e64c5727) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01ovmf: upgrade 202108 -> 202111wangmy
(From OE-Core rev: bb025ed25d0826f900208d4c4e52ae404ce523b7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01sysklogd: upgrade 2.2.3 -> 2.3.0wangmy
Changes: Add support for logger -k, early log to /dev/kmsg. Useful when logging from early system startup scripts before syslogd has started Support for extracting non-kernel log messages from /dev/kmsg Ignore EINVAL from kernel, caused warning message at first startup Use journald socket on systemd systems, not /dev/log Issue #38: add support for syslogd -C file to use file for caching the last seen kernel sequence number, default: /run/syslogd.cache. Note: syslogd relies on the location of this file to be wiped at system boot. The default, /run, is a RAM disk on modern systems Fixes Issue #34: regression in v2.2.3, causing loss of syslogd log messages like syslogd v2.2.3: restart. Issue #35: man pages lists -v as verbose mode, is actually version Issue #36: retry DNS lookup of remote syslog servers with res_init() to ensure name resolution at bootup when a remote DNS may temporarily be unreachable. Retry at most every five seconds, to prevent syslogd from monopolizing the CPU when emptying the kernel ring buffer Issue #39: update tests to use -P fn and -C fn Issue #40: improve documentation for syslogd.cache file requirements Issue #41: add missing documentation for -H option Issue #42: add option (-K) to always trust kernel timestamp. By default syslogd only trusts the kernel timestamp for the initial emptying of the kernel ring buffer Issue #43: avoid asserting (exiting) on and around Jan 19, 2038, when the UNIX epoch wraps around on 32-bit time_t systems libsyslog: handle EOVERFLOW from gettimeofday() on Jan 19, 2038 Avoid NULL pointers to internal logit() function, only triggered when in debug mode Replace \m with \n (missing newline) in logger usage text (From OE-Core rev: 84de7a1f3863989c437a8fcf34255399c10e4143) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01sqlite3: upgrade 3.36.0 -> 3.37.0wangmy
Changelog: 1.STRICT tables provide a prescriptive style of data type management, for developers who prefer that kind of thing. 2.When adding columns that contain a CHECK constraint or a generated column containing a NOT NULL constraint, the ALTER TABLE ADD COLUMN now checks new constraints against preexisting rows in the database and will only proceed if no constraints are violated. 3.Added the PRAGMA table_list statement. 4.CLI enhancements: a.Add the .connection command, allowing the CLI to keep multiple database connections open at the same time. b.Add the --safe command-line option that disables dot-commands and SQL statements that might cause side-effects that extend beyond the single database file named on the command-line. c.Performance improvements when reading SQL statements that span many lines. 5.Added the sqlite3_autovacuum_pages() interface. 6.The sqlite3_deserialize() does not and has never worked for the TEMP database. That limitation is now noted in the documentation. 7.The query planner now omits ORDER BY clauses on subqueries and views if removing those clauses does not change the semantics of the query. 8.The generate_series table-valued function extension is modified so that the first parameter ("START") is now required. This is done as a way to demonstrate how to write table-valued functions with required parameters. The legacy behavior is available using the -DZERO_ARGUMENT_GENERATE_SERIES compile-time option. 9.Added new sqlite3_changes64() and sqlite3_total_changes64() interfaces. 10.Added the SQLITE_OPEN_EXRESCODE flag option to sqlite3_open_v2(). 11.Use less memory to hold the database schema. (From OE-Core rev: b1c6e95d075531998de5b73e7ec7073647d5a2d2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01patchelf: upgrade 0.13 -> 0.14.1wangmy
refresh handle-read-only-files.patch (From OE-Core rev: 978f04fc520938b231c236c00582360aea63b364) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01mtools: upgrade 4.0.35 -> 4.0.36wangmy
(From OE-Core rev: ada5da0ce05bfe1437543b6691ad18b4dc68adcf) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01libexif: upgrade 0.6.23 -> 0.6.24wangmy
libexif-0.6.24 Changelog: Translation updates: sr, vi, pl, uk, french fixed regression in exif_data_load_data which could not load EXIF in JPEG data anymore Decode lots of Canon tag names removed empty strings from translation (empty string would translate to the PO info header) various warning removals and code improvements added sample "persistent" afl fuzzer (100x faster than normal afl fuzzer) (From OE-Core rev: 7bfd1d2faa30cec9876901de718278ea013cc281) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01libunwind: upgrade 1.5.0 -> 1.6.0wangmy
0001-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch 0001-configure-Do-not-enforce-libdir-for-ppc64.patch removed since they're included in 1.6.0 refresh the following patches: 0003-x86-Stub-out-x86_local_resume.patch 0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch 0006-Fix-for-X32.patch (From OE-Core rev: fb4a298594e1722ab57cd312e391e6f7c5597f8a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01libsoup-2.4: upgrade 2.74.1 -> 2.74.2wangmy
Changes in libsoup from 2.74.1 to 2.74.2: * Error when libsoup3 is already loaded before libsoup2 (From OE-Core rev: 0640eb72ef4db97fc07011d8398dbafbd3c8b119) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01libdrm: upgrade 2.4.108 -> 2.4.109wangmy
(From OE-Core rev: ba3bd5e6ae5c3893fa3dc61b768105d9203b96f3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01insane.bbclass: add a check that Upstream-Status patch tag is present and ↵Alexander Kanavin
correctly formed (From OE-Core rev: d679c35e087499075a5b8c2222d8e7007fc3e75d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29ovmf: remove patch merged upstreamAlexander Kanavin
See here: https://github.com/tianocore/edk2/pull/1513/files The change was thus applied twice to the same file. (From OE-Core rev: af90f9681bae3defe841ddcf80755960792faa88) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29go: update 1.16.10 -> 1.17.3Alexander Kanavin
This was additionally verified with meta-virtualization: $ bitbake packagegroup-container packagegroup-kubernetes $ bitbake container-base kvm-image-minimal xen-guest-image-minimal (From OE-Core rev: 7acfadc2ef96cd205a85713624ce96129b679b28) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29python3-rfc3339/3986-validator: correct upstream version checkAlexander Kanavin
(From OE-Core rev: dd2f4d263100ab09f79c2dc037346da7362765a2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29go-helloworld: test at runtimeAlexander Kanavin
This adds a smoke check for whether the Go toolchain actually produces working executables across a range of architectures. (From OE-Core rev: 2819bb2cf22c6cfcaeaee79f0280097ec9cb9327) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29go-helloworld: update to latest revisionAlexander Kanavin
Adjust SRC_URI, github is only a mirror. Adjust GO_IMPORT, as it does not match either github or the official repo. (From OE-Core rev: 2c0e20fca1491adfef4f79b0088664f587ade4fd) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29testimage.bbclass: request the use of kvm by defaultAlexander Kanavin
In almost all cases there is no need to explicitly ask for it via local.conf or similar custom config: it is enabled in qemu_use_kvm() if target_arch == build_arch or both of them are x86 archs, and QEMU_USE_KVM is set. If that heuristic doesn't work, QEMU_USE_KVM = "" will do the disabling. (From OE-Core rev: c2a2d475a976225e3a4eb687af6d2a62dca1d2bf) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29perl: submitted patch upstreamAlexander Kanavin
(From OE-Core rev: 8358b6e9218f9282e24fcee19a3aec17c15e7604) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29perl-cross: submit patches upstreamAlexander Kanavin
(From OE-Core rev: 43f56eab9ef80a7d6d988d85af653ea68c9b3d62) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29meson: submit patch upstreamAlexander Kanavin
(From OE-Core rev: de74501bce6b87281a07c98a75349cbffb05abfe) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29libdnf: submit patches upstreamAlexander Kanavin
(From OE-Core rev: 11a82aa6ad0c94fff018f03ba52e2c77fe3c45d8) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29libcomps: remove unneeded patchAlexander Kanavin
Somewhere along the way the issue was fixed upstream. (From OE-Core rev: 8a5e34ff78fc74bce16b7aae173f047fce88dee5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29weston-init: Pass --continue-without-input when launching westonKhem Raj
This ensures that we do not need keyboard/mouse or other input system Weston's default behavior is to not open if input devices are not found, but we may not always have input devices connected for systems running weston in field (From OE-Core rev: 762a20b493cc219a46d9ac188fe4895a111ee7b4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29sanity/lib: Replace usage of LooseVersion() with bb.utils.vercmp_string_op()Richard Purdie
distutils is going away and we have functionality in bitbake which can handle these comparisions so switch to the bb.utils function. (From OE-Core rev: fe624b520e6c75e16a8f394785ab0216341402f9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29oeqa/parselogs: Fix quotingRichard Purdie
Fix deprecation warnings about invalid escape sequences. (From OE-Core rev: 43542614395150e8fa34133ba0fc7ee90f215bcb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26bitbake: test/fetch: Add striplevel unpack parameter testStefan Herbrechtsmeier
(Bitbake rev: 7e1ca7ab50e3c6b642c3c11504c7c8f52cfa4528) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26bitbake: bitbake-user-manual: Add striplevel unpack parameterStefan Herbrechtsmeier
(Bitbake rev: f0442a30d3a8459195dbf51a778ffb6150688a0a) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26bitbake: fetch2: Add striplevel support to unpackStefan Herbrechtsmeier
Add a parameter `striplevel` to the SRC_URI to strip NUMBER leading components (levels) from file names on extraction. For example, if the archive `archive.tar.gz` contains `some/file`, the SRC_URI `https://.../archive.tar.gz;subdir=other;striplevel=1` will extract `some/file` to `other/file`. This is useful to extract archives to a specified directory instead of the original root component of the archive. The feature is required for the npm support. The npm package contents should reside in a subfolder inside a npm archive (usually it is called package/). npm strips one directory layer when installing the package. (Bitbake rev: aa4926e5d9c92f33b4434e2da709ff0bf3049f5b) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26bitbake: fetch2: Unify tar command in unpackStefan Herbrechtsmeier
The tar command and its arguments are repeated for many archive types in the unpack function. Unify the common parts in a variable to prepare further extension. (Bitbake rev: a08e57c9eaec1d9740a96149bf4843e576da4e5c) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26bitbake: data_smart.py: Skip old override syntax checking for anonymous ↵Robert Yang
functions Fixed when oe-core's path contians append/prepend/remove, e.g.: /path/to/append_test/oe-core/ Initial a build in any build dirs: $ bitbake -p ERROR: Variable __anon_32__buildarea2_xhou_builds_append_test_layers_oe_core_meta_classes_patch_bbclass contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake. The anonymous fuctions has no names, so skip checking for it to fix the issue. (Bitbake rev: ebd00330c41c75797529ff38d6a0955b93f05d1b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26oeqa/utils/dump: Fix typoRichard Purdie
(From OE-Core rev: 3770d539d83b589b3f8bde21fcf896bb046611d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26gcc: Drop further unneeded precompiled header patchRichard Purdie
According to comments on the bug report from gcc developers, we no longer need to do this post gcc 10. Lets therefore drop the patch. (From OE-Core rev: 8ddc6f46d40cdcc462de23d1b1218f2ed9fd3d07) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26base.bbclass: Add sysroot deps for repo fetcherJasper Orschulko
Add repo-native as prerequisite for the repo fetcher. (From OE-Core rev: 16b8939bf0450837d3bc9e44cd24d2f38e0cee58) Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26repo: Add recipe for 2.17.3Jasper Orschulko
Add a recipe for repo 2.17.3, prerequisite for the repo fetcher. (From OE-Core rev: db9d86bdf2878ebee9c2080038714fcc98142100) Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26native/cross: Add ar wrapper for determinismJacob Kroon
Add a wrapper around ar calls for native/cross recipes. This wrapper adds the -D option so that deterministic archives are built for native/cross output. This improves the changes of hash equivalence matches and hence build artefact reuse. We don't need this in the target case since we compile binutils-cross with an option making this the default. We need a wrapper since we need to remove the "u" option and replace it with "D" but also allow things like "--version" to continue to work too. (From OE-Core rev: 59922c95fcb20c66634c5677012d490be2246b0b) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26gcc: Drop mips default ABI patchRichard Purdie
gcc-configure-common.inc already sets --with-abi=64 for our mips64 targets so this patch is no longer needed. [YOCTO #14639] (From OE-Core rev: e0010af733825ed1050fd3342cf3ef1c478df1a0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26nativesdk: Handle chown/chgrp calls in nativesdk do_install tasksRichard Purdie
We disable the useradd code for nativesdk targets since we don't support postinstalls or multiple users in those cases. This means any usage of chown/chgrp inside do_install tasks won't work and would have to be conditional. Rather than require all recipes to do that, add intercepts of the calls and map those to root/root user/groups. We can't just ignore them as some calls are used to remove host contamination from the host user ID so they need to be made, just as root. (From OE-Core rev: e1f40670c438e33cae87678425de72ca03566888) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26perf: sort-pmuevents: allow for additional type qualifiers and storage classMax Krummenacher
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: 8406e83ade1c34d8a7d8063f2e7445aafa471721) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26perf: sort-pmuevents: don't drop elementsMax Krummenacher
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: e1382583cd5060be301afaa9998ccf250cc8bca3) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>