summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* nfs-utils: set precise BSD licenseRoss Burton2021-09-031-1/+1
| | | | | | | | | "BSD" is ambiguous, use the precise license BSD-3-Clause. (From OE-Core rev: 5214d23cf0d316d501a147a09edfb46df42d6cb7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quota: remove BSD licenseRoss Burton2021-09-031-1/+1
| | | | | | | | | | Only the 'quot' tool was BSD licensed, and this was removed upstream in commit 5d30a29 (since 4.05). (From OE-Core rev: 3dfe4fe43a3bb5d90d6d7cb1ee56db3b0657821e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-numpy: remove redundant BSD licenseRoss Burton2021-09-031-1/+1
| | | | | | | | | | The license list already includes BSD-2-Clause and BSD-3-Clause, so remove the redundant and ambiguous BSD license. (From OE-Core rev: 7026bfa36aa07aa95e0e4ecf1787c09001a752bf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: remove redundant BSD licenseRoss Burton2021-09-031-1/+1
| | | | | | | | | | The upstream license is BSD-2-Clause or GPLv2, so remove the redundant and ambiguous BSD license. (From OE-Core rev: 53cf640e72118d0a7916b165d78c68090aa06381) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable crocus driver for older intel graphicsAlexander Kanavin2021-09-021-3/+2
| | | | | | | | | | | | | | See here for the full story: https://www.phoronix.com/scan.php?page=news_item&px=Intel-Crocus-Default-Gallium3D Once crocus does become the default over i965, upstream is likely to retire classic pre-gallium drivers altogether, which (with the exception of i965, superseded by crocus) are all for retrocomputing hardware. (From OE-Core rev: dfc5f935b5b1759f73b2ddd86d2b291436dbc705) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: remove unused patchesMartin Jansa2021-09-022-101/+0
| | | | | | | | | | * 0001-nfc-Fix-missing-include.patch was only used in 1.51.0 version recently removed * 0001-rustc_target-Fix-dash-vs-underscore-mismatches-in-op.patch was only used in 1.49.0 version in meta-rust (From OE-Core rev: 52b12dac55a3747d8d6f2e799c669ef2bcda57ae) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-common: Hack around LD_LIBRARY_PATH issues on centos7Richard Purdie2021-09-022-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building cargo-native on centos7 with buildtools tarball installed, we see failures: /bin/sh: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /home/pokybuild/yocto-worker/reproducible-centos/build/build-st/tmp/work/x86_64-linux/cargo-native/1.54.0-r0/recipe-sysroot-native/usr/lib/libtinfo.so.5) We also see this for libstd-rs once cargo-native is fixed. The reason for this is that the wrapper script cargo-native/1.54.0-r0/wrapper/target-rust-ccld has /bin/sh as it's interpreter and cargo calls this with LD_LIBRARY_PATH set to include the recipe-sysroot-native. The host /bin/sh links to libtinfo from the host but it finds the version in the sysroot which needs a newer libc. This results in the above error since the loader is an older libc and the two are incompatible. Our ccld wrapper calls gcc/ld which don't need the LD_LIBRARY_PATH variable set. We can't patch this out the source since we're using a prebuilt binary to generate a new cargo binary so this is impossible to bootstrap. Instead, put a binary wrapper into place which removes LD_LIBRARY_PATH from the environment before calling the original wrapper (left in shell as it is simpler to maintain). (From OE-Core rev: 8feeeb7f76c6725e5226458c8f22999b67c52694) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cargo: Apply uninative fix to snapshot as with rustRichard Purdie2021-09-021-0/+5
| | | | | | | | | | Also add the interpreter relocation trick from uninative to the prebuilt cargo binary to match rust-native, just in case that causes other problems later too. (From OE-Core rev: e3cb3958cc14672feef5d4d8953131f55db68573) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: Add rdp PACKAGECONFIGMarek Vasut2021-09-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Weston has RDP backend support. This can be used e.g. for screen mirroring. Add PACKAGECONFIG so it can be enabled by the user. By default, this is not enabled, to retain the old behavior of the recipe. Below is an example testcase of using the RDP backend for screen mirroring, i.e. two devices display the same content across ethernet link, input on either is passed across the link. - Add the following to weston.ini: [core] modules=screen-share.so screen-share=true [screen-share] command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/path/to/board.crt --rdp-tls-key=/path/to/board.key --no-config - Generate keys on the board (the board.key and board.crt above): $ winpr-makecert -rdp -path /path/to/ - Restart weston on the board. To start screen sharing, press Ctrl-Alt-S on the keyboard (see weston compositor/screen-share.c). - Connect to the weston using freerdp, e.g.: $ xfreerdp /v:192.168.1.300 (From OE-Core rev: 05706a487c2e57fb26935276a2ec650405900243) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joshua Watt <JPEWhacker@gmail.com> Cc: Khem Raj <raj.khem@gmail.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest: allow the ptest-packagelists.inc warning to be disabledRoss Burton2021-09-022-5/+7
| | | | | | | | | | | | | | | | | | ptest.bbclass has a sanity check that all recipes in oe-core which inherit ptest are also listed in the ptest-packagelists.inc file, and the build fails if this is not the case. Whilst this is a laudable goal, it is over-zealous as if the recipe has a bbappend in another layer which inherits ptest, the build will fail. By changing the combination of anonymous Python and bb.error() to a recipe-scope QA test, this can be handled with the other sanity checks and bbappends can skip the test if desired. (From OE-Core rev: abe45c8c0a6da56a278796654d0520250dfd2a97) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Add repart PACKAGECONFIGKristian Klausen2021-09-021-0/+4
| | | | | | | | | | | | | | | | systemd-repart[1] is useful for partitioning the disk: "systemd-repart grows and adds partitions to a partition table, based on the configuration files described in repart.d(5)."[1] openssl is required by repart, so it can be enabled like so: PACKAGECONFIG += "openssl repart" [1] https://www.freedesktop.org/software/systemd/man/systemd-repart.html (From OE-Core rev: a9fb51b75d4536d13734d91222bb0bc612555ae2) Signed-off-by: Kristian Klausen <kristian@klausen.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix build on Arm V5 with soft floatRoss Burton2021-09-022-0/+54
| | | | | | | | | | | | | | | | | Since 80923e8d ("util/format: Add some NEON intrinsics-based u_format_unpack.") upstream the build fails on Arm platforms which use the soft-float ABI, such as qemuarmv5: arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard" Take a patch from upstream to check the ABI being used before trying to use NEON instructions. (From OE-Core rev: f3d82abb781c2642a50a60033641194d1e40c212) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Make UBOOT_BINARYNAME configurableStefan Herbrechtsmeier2021-09-022-11/+11
| | | | | | | | | | Make the u-boot binary name configurable. Use the existing variable UBOOT_BINARYNAME which is evaluated from the UBOOT_BINARY. (From OE-Core rev: e588cde6aed1e699a055e3481df0f3dc719c9774) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Make SPL suffix configurableStefan Herbrechtsmeier2021-09-022-13/+21
| | | | | | | | | | | | | | | | Make the SPL suffix configurable via SPL_SUFFIX variable to support SPL binaries with suffix. The suffix is optional and empty per default. The delimiter in front of the suffix is added automatically if the suffix is not empty. A new variable SPL_BINARYFILE contains the binary file name inclusive optional delimiter and suffix and the old variable SPL_BINARYNAME contains only the name of the binary without directory, delimiter and specified suffix. This behavior is backward compatible with empty SPL_SUFFIX variable. (From OE-Core rev: e4cfec633c20d6406523da905530e887b853f7ed) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Remove misplaced configuration type variableStefan Herbrechtsmeier2021-09-021-1/+1
| | | | | | | (From OE-Core rev: 3fe8adbad5226d673f22f31f4903149cf3376ae5) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Remove redundancy from installed and deployed SPL artifact namesStefan Herbrechtsmeier2021-09-021-8/+8
| | | | | | | | | | | Remove redundant parts from the deployed and installed SPL artifact names of multi config configurations to match the other U-Boot artifact names. (From OE-Core rev: 74f1f84d09ec5b435942e2a83697834677055343) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* swig: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: 01354672728aff07ae146b19e1a4a98977aac52b) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flac: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: 0442d87d5c6c467ba0e35d4ee20bd907f4dd9fdf) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* font-util: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: 828bca22d9a4b995d9961d3cc8c3aedcb5ef577d) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: 44fd2aa731956fe0a0f74d36959c88b0b87adab5) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libjitterentropy: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: a352473138dd2396bc33eff3d738c41ff24f52fe) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxfont2: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: e340bad91f3220a156572bde3c337425f5c36cfc) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpam: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: d9948d0439cf26af9f570e9a9d0d214294bae504) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: ff27ea21d7c14086335da5c3e2fac353e44438da) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcap: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: 9e8b2bc55792932e23d3b053b393b7ff88bffd6b) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: 65e3b23e1b266653fd30c90222e953f7e37fba0c) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: 966fb77981e4fed0ab7998439940b1e05dd0ee43) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: Use specific BSD license variantJoshua Watt2021-09-021-1/+1
| | | | | | | | | | | Make the license more accurate by specifying the specific variant of BSD license instead of the generic one. This helps with SPDX license attribution as "BSD" is not a valid SPDX license. (From OE-Core rev: 91cd1ef01a3f3883c04bac67af2672ec60e20fb8) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: Remove BSD License specifierJoshua Watt2021-09-021-1/+1
| | | | | | | | | | The code in question is licensed under the BSD-3-Clause license, so including the generic "BSD" license is unnecessary. (From OE-Core rev: c39fc075ce3fd5b53c2a2fccb43500ee0a12f39d) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/licenses: Add FreeType SPDX mappingJoshua Watt2021-09-021-0/+1
| | | | | | | | | The FreeType license maps to the FTL SPDX identifier (From OE-Core rev: 7b0b745d7c1841b9af3b90d3e41e31606a72435e) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative: Upgrade to 3.4Michael Halstead2021-09-011-4/+4
| | | | | | | | | | This adds a patch to glibc which allows it to work with Docker and clone3 syscall issues cased by EPERM vs ENOSYS. (From OE-Core rev: 06d55ee67ef81a9f9da178b06bb797cc62881643) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: stop using "virtual/" in RPROVIDES and RDEPENDSMichael Opdenacker2021-09-014-4/+4
| | | | | | | | | | | | | | | | | Fixes [YOCTO #14538] Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS. That's confusing because "virtual/" has no special meaning in RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS). Instead, using "virtual-" instead of "virtual/" as already done in the glibc recipe. (From OE-Core rev: 93ac180d8c389f16964bce8bd5538d9389e970e6) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-packagegroup-sdk-host: add perl integer moduleAndrey Zhizhikin2021-09-011-0/+3
| | | | | | | | | | | | | | Kernel commit 12dd461ebd19 ("crypto: arm64 - generate *.S by Perl at build time instead of shipping them") uses perl to generate assembler files for crypto functionality, which relies on the integer.pm module to be provided. Add perl module to package group and export it in SDK. (From OE-Core rev: 9f4c95a874f6a463b7d56bacea9ba321e29499f9) Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/buildtools-cases: Allow bitbake time to shutdownRichard Purdie2021-09-011-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | bitbake may still be shutting down when the UI exits. Wait for the lock to disappear before trying to delete the directory to avoid errors. Traceback (most recent call last): File "/home/pokybuild/yocto-worker/buildtools/build/meta/lib/oeqa/sdk/buildtools-cases/build.py", line 23, in test_libc self._run('. %s/oe-init-build-env %s && bitbake virtual/libc' % (corebase, testdir)) File "/usr/lib64/python3.7/tempfile.py", line 807, in __exit__ self.cleanup() File "/usr/lib64/python3.7/tempfile.py", line 811, in cleanup _shutil.rmtree(self.name) File "/usr/lib64/python3.7/shutil.py", line 494, in rmtree _rmtree_safe_fd(fd, path, onerror) File "/usr/lib64/python3.7/shutil.py", line 452, in _rmtree_safe_fd onerror(os.unlink, fullname, sys.exc_info()) File "/usr/lib64/python3.7/shutil.py", line 450, in _rmtree_safe_fd os.unlink(entry.name, dir_fd=topfd) FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.sock' (From OE-Core rev: 94df60cc97058444188ec8372c2d9849e74b76c6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_features_check: expand with IMAGE_FEATURESTrevor Woerner2021-09-011-2/+2
| | | | | | | | | | | In addition to checking DISTRO_, MACHINE_, and COMBINED_ FEATURES for required or conflicting features, extend this functionality in order to check IMAGE_FEATURES in the same way. (From OE-Core rev: 96a9702a24a73c152c8e7398c3774e63c53a92a9) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: Label packages providing per-file dependencies in depends.dotAndres Beltran2021-09-012-3/+33
| | | | | | | | | | | | | | | | Currently, depends.dot includes per-file dependencies but not the packages providing those files. This makes it hard to obtain all package dependencies by just looking at depends.dot. Parse the RPROVIDES and FILERPROVIDES fields from pkgdata to map each of their values to the package providing the component. Include runtime packages as dependencies in depends.dot, together with the component provided by the package as a label. (From OE-Core rev: 2ba33093017574bbe29eeba699eb90628614d03a) Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpio: backport fix for CVE-2021-38185Ross Burton2021-09-012-0/+582
| | | | | | | (From OE-Core rev: 4accf77ea5b5810cb2330acc6773690ec1b1c71b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rustfmt: fix SRC_URIKai Kang2021-09-011-1/+1
| | | | | | | (From OE-Core rev: 9f92fcb502aeae26c2e35832d5414a6096c20961) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* musl: Update to latest tip of trunkKhem Raj2021-09-012-34/+1
| | | | | | | | | | | | | | | | | | | | | | | Drop upstream patch This brings in following fixes * 3f701faa (upstream/master, origin/master) fix libc-internal signal blocking on mips archs * 0fbd7d66 fix broken struct shmid_ds on powerpc (32-bit) * 4f3d346b math: fix fmaf not to depend on FE_TOWARDZERO * 937822ab fix TZ parsing logic for identifying POSIX-form strings * 1f0c7cb1 riscv: rename __NR_fstatat __NR_newfstatat * d8cb888d remove return with expression in void function * b7a130e0 remove unnecessary cast for map_library return * bd3b9c4c add pthread_getname_np function * e1a51185 fix popen not to leak pipes from one child to another * e74acd59 remove spurious lock in popen * 9a40e842 define __STDC_UTF_{16,32}__ macros (From OE-Core rev: da8fcd0155f1cf3394d0886c940bee77669009d4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust-common.bbclass: export RUST_TARGET_PATHTim Orling2021-09-011-1/+1
| | | | | | | | | | | Running 'rustc --print <foo>' in -c devshell environment the target specifications are not known, unless the RUST_TARGET_PATH (absolute path to rustlib/) is defined. (From OE-Core rev: 6d0603ffe18c1a5999db854abb668b05aff47f67) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-*: Use more specific DEFAULTTUNEJon Mason2021-09-019-9/+9
| | | | | | | | | | | | These files are using a more generic DEFAULTTUNE in their targeted tune file. This is contrary to what is being done in other tune files, and this changes them to match. It is still possible to use the more generic DEFAULTTUNE in a machine's config file by simply specifying it. (From OE-Core rev: e35205a9803692d72eb92b86d740821c667b527e) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: fix upstream version checksAlexander Kanavin2021-09-012-0/+5
| | | | | | | (From OE-Core rev: e2e87d82ad1ec071077f29613e2e568196912daa) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: remove rest of ptest artifactsArmin Kuster2021-09-012-44/+0
| | | | | | | | | | | Commit: 953f6d9a71 lz4: remove ptest changes missed removing the run-ptest file (From OE-Core rev: 28aaf1223396820f8fcd9a6aade46b5007b030a6) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: Security Fix for CVE-2021-3520Armin Kuster2021-09-012-0/+28
| | | | | | | | | | | | | | Source: https://github.com/lz4/lz4 MR: 111604 Type: Security Fix Disposition: Backport from https://github.com/lz4/lz4/commit/8301a21773ef61656225e264f4f06ae14462bca7#diff-7055e9cf14c488aea9837aaf9f528b58ee3c22988d7d0d81d172ec62d94a88a7 ChangeID: 58492f950164e75954a97cf084df6f9af3d88244 Description: (From OE-Core rev: 6d6a089a2f637051333e0137d2e748c823e2aa98) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base/kernel: Support zstd-compressed squashfs and cpio initramfsZoltán Böszörményi2021-09-015-6/+18
| | | | | | | | | | Enable zstd PACKAGECONFIG knob for squashfs-tools and add support for zstd compressed initramfs and squashfs. (From OE-Core rev: fa146049eec5f9730781830270cc9dc55a2146f7) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: Use unexpanded EXTENDPKGVRichard Purdie2021-09-011-4/+3
| | | | | | | | | | EXTENDPKGV can contain AUTOINC so use an expanded form in the variables allowing for later expansion during packaging to avoid race issues over the variable and the build failures that can result. (From OE-Core rev: 1f93d2426d22c74893e8daec9bb939133c5737c2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: fix create thread failed in unprivileged processHongxu Jia2021-08-312-0/+80
| | | | | | | | | | | | | | | | | | | | | | | Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2 and clone3] applied, start a unprivileged container (docker run without --privileged), it creates a thread failed in container. In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined. If __clone3 returns -1 with ENOSYS, fall back to clone or clone2. As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP, CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS was specified by an unprivileged process (process without CAP_SYS_ADMIN) [1] https://man7.org/linux/man-pages/man2/clone3.2.html So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could fix the issue. (From OE-Core rev: 234a3e84640c1bb6df5fa4d3d7089a854b19d108) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: Add output file listing package informationAndres Beltran2021-08-271-0/+5
| | | | | | | | | | | | | | | | Currently, buildhistory does not produce a single file combining relevant information of installed packages. Produce an output file "installed-package-info.txt" listing a package's runtime name, buildtime name, its recipe, version, and size to avoid having to look up each package externally. Leave the existing package list files as-is for backwards compatibility. In order to support this efficiently, extend oe-pkgdata-util to accept multiple keys for its read-value argument. (From OE-Core rev: 1e18b514bf1f960d324a21db608c8e8e5af007ef) Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* parselogs.py: ignore intermittent CD/DVDROM identification failureBruce Ashfield2021-08-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | We don't use the CD/DVD ROM drive in any of our tests, but it periodically fails discovery and that leads to a QA error: [ 6.403477] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4) The only way to disable the optical ROM drive in qemu is to use the '-nodefaults' option, which disables the CDROM (among other things). We can't be sure that none of our tests, or extended users are relying on default devices, so using that option is more of a risk than adding the message to our ignore list. To date, no one has sent a patch to just disable the optical drive (either in qemu or the BIOS), but that is something we could consider in the future. [YOCTO #14528] (From OE-Core rev: 143fc5504539c69752ca87717507c197a8920ce5) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.60Bruce Ashfield2021-08-273-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 2c5bd949b1df Linux 5.10.60 3a24e121304a net: dsa: microchip: ksz8795: Use software untagging on CPU port 1e78179d75fb net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion 5033d5e23155 net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration 60c007b52779 net: dsa: microchip: ksz8795: Fix PVID tag insertion f365d53c8687 net: dsa: microchip: Fix probing KSZ87xx switch with DT node for host port 3dc5666baf2a KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656) c0883f693187 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653) b5f05bdfda28 vmlinux.lds.h: Handle clang's module.{c,d}tor sections 2fe07584a623 ceph: take snap_empty_lock atomically with snaprealm refcount change a23aced54c2c ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm b0efc93271ca ceph: add some lockdep assertions around snaprealm handling dcdb587ac470 vboxsf: Add support for the atomic_open directory-inode op 7cd14c1a7fed vboxsf: Add vboxsf_[create|release]_sf_handle() helpers 433f0b31ebec KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF 0ab67e3dfc4d KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation 4a948c579ed6 efi/libstub: arm64: Double check image alignment at entry fc7da433fa16 powerpc/smp: Fix OOPS in topology_init() 312730cd15e0 PCI/MSI: Protect msi_desc::masked for multi-MSI 724d0a985086 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown() 923368751866 PCI/MSI: Correct misleading comments e42fb8e6161e PCI/MSI: Do not set invalid bits in MSI mask 042e03c9cdab PCI/MSI: Enforce MSI[X] entry updates to be visible 0b2509d7a90c PCI/MSI: Enforce that MSI-X table entry is masked for update aa8092c1d1f1 PCI/MSI: Mask all unused MSI-X entries 7e90e81a4b59 PCI/MSI: Enable and mask MSI-X early 2d2c66848027 genirq/timings: Prevent potential array overflow in __irq_timings_store() 355754194b48 genirq/msi: Ensure deactivation on teardown f0736bed18fb x86/resctrl: Fix default monitoring groups reporting 25216ed97da8 x86/ioapic: Force affinity setup before startup 19fb5dabedca x86/msi: Force affinity setup before startup 4e52a4fe6f44 genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP 2a28b52306f2 x86/tools: Fix objdump version check again 4acc0d987141 powerpc/kprobes: Fix kprobe Oops happens in booke 015e2c900b5d efi/libstub: arm64: Relax 2M alignment again for relocatable kernels feb4a01d3ece efi/libstub: arm64: Force Image reallocation if BSS was not reserved afcb84e6cf8c arm64: efi: kaslr: Fix occasional random alloc (and boot) failure e0ee8d9c31b5 nbd: Aovid double completion of a request f5cefe9a52a6 vsock/virtio: avoid potential deadlock when vsock device remove dff830e5e723 xen/events: Fix race in set_evtchn_to_irq 65395b053d03 drm/i915: Only access SFC_DONE when media domain is not fused off 4344440d91b3 net: igmp: increase size of mr_ifc_count 696afe28dc51 tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets 8976606ca347 net: linkwatch: fix failure to restore device state across suspend/resume 4c2af90119ea net: bridge: fix memleak in br_add_if() f333a5ca71c3 net: bridge: fix flags interpretation for extern learn fdb entries e3b949b86d09 net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry 1cad01aca1fa net: dsa: sja1105: fix broken backpressure in .port_fdb_dump 56cc3408ff2a net: dsa: lantiq: fix broken backpressure in .port_fdb_dump f7720b35cd32 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump 24e1b7dbb174 net: igmp: fix data-race in igmp_ifc_timer_expire() 69b13167a636 net: Fix memory leak in ieee802154_raw_deliver dbfaf7a6a23a net: dsa: microchip: ksz8795: Fix VLAN filtering ccc1fe82c878 net: dsa: microchip: Fix ksz_read64() 558092b8ed31 drm/meson: fix colour distortion from HDR set during vendor u-boot 6e1886465dea net/mlx5: Fix return value from tracer initialization 303ba011f5e1 net/mlx5: Synchronize correct IRQ when destroying CQ 00a0c11ddd72 bareudp: Fix invalid read beyond skb's linear data 30b1fc47f765 psample: Add a fwd declaration for skbuff b3f0b170842c iavf: Set RSS LUT and key in reset handle path a6192bae12e4 ice: don't remove netdev->dev_addr from uc sync list bae5b521feaa ice: Prevent probing virtual functions 059238c52c61 net: sched: act_mirred: Reset ct info when mirror/redirect skb f15f7716b047 net/smc: fix wait on already cleared link 51f4965d775e ppp: Fix generating ifname when empty IFLA_IFNAME is specified 046579c9fc28 net: phy: micrel: Fix link detection on ksz87xx switch" e95620c3bdff bpf: Fix integer overflow involving bucket_size 1960c3ac5268 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT a3e9a3e22844 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables 53ebbfdd0e37 net: mvvp2: fix short frame size on s390 784320edb6c5 net: dsa: mt7530: add the missing RxUnicast MIB counter 20a80319028c ASoC: cs42l42: Fix LRCLK frame start edge 750503aecf4e pinctrl: tigerlake: Fix GPIO mapping for newer version of software be49d5437d1a netfilter: nf_conntrack_bridge: Fix memory leak when error aa6b17bfefbc ASoC: cs42l42: Remove duplicate control for WNF filter frequency b268f9f6b73f ASoC: cs42l42: Fix inversion of ADC Notch Switch control 2386a8cde18e ASoC: SOF: Intel: hda-ipc: fix reply size checking 0e47f99e8680 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J 576939671f74 ASoC: cs42l42: Correct definition of ADC Volume control a21963c35f16 pinctrl: mediatek: Fix fallback behavior for bias_set_combo 27188a938291 ieee802154: hwsim: fix GPF in hwsim_new_edge_nl 528f17c02db9 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi 95de3592f87e drm/amdgpu: don't enable baco on boco platforms in runpm bd80d11a516c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work ae311a7418f1 drm/amd/display: Remove invalid assert for ODM + MPC case c2351e5faa3e libnvdimm/region: Fix label activation vs errors 366de90ccfa2 ACPI: NFIT: Fix support for virtual SPA ranges f3fcf9d1b759 ceph: reduce contention in ceph_check_delayed_caps() ca6dea44bd8c ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch 4716a2145bbf net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases 561d13128bb8 seccomp: Fix setting loaded filter count during TSYNC 54916988a0fb scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash 3db5cb922800 cifs: create sd context must be a multiple of 8 d1398e3715b1 i2c: dev: zero out array used for i2c reads from userspace b8bceace43dd ASoC: intel: atom: Fix reference to PCM buffer address 261613ef340b ASoC: tlv320aic31xx: Fix jack detection after suspend 7e5a7fa68b27 ASoC: uniphier: Fix reference to PCM buffer address 209eb62b45fe ASoC: xilinx: Fix reference to PCM buffer address c419c4c91b30 ASoC: amd: Fix reference to PCM buffer address 0c9adae11701 iio: adc: Fix incorrect exit of for-loop 632279e5057c iio: humidity: hdc100x: Add margin to the conversion time 45de224b1332 iio: adis: set GPIO reset pin direction d0532ed064d1 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels (From OE-Core rev: 94fef82258d02285009d08b7a1791de124ff8f45) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>