summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* licenses: Fix logic error introduced in renameRichard Purdie2022-02-251-2/+2
| | | | | | | | The previous commit introduced a small logic error. Fix the renaming issue. (From OE-Core rev: b01e10b27d23ea1b4ac58376c2423505a70832d6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* files: overlayfs-create-dirs: split ExecStart into two commandsStefan Herbrechtsmeier2022-02-251-1/+2
| | | | | | | | | | | | | | Split ExecStart into two commands because systemd interpret an ExecStart entry as a single executable with multiple parameters. systemd[1]: Starting Overlayfs directories setup... mkdir: cannot create directory '&&': Read-only file system mkdir: cannot create directory 'mkdir': Read-only file system (From OE-Core rev: 209204f7f9d294543fd57b90e29a95c2cde66d99) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: rootfs-postcommands: avoid exception in overlayfs_qa_checkStefan Herbrechtsmeier2022-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | The overlayfs_qa_check in the rootfs-postcommands class throws an exception if the overlayfs distro feature is enabled but no global OVERLAYFS_MOUNT_POINT is specifived. File: '/home/stefan/dalos-linutronix/poky/meta/classes/rootfs-postcommands.bbclass', lineno: 389, function: overlayfs_qa_check 0385: searchpaths = [oe.path.join(imagepath, d.getVar("sysconfdir"), "systemd", "system"), 0386: oe.path.join(imagepath, d.getVar("systemd_system_unitdir"))] 0387: 0388: allUnitExist = True; *** 0389: for mountPoint in overlayMountPoints: 0390: path = d.getVarFlag('OVERLAYFS_MOUNT_POINT', mountPoint) 0391: unit = mountUnitName(path) 0392: 0393: if not any(os.path.isfile(oe.path.join(dirpath, unit)) Exception: TypeError: 'NoneType' object is not iterable (From OE-Core rev: 4396348c24efb1185d68876d3cf6ade90324dee5) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsndfile1: bump to version 1.0.31Alexandru Ardelean2022-02-2513-717/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that the homepage has moved (for a while now) from http://www.mega-nerd.com/libsndfile/ to https://libsndfile.github.io/libsndfile/ On Github, the development group seems to include Erik de Castro Lopo (the original author of libsndfile1). Link: https://github.com/orgs/libsndfile/people All backported CVE patches are in version 1.0.31 (I've checked). The supported format page [1], mentions that Ogg/Opus is supported since 1.0.29, however that isn't currently added in this patch. And it may require libopus. And mp3 is supported at around version 1.1.0, but that version is in beta. This change focuses solely on updating to 1.0.31 and removing all backported patches. [1] https://libsndfile.github.io/libsndfile/formats.html (From OE-Core rev: 6e12ee5f7871150c11dac754145d146ed364b506) Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license.py: rename variablesSaul Wold2022-02-251-14/+17
| | | | | | | | | Update the comment to reflect new variable names (From OE-Core rev: 7fbab1aefc127f0e1834f51a8a793b0d7e7b4f07) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: add /etc/sudoers to sudo-lib conffilesAlex Stewart2022-02-252-2/+2
| | | | | | | | | | | | | | | | | When OE-core commit 788c95c3bb8ede0d3d6a8f125743ac47c0b3f00e created the `sudo-lib` subpackage, /etc/sudoers was moved from `sudo` to `sudo-lib`. The commit didn't update the `CONFFILES:${PN}` assignment in sudo.inc, however. So the `sudo` base package continued to advertise conffile ownership of /etc/sudoers, though it did not contain it. Move the CONFFILES assignment to the sudo.bb file, since it is packaging-related. Change the package owner to the `sudo-lib` subpackage, since it is the rightful file-owner. (From OE-Core rev: 7d688f0ece8fa7e3118cde0c79bbcc56048a2bb5) Signed-off-by: Alex Stewart <alex.stewart@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdrm: upgrade 2.4.109 -> 2.4.110wangmy2022-02-251-1/+1
| | | | | | | (From OE-Core rev: 621623a5421172fddda1c31edaaba269a4b83e1a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-system-helpers: upgrade 1.60 -> 1.62wangmy2022-02-251-1/+1
| | | | | | | | | | | | | | | | Changelog: ========= * use fakechroot instead of unsharing the mount namespace and mounting tmpfs * deb-systemd-invoke: systemctl --machine @<UID> is now available in v249.10. Adjust the version check accordingly * Skip build-time tests if DEB_BUILD_OPTIONS=nocheck is set * Fix typos found by Lintian * Set Rules-Requires-Root: no (From OE-Core rev: 5ee6558c4364d49a0e003648ac49f58f1fb41765) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flac: upgrade 1.3.3 -> 1.3.4wangmy2022-02-251-2/+1
| | | | | | | (From OE-Core rev: 2a5fc361fa6e4709be44a4b7ebd11337e43424c3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: upgrade 9.16.25 -> 9.16.26wangmy2022-02-2510-1/+1
| | | | | | | | | | | | | | | | | | | | Changelog: ========== Log "quota reached" message when hard quota is reached when accepting a connection. Add ECS support to the DLZ interface. A failed view configuration during a named reconfiguration procedure could cause inconsistencies in BIND internal structures, causing a crash or other unexpected errors. rndc could crash when interrupted by a signal before receiving a response. Correctly detect and enable UDP recvmmsg support in all versions of libuv that support it. (From OE-Core rev: c47caa7c8ca77ff137988deaf2d2a8b381f5a3f8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: add tpm string section to qemu acpi tableLiweiSong2022-02-252-0/+84
| | | | | | | | | | | This will create _STR and _UID section for TPM in qemu acpi table, with these section, the missing "description" and "uid" files will be created for TPM in /sys by kernel. (From OE-Core rev: 88bf29935358e727c65693085b50a57f879b774b) Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package: rename LICENSE_EXCLUSIONSaul Wold2022-02-252-4/+4
| | | | | | | | | | By renaming LICENSE_EXCLUSION to _exclude_incompatible, it makes it clear that this is an internal variable. (From OE-Core rev: 20a4cc2c2dcf345ef898abfe7735b7bc75ac0059) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: get_cve_info should open the database read-onlyRoss Burton2022-02-251-1/+2
| | | | | | | | | | | | All of the function in cve-check should open the database read-only, as the only writer is the fetch task in cve-update-db. However, get_cve_info() was failing to do this, which might be causing locking issues with sqlite. (From OE-Core rev: 8de517238f1f418d9af1ce312d99de04ce2e26fc) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wireless-regdb: upgrade 2021.08.28 -> 2022.02.18wangmy2022-02-251-1/+1
| | | | | | | (From OE-Core rev: e5c06ddfd3c0db0d0762c0241c019f59ad310e53) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.1.0 -> 3.1.1wangmy2022-02-253-25/+31
| | | | | | | | | | | refresh the following patches for 3.1.1: 0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch 0006-Make-gemspecs-reproducible.patch (From OE-Core rev: 6ae009ae73fc81de441d57699fee61b6fcc48600) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: upgrade 0.66 -> 0.67wangmy2022-02-253-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= - Call pager with original LANG environment variable - Consistently complain early if no series file is found - Fix handling of symbolic links by several commands - Tighten the patch format parsing - Reuse the shell (performance) - Document the series file format further - Document that quilt loads /etc/quilt.quiltrc - configure: Make stat configurable - series: Minor optimizations - setup: Don't obey the settings of any englobing .pc - setup: Default to fast mode - quilt.el: Fix documentation of quilt-pc-directory - quilt.el: Load /etc/quilt.quiltrc if ~/.quiltrc doesn't exist - quilt.el: Fix quilt-editable when QUILT_PATCHES_PREFIX is set (From OE-Core rev: fa71afcee9ab42198c619333b77a15bd2ae02b20) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patchelf: upgrade 0.14.3 -> 0.14.5wangmy2022-02-251-1/+1
| | | | | | | (From OE-Core rev: 5d5b7126c71b57d049ecd9bdd28edd7d1166b101) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libva-utils: upgrade 2.13.0 -> 2.14.0wangmy2022-02-251-2/+2
| | | | | | | | | | | | Changelog: ========= * test: Use test suite setup/teardown to reduce test overhead * ci: fix freebsd build (From OE-Core rev: 6fcb278ffb38fe1ff6379a7cf0d40c19913ccae3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: remove obsolete ignored CVE listRoss Burton2022-02-251-3/+0
| | | | | | | | | | | | | Three CVEs were meant to be ignored via CVE_WHITELIST, but that wasn't the correct variable name. The CPEs for those CVEs mean that they don't get picked up in our report, so just remove the assignment. (From OE-Core rev: dea00faf30ec7c19b6b5ed4651b430ba3faf69ff) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3targetconfig: Use for nativesdk tooRichard Purdie2022-02-251-0/+12
| | | | | | | | | nativesdk is a cross compiled target and therefore should use the target config, not the native one. Copy the target entries accordingly. (From OE-Core rev: b1b5fec350b390fa7f2d26966df1411b032faf87) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-icon-cache: Allow using gtk4Zoltán Böszörményi2022-02-251-11/+16
| | | | | | | | | | | | | | meta-openembedded has gtk4 which has its own version of gtk-update-icon-cache. Allow programs that want to use gtk4 use the proper version of the gtk-update-icon-cache utility and the proper build and runtime dependencies. Also use a more readable syntax for conditional values in DEPENDS. (From OE-Core rev: 2a927a581e599af8e544e17517cdda1cfaf63e16) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* depmodwrapper-cross: add config directory optionOleksandr Suvorov2022-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | Native depmod by default try to find config files from the following directories: ``` ${STAGING_ETCDIR_NATIVE}/depmod.d /run/depmod.d /usr/local/lib/depmod.d /lib/depmod.d ``` but none of them is correct, change to load config files from ${sysconfdir}/depmod.d of basedir. (From OE-Core rev: aa03d77f009af2b03246554566de2a1eea3f5e2f) Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: fix multilib headers conflict for armYi Zhao2022-02-251-0/+1
| | | | | | | | | | | | | Fixes: Error: Transaction test error: file /usr/include/bits/dl_find_object.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57 file /usr/include/bits/rseq.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57 file /usr/include/bits/timesize.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57 (From OE-Core rev: 0982c2bc19f4cacd72fd43f93c6a0a4d45a75c6a) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: unify wordsize.h between arm and aarch64Yi Zhao2022-02-251-8/+0
| | | | | | | | | | | | | Make sure this header file is same in arm and aarch64. Fix the conflict error when enable multilib: Error: Transaction test error: file /usr/include/bits/wordsize.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57 (From OE-Core rev: 402ba8367f5316fd8d25a536ebd12bc0bcdfa400) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wheel: move 0.37.1 from meta-pythonTim Orling2022-02-252-0/+13
| | | | | | | | | | | | | | | This is one of the "new build tools" which are part of pypa (Python Packaging Authority) toolchain. Wheels are the official delivery mechanism for Python packages, replacing the now deprecated Eggs (egg-info). [YOCTO #14638] (From OE-Core rev: 78a4bccfa38c2d3a6a4a097319eec28c2bc357a7) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch.py: Prevent git repo reinitializationPavel Zhukov2022-02-252-5/+25
| | | | | | | | | | There were few bugs in the _isInitialized() function which might trigger git repo to be reinitialized and patches failing to apply. (From OE-Core rev: 80500ecda4c1bc8812e6e078b6b0db5ec46624de) Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* create-spdx: add support for SDKsAndres Beltran2022-02-252-28/+64
| | | | | | | | | | Currently, SPDX SBOMs are only created for images. Add support for SDKs. (From OE-Core rev: c3acbb936a339636153903daf127eec9f36de79b) Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libarchive : update to 3.5.3Lee Chee Yang2022-02-251-1/+1
| | | | | | | | | | | | | | Libarchive 3.5.3 is a security release Security Fixes: extended fix for following symlinks when processing the fixup list (#1566, #1617, CVE-2021-31566) fix invalid memory access and out of bounds read in RAR5 reader (#1491, #1492, #1493, CVE-2021-36976) (From OE-Core rev: 5b00b0e015312264cdb3fd88b6f4a8df456316c3) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icecc.bbclass: fix syntax errorMartin Jansa2022-02-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | 'class' is already taken as keyword and python doesn't like this: ERROR: Error in compiling python function in oe-core/meta/classes/icecc.bbclass, line 151: The code lines resulting in this error were: 0020: check_pn = set([pn, bpn]) 0021: 0022: class_disable = (d.getVar('ICECC_CLASS_DISABLE') or "").split() 0023: *** 0024: for class in class_disable: 0025: if bb.data.inherits_class(class, d): 0026: bb.debug(1, "%s: class %s found in disable, disable icecc" % (pn, class)) 0027: return "no" 0028: SyntaxError: invalid syntax (icecc.bbclass, line 151) (From OE-Core rev: 31be8f47502681d5621af032bca216c22f78fb84) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Further LICENSE_FLAGS variable updatesSaul Wold2022-02-212-19/+20
| | | | | | | | | Add further tweaks to comments and variable names for license variable change. (From OE-Core rev: 4125d86f1d3adc53230c02bce4bab46b8c21116f) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Rename LICENSE_FLAGS variableSaul Wold2022-02-216-8/+9
| | | | | | | (From OE-Core rev: 5c5b3bc563059ba728dc9724656cc69669f8e25f) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Add entries to warn on usage of removed variablesRichard Purdie2022-02-211-0/+2
| | | | | | | | Add entries for the removed variables TUNEABI_WHITELIST and INHERIT_BLACKLIST. (From OE-Core rev: b3bf2862e221af157f545a216b56b9b393dcc66d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icecc: Improve variables/terminologyRichard Purdie2022-02-213-30/+30
| | | | | | | | | | The SYSTEM and USER seperation between variables seems odd and not necessary, drop it. Avoid the use of whitelist/blacklist and also change "packages" to "recipes" since that misuse causes confusion. (From OE-Core rev: 0df0eb6401a02139b9110bc95e21d97a67125ec5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/scripts: Automated conversion of OE renamed variablesRichard Purdie2022-02-2152-97/+97
| | | | | | (From OE-Core rev: aa52af4518604b5bf13f3c5e885113bf868d6c81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Add entries for renamed variablesRichard Purdie2022-02-211-0/+10
| | | | | | (From OE-Core rev: ca3da0985476819a8e8e720f384f5b8219e5fa54) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* imagefeatures: selftest: Change variable to be more descriptiveSaul Wold2022-02-211-4/+4
| | | | | | | | | | This changes a couple of variables to be more representive of their usage. (From OE-Core rev: f776a4afc279f71d362d42303a930fdc47f11755) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Use renamed SKIP_RECIPE varFlagSaul Wold2022-02-211-4/+4
| | | | | | | | | This is a more descriptive variable name updated in base.bbclass (From OE-Core rev: d28227ff665f4dcc4e7522829e531cdc1fbb1da4) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dnf: Use renamed SKIP_RECIPE varFlagSaul Wold2022-02-212-2/+2
| | | | | | | | | This is a more descriptive variable name updated in base.bbclass (From OE-Core rev: 258662ccf5ceb027ba0e507e2a581c4ee7e9cd04) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blacklist: Replace class with SKIP_RECIPE variableSaul Wold2022-02-215-23/+12
| | | | | | | | | | | | | | | | Remove the old class and rename VarFlag to SKIP_RECIPE, handling this in base.bbclass for efficiency. This means a separate inherit is no longer needed. This change better describes what the VarFlag is doing since it is implemeted with the SkipRecipe() function. By moving this into base.bbclass we simplify the distro inherit. (From OE-Core rev: a5f735746cba6af41a25aa2aa121453a8bc363b4) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* local.conf/oeqa: Update BB_DISKMON_DIRS useScott Murray2022-02-211-2/+2
| | | | | | | | | | | | Update the example BB_DISKMON_DIRS definitions in the sample local.conf files for the rename of the "ABORT" action to "HALT", and also update related error messages in one selftest to use the new action name. (From OE-Core rev: ccb63df13501968502fc0da8ced80b934d6d846e) Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/scripts: Handle bitbake variable renamingRichard Purdie2022-02-218-14/+14
| | | | | | | | After other variables were renamed in bitbake, update OE-Core to match. (From OE-Core rev: 91812ba5a34598e03ad860745707c7cba1ae5d91) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/scripts: Change BB_ENV_EXTRA_WHITE -> BB_ENV_PASSTHROUGH_ADDITIONSRichard Purdie2022-02-215-8/+8
| | | | | | | | After the change to bitbake, update the references in OE-Core to match the updates. (From OE-Core rev: 193affb9f28b0116c3fd619834f145326fee08c5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* layer.conf: Update to use kirkstoneRichard Purdie2022-02-211-3/+3
| | | | | | | | | Update the layers to use the kirkstone namespace. No compatibility is made for honister due to the variable renaming. (From OE-Core rev: 4a180aa5b30cc0906072d5b1e970eea41f1ce642) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.conf: Require bitbake version 1.53.1Richard Purdie2022-02-211-1/+1
| | | | | | | | | We require the code to handle variable renaming which is in this version of bitbake. (From OE-Core rev: e0f5938737727c3a2d738cd595a1f891c444c3c8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-check-layer: add ability to perform tests from a global bbclassDenys Dmytriyenko2022-02-211-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is useful when needing to test layer's recipes, where this special bbclass can define a global python function that gets called on each recipe parsing during "bitbake -S none world" signature dump and be able to fail layer's check accordingly. First test being added is to detect recipes skipping "installed-vs-shipped" QA check. As "installed-vs-shipped" is a packaging QA check, it happens very late in the build process and failing it could mean some potential issues with packaging, especially when recipe uses BBCLASSEXTEND="nativesdk" and resulting package is used in an SDK. In OE-Core failing this QA check leads to an error, but other layers can suppress it or change it to a warning. Detecting weird packaging problems with SDKs is quite difficult and time consuming. Also, waiting for the actual "installed-vs-shipped" packaging QA check to fail means that all recipes in the layer under test have to run through all standard tasks in the build chain, equivalent to a multi-hour world-build. Hence yocto-check-layer takes a shortcut and only detects a mere attempt at skipping "installed-vs-shipped" QA check in the INSANE_SKIP list during initial parsing when dumping the signature information for the layer. (From OE-Core rev: e8baa75535fc888f1d768b23a0140475e832c910) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston-init: replace deprecated/disabled fbdev with drm backendAlexander Kanavin2022-02-211-7/+1
| | | | | | | | | | | drm will default to opengl rendering by default; if this is problematic, --use-pixman option may help, apply only where it's proven necessary. (From OE-Core rev: 432f24ef9af3c0e6e0c769dc2a751023138f7bae) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: make kernel-base recommend kernel-image, not dependRoss Burton2022-02-211-1/+1
| | | | | | | | | | | | | | | As kernel modules depend on the base kernel package, and the base kernel recipe depends on the kernel image, it's impossible to build file system images which contain kernel modules but not the kernel itself, such as an initramfs. Change the RDEPENDS to RRECOMMENDS so that the disk images can set PACKAGE_EXCLUDE = "kernel-image-*" to remove the kernel. (From OE-Core rev: 1c90b27d2c65cfb4f9debf0272820b6a95942f76) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/bblogging: Split the test cases up for ease of testingRichard Purdie2022-02-211-5/+20
| | | | | | | | | This makes it easier to see which of the tests are passing/failing for a given change which aids debugging. (From OE-Core rev: 37efc67e9f4560edba05c7c50acfd0d420c143ff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/bblogging: Add logging tests for bb.build.exec_func with ↵Peter Kjellerstedt2022-02-211-1/+68
| | | | | | | | | | | | | | shell/python code The situation regarding logging is different when a function called by bb.build.exec_func() fails compared to when the task code fails directly. There is a recent fix in bitbake to solve that and these tests will hopefully prevent regressions. (From OE-Core rev: 50ccfaa8b3ed340ee7f906934b211a1c73eb8db5) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boost: Fix build on 32bit arches with 64bit time_t defaultsKhem Raj2022-02-212-0/+37
| | | | | | | (From OE-Core rev: 2702bac9e5c13f8a30153a1c45b278eebc9f11e5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>