summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-03-15deploy.bbclass: Remove an unnecessary path from do_deploy[dirs]Peter Kjellerstedt
There is no reason to include a path in foo[dirs] if it is also in foo[cleandirs] (except if it is the last path in foo[dirs]). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15create-spdx.bbclass: Remove an unnecessary path from do_create_spdx[dirs]Peter Kjellerstedt
There is no reason to include a path in foo[dirs] if it is also in foo[cleandirs] (except if it is the last path in foo[dirs]). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15binutils: Bump to latest 2.38 release branchKhem Raj
Fixes building ppc32 kernels Brings following fixes * 2d92604cd30 Revert "Check thin archive element file size against archive header" * ed9b2e40ebf binutils 2.38 vs. ppc32 linux kernel * 40d32f56f63 Updated Serbian translations for the bfd, gold, ld and opcodes directories * 6aa1b7df2fc ld: Keep indirect symbol from IR if referenced from shared object * ae1cab7d3f3 i386: Update I386_NEED_DYNAMIC_RELOC_TYPE_P for DT_TEXTREL * df9071487a8 PR28882, build failure with gcc-4.2 due to use of 0b literals * caa6172de4b x86: Disallow invalid relocation against protected symbol Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15linux-yocto: Ignore textrels for ppc64 kernelKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gcompat: Do not use static-pie on ppcKhem Raj
It fails currently with binutils 2.38 powerpc-yoe-linux-musl-ld: read-only segment has dynamic relocations Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15ppc/siteinfo: Fix differences between musl and glibcKhem Raj
There is a key difference between glibc and musl when it comes to ppc/ppc64 and that is that musl does not support 128-bit long IBM doubles format it only supports 128-bit long double IEEE format on ppc64 alone. this change ensures that we account for this change, so far we have been doing it a bit wrong for ppc/musl case. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15powerpc32-linux: Remove libc cached variablesKhem Raj
libc_cv_ppc_machine and no longer exists in glibc others are detected correctly in configure. They perhaps made sense in past when the toolchain build has several bootstrap stages Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15librsvg: inherit valaMarkus Volk
this fixes a build error about missing vapigen and enables vapi build Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15gtk+3: remove deprecated optionMarkus Volk
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15mesa: update to 22.0.0Markus Volk
- remove 0001-v3dv-account-for-64bit-time_t-on-32bit-arches.patch that was applied upstream - adjust 0002-meson.build-make-TLS-ELF-optional.patch - fix patch fuzz - DRI1 drivers have been removed! For all AMD/Nvidia Cards gallium-llvm is required License-Update: removed references to deleted code. RP: Fix dri PACKAGECONFIG reference to opengl instead Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15x86-base.inc: replace intel i965 driver with crocusMarkus Volk
this fixes do_rootfs for core-image-sato after mesa update: Problem: package packagegroup-core-x11-base-1.0-r1.noarch requires packagegroup-core-x11-xserver, but none of the providers can be installed - conflicting requests - nothing provides mesa-driver-i965 needed by packagegroup-core-x11-xserver-1.0-r40.intel_corei7_64 (try to add '--skip-broken' to skip uninstallable packages) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15dbus: update 1.12.22 -> 1.14.0Alexander Kanavin
Drop patches: clear-guid_from_server-if-send_negotiate_unix_f.patch stop_using_selinux_set_mapping.patch (both merged upstream) python-config.patch (patched code removed upstream) License-Update: whitespace fixes Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15dbus: merge dbus.inc into the recipeAlexander Kanavin
The content is unchanged. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15dbus-test: merge into main dbus recipeAlexander Kanavin
The reason it was separate is that there is a peculiar circular dependency: dbus tests require glib, while some of glib's gdbus tests require dbus. So dbus was built with tests disabled and without glib dependency, then glib was built with dbus dependency, then dbus was built again with glib dependency and tests enabled, only for the purpose of installing those tests. I find that brittle and hacky, so this removes dbus dependecy from glib (the fallout is that some gdbus tests are no longer being executed), and dbus and its tests are built once, after glib. Conversely, dbus is now dependent on glib for the purpose of building the tests. Also, dbus ptest installation is no longer using custom code, and dbus run-ptest simply uses standard installed tests execution mechanism from gnome. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13oeqa/runtime/ping: Improve failure message to include more detailRichard Purdie
When the ping test fails due to a timeout we only get limited debug information. Tweak the code to improve that in case it sheds any light on intermittent failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13weston-init: add use-pixman PACKAGECONFIGMing Liu
Fbdev backend has been deprecated since weston 10.0.0, and it could be replaced by passing --use-pixman to drm backend, add a use-pixman PACKAGECONFIG for convenience. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13image.bbclass: make sure do_rootfs run from a clean workspaceMing Liu
Add ${IMAGE_ROOTFS} and ${IMGDEPLOYDIR} to do_rootfs[dirs] and do_rootfs[cleandirs], this ensures do_rootfs run from a clean workspace, with this change, we can now remove two bb.utils.mkdirhier lines from meta/lib/oe/rootfs.py. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13Revert "mesa: make sure GLES3 headers are installed"Richard Purdie
This reverts commit 7c6effef9d471efbaea76e23e91938687fcc661c. It uses old overrides syntax which simply doesn't work.
2022-03-13libxml2: update to 2.9.13Ralph Siemsen
- new version includes fix for CVE-2022-23308 - drop patche which was upstream - refresh patch Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13libxml2: move to gitlab.gnome.orgRalph Siemsen
The project has migrated from www.xmlsoft.org to gitlab.gnome.org. Update the homepage accordingly, and use gnomebase to construct the download URL, rather than including it in SRC_URI explicitly. Note that the download is now in .xz format rather than .gz, so the sha256sum is updated accordingly. Post-decompression tarballs are identical, so there is no change to the libxml2 code. Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13python_pep517: move PEP517_SOURCE_PATH to python_pep517Ross Burton
Now we have the start of a PEP-517 base class, the PEP517_SOURCE_PATH variable can be defined in there instead of the classes that use it. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13meta: rename pip_install_wheel.bbclass to python_pep517.bbclassRoss Burton
pip_install_wheel shouldn't restricted to just using Pip to install wheels (the installer module is simplier and likely a better option), and in the future may be extended to also provide do_compile() using the build module. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12meta: remove obsolete PIP_INSTALL_PACKAGERoss Burton
PIP_INSTALL_PACKAGE isn't used anymore, so remove all instances of it from the recipes. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12setuptools3-base: improve RDEPENDS assignmentRoss Burton
Use :append instead of += so that recipes can assign to RDEPENDS:${PN}. This fixes missing RDEPENDS for sixteen recipes in oe-core alone. Also instead of using obscure inline Python we can just use the class-target override. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12grub-efi: Add option to include all available modulesDiego Sueiro
Include all available modules If 'all' is present in GRUB_BUILDIN variable. To achieve this we need to search for all .mod files in ${B}/grub-core/ and pass them to grub-mkimage command. Also, add the verbose option to grub-mkimage. Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12gcompat: Update to latestKhem Raj
Brings in these fixes * 391b270 unistd: add __close * 8af2ff2 random_r: set `x` before calling savestate_r * cca99e8 wchar: add __mbrlen * 59e99e9 random_r: Add reentrant random functions from LSB * 6461276 gnulib: Add __fdelt_warn alias Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12bind: all even versions now get long term maintenance windowsAlexander Kanavin
See here: https://www.isc.org/download/ https://kb.isc.org/docs/aa-00896 Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11weston: require wayland as a distro featureJoe Slater
Weston will not configure successfully unless wayland is a distro feature. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11oe-pkgdata-util: Adapt to the new variable override syntaxPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11seatd: upgrade to 0.6.4 (fixes CVE-2022-25643)Ross Burton
We need to set nobranch=1 as the 0.6.4 tag isn't on any branches at present. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11files: overlayfs-etc: add overlay mount options to preinitClaudius Heine
Overlayfs-etc is useful if the rootfs is read-only. One reason to have the rootfs read-only is to allow image based updating. Image based updating will change the underlying root file system, which is unsupported by overlayfs when with some mount options [1]. This disables those options. [1] https://www.kernel.org/doc/html/latest/filesystems/overlayfs.html?highlight=overlayfs#changes-to-underlying-filesystems Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11files: overlayfs-etc: wrap long lines of preinit fileClaudius Heine
Make it easier to see what is happening by wrapping the overly long lines in the preinit file for the overlayfs-etc. Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11iptables: do not install /etc/ethertypesTrevor Gamblin
Take inspiration from the ebtables recipe in meta-networking and omit installation of etc/ethertypes, since it is provided by netbase. If we don't do this, the following error occurs during build: Error: Transaction test error: file /etc/ethertypes conflicts between attempted installs of iptables-1.8.7-r0.core2_64 and netbase-1:6.3-r0.noarch Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11pip_install_wheel: add a generic do_install for bootstrappingRoss Burton
Several recipes are duplicating the same bootstrap logic for installing a wheel without using any tools. Add an implementation to pip_install_wheel to centralise the code, and remove the duplicated code from the following recipes: - python3-flit-core - python3-pip - python3-setuptools - python3-wheel Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11python3-pip: remove redundant DEPENDS on python3-setuptools-nativeRoss Burton
This recipe inherits setuptools_build_meta which already depends on python3-setuptools-native. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11flit_core: remove redundant python3-pip-native DEPENDSRoss Burton
PIP is not needed by this class directly, but is used by pip_install_wheel which already depends on python3-pip-native. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11m4: Fix build on musl/ppcKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11libtool: Recognise additional linker commandline options passed by clangKhem Raj
Like stdlib, these options are also used to select runtime libraries by clang driver Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11unzip: Pass LDFLAGS to configure testsKhem Raj
Ensures the configure time tests are compiled/linked with the Options that it will be using to build. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10overlayfs-etc: add condition to package-management feature conflictClaudius Heine
The conflict with the `package-managment` only happens if the `overlayfs-etc` class overwrites `/sbin/init`, which is not the case when `OVERLAYFS_ETC_USE_ORIG_INIT_NAME` is set to `0`. Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10overlayfs: add systemd unit path prefix to FILES:${PN} arrayClaudius Heine
The 'FILES:${PN}' array is missing the systemd unit dir prefix causing them to not be packaged and the build fails with the `installed-vs-shipped` error. This adds the `systemd_system_unitdir` variable in front of every unit file added with this class. Signed-off-by: Claudius Heine <ch@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10webkitgtk: Fix build when x11 is not in distro featuresKhem Raj
ANGLE's copy of khrplatform.h is not uptodate with mesa/khronos khrplatform.h which uses MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to EGL_NO_X11 from mesa/khronos headers, however this define is relatively new and 3D stacks do not have this adopted but apps like qemu and bunch of others depend on it, I guess they assume mesa. One can argue that its better to fix the 3D stacks to behave like mesa but this means every BSP using these stacks will need to carry such a fix. https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h This patch helps with that Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10qemu: Fix build when x11 is not in distro featuresKhem Raj
There is use of MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to EGL_NO_X11 from mesa/khronos headers, however this define is relatively new and 3D stacks do not have this adopted but apps like qemu and bunch of others depend on it, I guess they assume mesa. One can argue that its better to fix the 3D stacks to behave like mesa but this means every BSP using these stacks will need to carry such a fix. https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10conf/machine: fix QEMU x86 sound optionsMichael Opdenacker
This updates the QEMU sounds options for x86 emulation, when "runqemu" is called with the "audio" argument, to fix the below error: runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: warning: '-soundhw ac97' is deprecated, please use '-device AC97' instead Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10sudo: upgrade 1.9.9 -> 1.9.10wangmy
Changelog: ========= Added new log_passwords and passprompt_regex sudoers options. Added new log_passwords and passprompt_regex settings to sudo_logsrvd that operate like the sudoers options when logging terminal input. Fixed several few bugs in the cvtsudoers utility when merging multiple sudoers sources. Fixed a bug in sudo_logsrvd parsing the sudo_logsrvd.conf file, where the retry_interval in the [relay] section was not being recognized. Restored the pre-1.9.9 behavior of not performing authentication when sudo's -n option is specified. On systems with /proc, if the /proc/self/stat (Linux) or /proc/pid/psinfo (other systems) file is missing or invalid, sudo will now check file descriptors 0-2 to determine the user's terminal. Bug #1020. Fixed a compilation problem on Debian kFreeBSD. Bug #1021. Fixed a crash in sudo_logsrvd when running in relay mode if an alert message is received. Fixed an issue that resulting in "problem with defaults entries" email to be sent if a user ran sudo when the sudoers entry in the nsswitch.conf file includes "sss" but no sudo provider is configured in /etc/sssd/sssd.conf. Bug #1022. Updated the warning displayed when the invoking user is not allowed to run sudo. Fixed a bug where the user-specified command timeout was not being honored if the sudoers rule did not also specify a timeout. Added support for using POSIX extended regular expressions in sudoers rules. A user may now only run sudo -U otheruser -l if they have a "sudo ALL" privilege where the RunAs user contains either root or otheruser. The sudo lecture is now displayed immediately before the password prompt. Sudo now uses its own closefrom() emulation on Linux systems. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10stress-ng: upgrade 0.13.11 -> 0.13.12wangmy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10python3-pycairo: upgrade 1.20.1 -> 1.21.0wangmy
Changelog: ========= * Require Python 3.7+ :pr:'250' * Require meson 0.53+ * Using 'setup.py' directly to build/install pycairo is deprecated. Use meson instead. * 'setup.py' now requires setuptools. Previously it was optional. * The complete API reference is now included in the typing stubs, so it can be consumed/shown by IDEs. :pr:'236' :pr:'252' Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10gpgme: upgrade 1.17.0 -> 1.17.1wangmy
Changelog: ========= * configure.ac: Bump QT LT version to C15/A0/R0. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10python3-scons: remove redundant FILES:${PN}-docRoss Burton
mandir is in the default FILES:${PN}-doc, so there's no need to add it. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10pip_install_wheel: install wheel with a globRoss Burton
Now that the build systems that use pip_install_wheel are all building their wheel into a directory that we knew was empty before, we can just install *.whl and not need to know the precise names. By design a pyproject.toml will always build a single wheel, so there shouldn't be any way for this to end up installing more than expected. This obsoletes PIP_INSTALL_PACKAGE and PYPA_WHEEL, neither of which are needed anymore. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>