summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* glibc: Upgrade to 2.34 releaseKhem Raj2021-08-1244-1443/+136
| | | | | | | | | | | | | | | | bump localedef to get __attr_access_none and __attr_access definitions replace /bin/bash instead of @BASH@ in ldd as @BASH@ has been substituted with /bin/bash now package libc_malloc_debug.so.0 Detailed changelog [1] [1] https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html (From OE-Core rev: af4e1306a78cf8c508dd911f02c103af81bc1af5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagedata: Fix after override syntax changeRichard Purdie2021-08-061-1/+1
| | | | | | | | | Fix a reference that should have been part of the override syntax change causing packages to be written out incorrectly. (From OE-Core rev: 0f978b4f03e71267ad0a8a5054141e7727f2944f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: improve comment about CVE patch file namesMichael Opdenacker2021-08-061-3/+6
| | | | | | | (From OE-Core rev: 8aa613480663e11ecc62278d8c57ca719eb23899) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: update link to NVD website for CVE detailsMichael Opdenacker2021-08-061-1/+1
| | | | | | | | | | | | The old URL schema https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-ID now redirects to https://nvd.nist.gov/vuln/detail/CVE-ID (From OE-Core rev: 57adb57a9d9b08c08ab606ec7b561792e4f4ff2d) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: fix commentsMichael Opdenacker2021-08-061-4/+4
| | | | | | | | | | | This implements various fixes in comments in cve-check.bbclass In particular, the "whitlisted" typo is important as the "whitelisted" word is going to be replaced in a near future. (From OE-Core rev: 5eecd2bf942254d08c252388594e5ec7ae330f45) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/cases/ptest: Increase test timeout from 300s to 450sRichard Purdie2021-08-061-1/+1
| | | | | | | | | | Some tests such as lttng-tools are marginal and timing out on the autobuilder with the current 300s default. Increase to avoid this noise in the ptest failures list. (From OE-Core rev: 5fb902a52e35130af6b0735a087c709daa35655f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Backport patch to make LTO builds more reproducibleTony Battersby2021-08-052-0/+96
| | | | | | | | | | | | Backport ustream gcc patch that enables -fdebug-prefix-map to cover additional cases with LTO enabled to make LTO builds more reproducible. [YOCTO #14481] (From OE-Core rev: 8923253b9bc91b14b474abc4923ca916fb8a12ec) Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lto.inc: disable LTO for grubTony Battersby2021-08-051-0/+2
| | | | | | | | | | | | | | With gcc 11.1, compiling grub with LTO causes an internal compiler error (ICE), and with gcc 10.2, files under /usr/lib/grub/i386-pc/*.mod are not binary reproducible. [YOCTO #14490] (gcc 11.1 ICE) [YOCTO #14481] (LTO and binary reproducibility) (From OE-Core rev: d1fd3693411d83214f0f88b2f9d7aef12ecd6e02) Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: Add patch from upstream for glibc 2.34 ptest fixesRichard Purdie2021-08-052-0/+139
| | | | | | | | Add a patch being discussed upstream to fix a ptest issue with glibc 2.34. (From OE-Core rev: 8921f2acfd566d2c03cea7bdb9f0b1883994148b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Add patches for glibc 2.34 supportRichard Purdie2021-08-055-0/+1674
| | | | | | | | This partially resolves ptest failures with glibc 2.34. (From OE-Core rev: 9adf897176924cad6b12d4da73a904cfbf578f46) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Upgrade 5.12 -> 5.13Richard Purdie2021-08-052-6/+6
| | | | | | | | This includes changes to work with glibc 2.34. (From OE-Core rev: 58cdb3ff8689c5e87769eb53d154a395492cdeb5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffoscope: Upgrade 178 -> 179Richard Purdie2021-08-051-1/+1
| | | | | | (From OE-Core rev: c889354ead36c332ee47bbeadea0dfd96d7dd5d3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-boot: use ld.bfd as efi-ld even when gold or lld is used in ${LD}Martin Jansa2021-08-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * since the upgrade to 249.1 in: https://git.openembedded.org/openembedded-core/commit/?id=323ec445dfe22860cd450c303db5ed8fcb4e791c the builds with ld-is-gold are failing with: [17/21] Generating linuxx64.elf.stub with a custom command FAILED: src/boot/efi/linuxx64.elf.stub /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld -o src/boot/efi/linuxx64.elf.stub -T /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-oe-linux/11.2.0/libgcc.a /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld: internal error in segment_precedes, at ../../gold/layout.cc:3721 [18/21] Generating boot.c.o with a custom command ninja: build stopped: subcommand failed. WARNING: exit code 1 from a shell command. as reported in: https://lists.openembedded.org/g/openembedded-core/message/154246 * if someone is using lld or ld.lld in ${LD} then it would fail as well: https://github.com/systemd/systemd/commit/e39288193fcdf3a36dbc49b78e6c9bf86a764e31 * work around this by always using ld.bfd instead of whatever is set in ${LD} * it needs to be prefixed with ${HOST_PREFIX} to match how LD is constructed: $ bitbake-getvar -r systemd-boot LD # # $LD [2 operations] # exported /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:523 # [export] "1" # set /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:523 # "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}" # pre-expansion value: # "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}" export LD="x86_64-oe-linux-ld --sysroot=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot " $ bitbake-getvar -r systemd-boot EFI_LD # # $EFI_LD # set /OE/build/oe-core/openembedded-core/meta/recipes-core/systemd/systemd-boot_249.1.bb:23 # "${HOST_PREFIX}ld.bfd" EFI_LD="x86_64-oe-linux-ld.bfd" otherwise first ld.bfd it will find will be from HOSTTOOLS_NONFATAL and fail when host's binutils isn't compatible as in: https://autobuilder.yoctoproject.org/typhoon/#/builders/104/builds/2673/steps/11/logs/stdio FAILED: src/boot/efi/linuxx64.elf.stub /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd -o src/boot/efi/linuxx64.elf.stub -T /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-poky-linux/11.2.0/libgcc.a /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: warning: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002 /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: warning: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001 /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unable to initialize decompress status for section .debug_line /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unable to initialize decompress status for section .debug_line /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: file not recognized: File format not recognized (From OE-Core rev: 603e50f3db224a0e36a65decb9a98df41b9e22b3) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 4.6.1 -> 4.6.3Tim Orling2021-08-051-1/+1
| | | | | | | | | | | | | | | | | | v4.6.3 Moved workaround for #327 to _compat module. v4.6.2 bpo-44784: Avoid errors in test suite when DeprecationWarnings are treated as errors. References: https://github.com/python/importlib_metadata/issues/327 https://bugs.python.org/issue44784 (From OE-Core rev: 9ac45967b0e739d7480ac432bab0b0ca0341b24b) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.14.3 -> 6.14.5Tim Orling2021-08-051-1/+1
| | | | | | | | | | | | | | | | | | | 6.14.5 - 2021-07-27 This patch fixes hypothesis.strategies._internal.types.is_a_new_type. It was failing on Python 3.10.0b4, where NewType is a function. 6.14.4 - 2021-07-26 This patch fixes from_type() and register_type_strategy() for typing.NewType on Python 3.10, which changed the underlying implementation (see bpo-44353 for details). References: https://bugs.python.org/issue44353 (From OE-Core rev: 19bc156c8f9d43c963b2db3535d11d05c6916600) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devtool.py: Correct override syntaxKhem Raj2021-08-051-1/+1
| | | | | | | (From OE-Core rev: 3a0af9245b11326ced96a05db85e0e45e6422d4a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distrooverrides.bbclass: Correct override syntaxKhem Raj2021-08-051-1/+1
| | | | | | | (From OE-Core rev: b95d50f6ed6bf21d48c4cd22ffe9e8edc1480135) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toaster-managed-mode.json: Correctly specify term with new override syntaxKhem Raj2021-08-051-2/+2
| | | | | | | (From OE-Core rev: 218117b0947e0dff977cf7ce508ed34382e3cf49) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libssh2: Fix syntax for using ptest overrideKhem Raj2021-08-051-1/+1
| | | | | | | (From OE-Core rev: d2624e5581e55c43926099c3f7c00a632c6ff2e7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: use monotonic clock for condvar if possibleZqiang2021-08-051-0/+3
| | | | | | | | | | | | | | The timeout for threading.Lock, threading.Condition, etc, is not using a monotonic clock, it is affected if the system time (realtime clock) is set. This patch will make condvar use monotonic clock. Refence: https://bugs.python.org/issue41710 (From OE-Core rev: 5a268f95a5bf5ee8c244a8af685d6c84aad9a4ac) Signed-off-by: Zqiang <qiang.zhang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* createrepo-c: fix createrepo-c failed in nativesdkhongxu2021-08-051-2/+2
| | | | | | | | | | | | | | | | | | | | In sdk, call createrepo-c failed with: ... $ createrepo_c --update ./test_repo/rpm Directory walk started Critical: Failed to detect compression for file ./test_repo/rpm/cortexa72/hello-2.10-r0.cortexa72.rpm: magic_load() failed: could not find any valid magic files! ... Since commit [ea666fbc74 createrepo-c: set path to magic database for native and nativesdk] applied, the MAGIC is incorrectly assigned. The variable datadir will be expanded automatically for nativesdk, do not need to add prefix ${SDKPATHNATIVE} to MAGIC (From OE-Core rev: 54368f1b02e1ac4aa068515730a8c8bcd3683eb3) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* devupstream: Allow support of native class extensionsRichard Purdie2021-08-041-7/+13
| | | | | | | | | | | It is useful to be able to use the class with recipes using BBCLASSEXTEND for native extensions. This adds the magic required to do that. [YOCTO #11449] (From OE-Core rev: 17bab13b0f2431757d8ddd66489bb720c13a0320) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image: Drop COMPRESS_CMDRichard Purdie2021-08-041-2/+1
| | | | | | | | | This was replaced by CONVERSION_CMD a long time ago and is no longer referenced in core. Remove the references to it. (From OE-Core rev: 576d52cdaca047d290c3b10b26aa2244da230dbb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image/image_types: Convert CONVERSION_CMD/COMPRESS_CMD to new override syntaxRichard Purdie2021-08-042-28/+28
| | | | | | | | | | For consistency, use override syntax for these variables as well since it is more consistent with the rest of the image code. We may be able to use these as proper overrides in due course. (From OE-Core rev: 52674c4b1fdf79829095031b2e342d44fb0dc181) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uboot-extlinux-config: Fix missing override conversionRichard Purdie2021-08-041-1/+1
| | | | | | (From OE-Core rev: 988e6c5a6add25ccd1d880f4d4f8c257afde4e47) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Convert IMAGE_TYPEDEP to use override syntaxRichard Purdie2021-08-046-11/+11
| | | | | | | | | The IMAGE_TYPEDEP variable would make more sense to match the form of the other image override variables, convert it to use the overrides format. (From OE-Core rev: 8573f6b2a7af9867da0b21936ffd2cd2a417de1d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iputils: fix do_configure failure of missing ip commandChen Qi2021-08-042-1/+222
| | | | | | | | | | | | If 'testimage' and 'testsdk' are not inherited, the 'ip' comamnd will not be in HOSTTOOLS. This results in do_configure failure of iputils. Backport a patch and skipping building tests to fix the problem. (From OE-Core rev: 99cbd4eb95599abdceb7cbb228ff7e74a6a29a09) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxft: Fix bad PKG valueJoshua Watt2021-08-041-3/+3
| | | | | | | | | | The PKG value should only be munged for DEBIAN_NAMES during populate_packages. Otherwise, native packages can have the wrong value. (From OE-Core rev: e77dc392a33d93ab2becd438b6b17705c675dcd5) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libwpe: remove rpi-specific custom codeDenys Dmytriyenko2021-08-041-3/+0
| | | | | | | | | | | | This recipe was ported from another layer, which had special handling for rpi. OE-Core doesn't have 'rpi' override, doesn't define 'vc4graphics' DISTRO_FEATURES and overall, BSP-specifics should be handled in downstream layers, not in OE-Core. (From OE-Core rev: 80ef74e47bee58efc9b5c46bf76b2bceab0957fe) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: convert nested overrides leftovers to new syntaxDenys Dmytriyenko2021-08-046-13/+13
| | | | | | | | | Those were missed in previous rounds of automated and manual conversion. (From OE-Core rev: 22f9c7268b542baf6cd8aa0e34c8fb7aa1579e08) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* aspell: fix CVE-2019-25051Lee Chee Yang2021-08-042-1/+104
| | | | | | | (From OE-Core rev: 297f8c4eb4ff209b5ea69910902d216d86dbe2bf) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: fix the file-rdeps QA message for the new override syntaxChen Qi2021-08-041-1/+1
| | | | | | | | | | | | | | | Instead of replacing '_<pkg>', we should be replacing ':<pkg>'. Otherwise, when we meet a 'file-rdeps' QA error, the error message would be like below. QA Issue: /usr/lib64/libatopology.so.2.0.0:libatopology contained in package libatopology ... The ':libatopology' should not be in the error message. (From OE-Core rev: d65541c13b1346468dce749523b1dc04cfb7f70e) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license: Exclude COPYING.MIT from pseudoRichard Purdie2021-08-041-1/+1
| | | | | | | | | | | | | | | | Along with the other license exclusions, we need to exclude the top level COPYING.MIT file else when: COPY_LIC_DIRS = "1" COPY_LIC_MANIFEST = "1" is set, we see eSDK failures from a pseudo abort. [YOCTO #14366] (From OE-Core rev: 3eb580843de3f055e42fcce60b0f15c4190c0542) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 21.1.3 -> 21.2.1zangrc2021-08-041-1/+1
| | | | | | | | | | Process The source distribution re-installation feature removal has been delayed to 21.3. (From OE-Core rev: bc744bad1e338445d5fa02471cdd6389ce44fabf) Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Define a fallback for DRIDRIVERSKhem Raj2021-08-041-2/+1
| | | | | | | | | | | | Some machines may not define this variable, in such cases bitbake fails to parse run.do_configure.3766843: line 164: -Ddri-drivers=${@strip_comma('${DRIDRIVERS}')}: bad substitution (From OE-Core rev: b68790713fee4de4fa81762526b941ba76b66866) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbus: upgrade 1.2.16 -> 1.2.18zangrc2021-08-041-2/+1
| | | | | | | (From OE-Core rev: 895574c2df6701c0a6ffe84bce05b63180377eb8) Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: Upgrade to 7.78.0Mingli Yu2021-08-041-2/+1
| | | | | | | | | | | | Remove libmetalink configure option as this rarely used option is removed in the new version [1]. [1] https://github.com/curl/curl/commit/265b14d6b37c4298bd5556fabcbc37d36f911693 (From OE-Core rev: a40524a5c5ad441eebd6b751c2fd66637509ae9d) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: Simplify no git repo case in do_kernel_checkoutPaul Barker2021-08-041-15/+15
| | | | | | | | | | | | | | | | | | If the kernel sources are not fetched via git, a local git repository is created in do_kernel_checkout. In this case we know that there will be no remote branches and we will already be on the correct branch (since only one branch will exist). So we can simplify things by skipping these steps. This also removes the assumption that the default git branch name will be "master". Prior to this change, the final git checkout command in do_kernel_checkout could fail if a local git repo was created and the user had changed init.defaultBranch in their gitconfig. (From OE-Core rev: af2a9c92d4498492ca23388c7b4bbed48abdc4d7) Signed-off-by: Paul Barker <paul@pbarker.dev> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Clarify where RDEPENDS/RRECOMMENDS applyRichard Purdie2021-08-042-4/+4
| | | | | | | | | | The tricky of using BPN in a common inc file is rather hard to understand. Simplfy this by moving it to the base vim recipe and use the standard variable form. (From OE-Core rev: cffa5930d86a464aceb4764eec510a2b8f5c44a1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: display correct version infoKai Kang2021-08-022-38/+2
| | | | | | | | | | | | | | | | | | | It does not show correct version info of python3-pytest: $ pip3 list | grep pytest pytest 0.0.0 pytest requires setuptools-scm in setup.cfg. It could be met by adding python3-setuptools-scm-native to dependency and then it will not download egg file of setuptools-scm during do_compile any more. So remove 0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch and depend on python3-setuptools-scm-native to make it show the correct version info. (From OE-Core rev: 9159db64d3b3c7633deb135e683317fd3e98852c) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_ext: Fix handling of TOOLCHAIN_HOST_TASK in the eSDK caseRichard Purdie2021-08-021-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | The current way TOOLCHAIN_HOST_TASK is handled within eSDK builds is causing much confusion, even to people who should understand the code. For a normal SDK, some layers append to TOOLCHAIN_HOST_TASK unconditionally which is fine, until the eSDK tries to override the variable to it's own values. It does not support or use packages installed using this variable and would use native recipes instead, it is a very different approach. In the referenced bug, binaries are added but not relocated leading to confusing errors. To fix this, add a new variables for the eSDK TOOLCHAIN_HOST_TASK to be explict and force the eSDK code to use this instead. The setVar in non-parsing context will clear out any appends resolving the current issues. The patch also gets rid of some dubious task override use. [YCOTO #14047] (From OE-Core rev: 30912ba084aa8600156edddbe4f2db0b85e869d0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* stress-ng: Detemine minimal stack size via sysconfKhem Raj2021-08-022-0/+104
| | | | | | | | | This helps it compile with glibc 2.34+ (From OE-Core rev: 9150933dc524b6cedc42b063b7a2092e202f3672) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Fix rebuilds when changing layer configRichard Purdie2021-08-021-0/+1
| | | | | | | | | | | | | When adding a layer which changed SSTATE_EXCLUDEDEPS_SYSROOT, the state hashes were changing when they should not. This was caused by wider use of setscene_depvalid which means the dependency on the variable was seen when it was previously not. Exclude the variable since this should be be included in the hashes. (From OE-Core rev: 09725a29365c69ccbd603fe3a1de72189f26d5ac) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk: Decouple default install path from built in pathRichard Purdie2021-08-024-3/+7
| | | | | | | | | | | | | | Add SDKPATHINSTALL which is used as the default install location of the SDK instead of SDKPATH. This means the default install path isn't encoded into every SDK binary, meaning if a date is used there the entire SDK doesn't have to rebuild. Most distros can switch to only customise SDKPATHINSTALL meaning more sstate reuse too. [YOCTO #14100] (From OE-Core rev: bc4ee5453560dcefc4a4ecc5657df5cc1666e153) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: Fix incorrect package override for postrmRichard Purdie2021-08-021-1/+1
| | | | | | | | | | This bug has been around for a long time (2011) but fix it to do what was intended originally. The postrm is changed by classes but those should append to existing entries. (From OE-Core rev: 7762b07bf3b0c77b91ad91963ab39d3c73770ebf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: update 11.1 -> 11.2Bernhard Rosenkränzer2021-08-0216-589/+4
| | | | | | | | | Update gcc, drop patches that have been merged upstream (From OE-Core rev: 8979de58dc49fb4f8bc55743a1a4bf613c675a4e) Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: enable TYPEC_TCPCI in usbc fragmentBruce Ashfield2021-08-023-3/+3
| | | | | | | | | | To make the usbc fragment more generally usable, we enable the Type-C Port Controller driver for TCPCI-compliant controller. (From OE-Core rev: 485baca981188896a555d3a48c8b560718bb6e9d) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.13: enable TYPEC_TCPCI in usbc fragmentBruce Ashfield2021-08-023-3/+3
| | | | | | | | | | To make the usbc fragment more generally usable, we enable the Type-C Port Controller driver for TCPCI-compliant controller. (From OE-Core rev: 52d98bdaa2a243ce0b3c6dfaff76ecfaf89a0b30) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt/5.10: update to -rt47Bruce Ashfield2021-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | Integrating the following commit(s) to linux-yocto/5.10: 969fef49cbbc Linux 5.10.52-rt47 bb5ff998ba62 Linux 5.10.47-rt46 340f6b6cdd37 sched: Don't defer CPU pick to migration_cpu_stop() f3d0be7cdae8 sched: Simplify set_affinity_pending refcounts 6b28888ca42a sched: Fix affine_move_task() self-concurrency ea66e426a3b7 sched: Optimize migration_cpu_stop() ac73ac41db62 sched: Collate affine_move_task() stoppers 6963e6b6e008 sched: Simplify migration_cpu_stop() d3a5a12fd350 sched: Fix migration_cpu_stop() requeueing 28dda3752954 Linux 5.10.47-rt45 d5f6c5f008ee Linux 5.10.44-rt44 ec9978fdc6aa Linux 5.10.42-rt43 (From OE-Core rev: 46b1ab616a5eb792e8cb29cfbe340fecd605bea7) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.135Bruce Ashfield2021-08-023-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 0a0beb1f9120 Linux 5.4.135 d2f7b384a74f udp: annotate data races around unix_sk(sk)->gso_size c72374978b3f perf test bpf: Free obj_buf 17bc942c0b96 bpftool: Properly close va_list 'ap' by va_end() on error 84ed8340941a ipv6: tcp: drop silly ICMPv6 packet too big messages 315033cab379 tcp: annotate data races around tp->mtu_info 41f45e91c92c dma-buf/sync_file: Don't leak fences on merge failure 04b06716838b net: fddi: fix UAF in fza_probe 8aa13a86964c net: validate lwtstate->data before returning from skb_tunnel_info() 8cff7b28ab05 net: send SYNACK packet with accepted fwmark b7e5563f2a78 net: ti: fix UAF in tlan:remove_one 2b70ca92847c net: qcom/emac: fix UAF in emac:remove 463c0addb4eb net: moxa: fix UAF in moxart_mac_probe 7ac4a6a74e75 net: ip_tunnel: fix mtu calculation for ETHER tunnel devices d5dc50ca1f7a net: bcmgenet: Ensure all TX/RX queues DMAs are disabled 7ecd40801e5b net: bridge: sync fdb to new unicast-filtering ports 813d45499f51 net/sched: act_ct: fix err check for nf_conntrack_confirm 24973073562f netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo c6f4a71153f4 net: ipv6: fix return value of ip6_skb_dst_mtu 9872273b670a net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz 6148ddff2dcb net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz d73c180e6add dm writecache: return the exact table values that were set 8a85afc6621a mm: slab: fix kmem_cache_create failed when sysfs node not destroyed f53729b828db usb: cdns3: Enable TDL_CHK only for OUT ep 52b01a808696 f2fs: Show casefolding support only when supported 91d846016729 arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file f696cc7f1bc8 firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string e2b28026b861 arm64: dts: armada-3720-turris-mox: add firmware node f7d1fa65e742 cifs: prevent NULL deref in cifs_compose_mount_options() 06d8a7eb5803 s390: introduce proper type handling call_on_stack() macro 2a47e0719ae7 sched/fair: Fix CFS bandwidth hrtimer expiry type 5b7d065868a6 scsi: qedf: Add check to synchronize abort and flush 0fe70c15f943 scsi: libfc: Fix array index out of bound exception d7b647d05586 scsi: libsas: Add LUN number check in .slave_alloc callback 863c4bc883d5 scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8 712e9ed6134f rtc: max77686: Do not enforce (incorrect) interrupt trigger type 199d8ea4c7b1 kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set 484193b635a7 thermal/core: Correct function name thermal_zone_device_unregister() 556cf0283035 arm64: dts: imx8mq: assign PCIe clocks 9d3eb68a5385 arm64: dts: ls208xa: remove bus-num from dspi node e054b361caec firmware: tegra: bpmp: Fix Tegra234-only builds 94d009577033 soc/tegra: fuse: Fix Tegra234-only builds 270a2e9fafea ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15 4bc66215bc22 ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings 856c753237ae ARM: dts: rockchip: fix supply properties in io-domains nodes c5bb9cc2ce23 arm64: dts: juno: Update SCPI nodes as per the YAML schema f572a9139396 ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings 95e795474c81 ARM: dts: stm32: fix RCC node name on stm32f429 MCU a898aa9f88cc ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards 5c17edaaead7 ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios 3446233096ff ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios e79e29a4e162 kbuild: sink stdout from cmd for silent build f817d4677582 rtc: mxc_v2: add missing MODULE_DEVICE_TABLE 0a22b5178276 ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info e20e85639e25 ARM: dts: imx6: phyFLEX: Fix UART hardware flow control a5b19d33ae22 ARM: dts: Hurricane 2: Fix NAND nodes names f83535a47ff8 ARM: dts: BCM63xx: Fix NAND nodes names cb05b84ad7f1 ARM: NSP: dts: fix NAND nodes names 14e3bad3b548 ARM: Cygnus: dts: fix NAND nodes names 587a757afe73 ARM: brcmstb: dts: fix NAND nodes names a9c32c7aeee6 reset: ti-syscon: fix to_ti_syscon_reset_data macro b400afa42739 arm64: dts: rockchip: Fix power-controller node names for rk3328 dfb4e8ed0792 arm64: dts: rockchip: Fix power-controller node names for px30 789070f17886 ARM: dts: rockchip: Fix power-controller node names for rk3288 6aaffe6ce8a9 ARM: dts: rockchip: Fix power-controller node names for rk3188 439115ee56d8 ARM: dts: rockchip: Fix power-controller node names for rk3066a 3b4c34728382 ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x c9d29d62da59 ARM: dts: rockchip: Fix the timer clocks order d105e15de610 arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi cfe3d29e5cde ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288 79573c64410b ARM: dts: gemini: add device_type on pci 7037876393ce ARM: dts: gemini: rename mdio to the right name (From OE-Core rev: 5c36549fab7cc27bd2f4f9e8b6be1ec8546d32bd) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>