See https://github.com/fwupd/fwupd/releases/tag/2.1.8
Remove backported patches which were adding support for
the MaxLinear MxL862xx switch family to 2.1.7 downstream.
Restore the glib2 host build dependency
src/meson.build calls gnome.compile_resources(), which resolves
glib_compile_resources from the staged gio-2.0.pc. glib2 rewrites that
variable to point into staging_dir/hostpkg, as a cross-built generator
cannot run on the build host, so fwupd has to build glib2/host. With
the dependency gone, meson only configures when an unrelated package
stages the host tools first, and otherwise fails with "tool variable
'glib_compile_resources' contains erroneous value".
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Backport two patches from upstream implementing devlink-based firmware
update support for the MaxLinear MxL862xx DSA switch family, found eg.
on the BananaPi R4 Pro (8E/4E).
Users can update the switch firmware using `fwupdmgr update`.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The devlink plugin allows updating firmware of network devices
implementing the kernel devlink interface. It is gated on libmnl,
which was hard-disabled so far. Wire the libmnl meson option to a
new FWUPD_PLUGIN_DEVLINK config symbol, enabled by default, and add
the corresponding libmnl runtime dependency to fwupd-libs.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The fwupd Config.in menu depends on PACKAGE_fwupd-libs, making
FWUPD_PLUGIN_FLASHROM implicitly depend on PACKAGE_fwupd-libs.
But fwupd-libs has a conditional dependency on libflashrom gated
by FWUPD_PLUGIN_FLASHROM, creating a circular dependency.
Fix by removing the depends on PACKAGE_fwupd-libs guard from the
Config.in menu and moving DEPENDS from Package/fwupd/Default into
Package/fwupd-libs directly. The menu options are always visible
in menuconfig but only take effect when fwupd-libs is selected.
Co-developed-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Joshua Klinesmith <joshuaklinesmith@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Bump fwupd to 2.0.1 and make libdrm support configurable.
Set libdrm support disabled by default.
This is needed to fix a problem with buildbot where libdrm dependency is
silently included as buildbot compile every package and library is found
in the system.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>