summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-04-27 11:03:01 -0700
committerKhem Raj <raj.khem@gmail.com>2024-04-29 11:11:51 -0700
commit25e1917a4444b3eae8cb62bd3d1d3b096e4c5cc0 (patch)
treeba66ae115476fe35dfe0c75798a3b5749be839bf
parenta6fbd9371cdccd7401764ab8257489a0e2a41274 (diff)
downloadmeta-openembedded-25e1917a4444b3eae8cb62bd3d1d3b096e4c5cc0.tar.gz
fwupd: Upgrade to 1.9.18 release
Drop patch which is already upstreamed in this release Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-bsp/fwupd/fwupd/0001-meson-Avoid-absolute-buildtime-paths-in-generated-he.patch41
-rw-r--r--meta-oe/recipes-bsp/fwupd/fwupd_1.9.18.bb (renamed from meta-oe/recipes-bsp/fwupd/fwupd_1.8.9.bb)92
2 files changed, 46 insertions, 87 deletions
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd/0001-meson-Avoid-absolute-buildtime-paths-in-generated-he.patch b/meta-oe/recipes-bsp/fwupd/fwupd/0001-meson-Avoid-absolute-buildtime-paths-in-generated-he.patch
deleted file mode 100644
index 2273bdf10..000000000
--- a/meta-oe/recipes-bsp/fwupd/fwupd/0001-meson-Avoid-absolute-buildtime-paths-in-generated-he.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From b1df1ed3a21b8ef0244102043a8fb88b0ccc3f91 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 17 Apr 2023 11:30:21 -0700
4Subject: [PATCH] meson: Avoid absolute buildtime paths in generated headers
5
6using meson.project_source_root() means the path emitted to include .h
7files is absolute and it makes its way into PN-src as well, which infact
8is not going to work if the -src package was used to re-build this in a
9different build path. Therefore use relative path which is '.' and
10relative to ${S}
11
12Changes
13include "<abspath>/plugins/acpi-dmar/fu-acpi-dmar-plugin.h"
14to
15include "./plugins/acpi-dmar/fu-acpi-dmar-plugin.h"
16
17in generated build/src/fu-plugin-builtin.h
18
19Upstream-Status: Pending
20
21Signed-off-by: Khem Raj <raj.khem@gmail.com>
22---
23 src/meson.build | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
25
26diff --git a/src/meson.build b/src/meson.build
27index b9f6736..bb856ea 100644
28--- a/src/meson.build
29+++ b/src/meson.build
30@@ -188,7 +188,7 @@ plugins_hdr = custom_target('fwupd-generate-plugins-header',
31 command : [
32 join_paths(meson.project_source_root(), 'contrib', 'generate-plugins-header.py'),
33 '@OUTPUT@',
34- meson.project_source_root(),
35+ '.',
36 ','.join(plugin_names),
37 ],
38 )
39--
402.40.0
41
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_1.8.9.bb b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.18.bb
index 1f95dee1b..d20d5ed2a 100644
--- a/meta-oe/recipes-bsp/fwupd/fwupd_1.8.9.bb
+++ b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.18.bb
@@ -2,12 +2,11 @@ SUMMARY = "A simple daemon to allow session software to update firmware"
2LICENSE = "LGPL-2.1-or-later" 2LICENSE = "LGPL-2.1-or-later"
3LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" 3LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
4 4
5DEPENDS = "glib-2.0 libxmlb json-glib libjcat gcab vala-native" 5DEPENDS = "glib-2.0 libxmlb json-glib libjcat gcab vala-native python3-jinja2-native"
6 6
7SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \ 7SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \
8 file://0001-meson-Avoid-absolute-buildtime-paths-in-generated-he.patch \
9 file://run-ptest" 8 file://run-ptest"
10SRC_URI[sha256sum] = "719a791ac4ba5988aeb93ec42778bd65d33cb075d0c093b5c04e5e1682be528a" 9SRC_URI[sha256sum] = "4e554f77a8a73383a41d5637b62e6c8a8936e66cd1d18585baf29d7fe47fc4d7"
11 10
12UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" 11UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
13 12
@@ -17,14 +16,16 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
17inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages useradd 16inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages useradd
18 17
19GIDOCGEN_MESON_OPTION = 'docs' 18GIDOCGEN_MESON_OPTION = 'docs'
20GIDOCGEN_MESON_ENABLE_FLAG = 'docgen' 19GIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
21GIDOCGEN_MESON_DISABLE_FLAG = 'disabled' 20GIDOCGEN_MESON_DISABLE_FLAG = 'disabled'
21GIR_MESON_ENABLE_FLAG = 'enabled'
22GIR_MESON_DISABLE_FLAG = 'disabled'
22 23
23PACKAGECONFIG ??= "curl gnutls gudev gusb \ 24PACKAGECONFIG ??= "curl gnutls gudev gusb \
24 ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth polkit', d)} \ 25 ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth polkit', d)} \
25 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd offline', '', d)} \ 26 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd offline', '', d)} \
26 ${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'plugin_uefi_capsule plugin_uefi_pk', '', d)} \ 27 ${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'plugin_uefi_capsule plugin_uefi_pk', '', d)} \
27 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests plugin_dummy', '', d)} \ 28 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
28 hsi \ 29 hsi \
29 plugin_android_boot \ 30 plugin_android_boot \
30 plugin_acpi_phat \ 31 plugin_acpi_phat \
@@ -54,61 +55,59 @@ PACKAGECONFIG ??= "curl gnutls gudev gusb \
54 plugin_upower \ 55 plugin_upower \
55 sqlite" 56 sqlite"
56 57
57PACKAGECONFIG[bluetooth] = "-Dbluez=true,-Dbluez=false" 58PACKAGECONFIG[bluetooth] = "-Dbluez=enabled,-Dbluez=disabled"
58PACKAGECONFIG[compat-cli] = "-Dcompat_cli=true,-Dcompat_cli=false" 59PACKAGECONFIG[compat-cli] = "-Dcompat_cli=true,-Dcompat_cli=false"
59PACKAGECONFIG[consolekit] = "-Dconsolekit=true,-Dconsolekit=false,consolekit" 60PACKAGECONFIG[consolekit] = "-Dconsolekit=enabled,-Dconsolekit=disabled,consolekit"
60PACKAGECONFIG[curl] = "-Dcurl=true,-Dcurl=false,curl" 61PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl"
61PACKAGECONFIG[firmware-packager] = "-Dfirmware-packager=true,-Dfirmware-packager=false" 62PACKAGECONFIG[firmware-packager] = "-Dfirmware-packager=true,-Dfirmware-packager=false"
62PACKAGECONFIG[fish-completion] = "-Dfish_completion=true,-Dfish_completion=false" 63PACKAGECONFIG[fish-completion] = "-Dfish_completion=true,-Dfish_completion=false"
63PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls" 64PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls"
64PACKAGECONFIG[gudev] = "-Dgudev=true,-Dgudev=false,libgudev" 65PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev"
65PACKAGECONFIG[gusb] = "-Dgusb=true,-Dgusb=false,libgusb" 66PACKAGECONFIG[gusb] = "-Dgusb=enabled,-Dgusb=disabled,libgusb"
66PACKAGECONFIG[hsi] = "-Dhsi=true,-Dhsi=false" 67PACKAGECONFIG[hsi] = "-Dhsi=enabled,-Dhsi=disabled"
67PACKAGECONFIG[libarchive] = "-Dlibarchive=true,-Dlibarchive=false,libarchive" 68PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive"
68PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false" 69PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false"
69PACKAGECONFIG[metainfo] = "-Dmetainfo=true,-Dmetainfo=false" 70PACKAGECONFIG[metainfo] = "-Dmetainfo=true,-Dmetainfo=false"
70PACKAGECONFIG[offline] = "-Doffline=true,-Doffline=false" 71PACKAGECONFIG[offline] = "-Doffline=enabled,-Doffline=disabled"
71PACKAGECONFIG[polkit] = "-Dpolkit=true,-Dpolkit=false,polkit" 72PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit"
72PACKAGECONFIG[sqlite] = "-Dsqlite=true,-Dsqlite=false,sqlite3" 73PACKAGECONFIG[sqlite] = "-Dsqlite=enabled,-Dsqlite=disabled,sqlite3"
73PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd" 74PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd"
74PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,gcab-native" 75PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,gcab-native"
75 76
76 77
77# TODO plugins-all meta-option that expands to all plugin_*? 78# TODO plugins-all meta-option that expands to all plugin_*?
78PACKAGECONFIG[plugin_acpi_phat] = "-Dplugin_acpi_phat=true,-Dplugin_acpi_phat=false" 79PACKAGECONFIG[plugin_acpi_phat] = "-Dplugin_acpi_phat=enabled,-Dplugin_acpi_phat=disabled"
79PACKAGECONFIG[plugin_android_boot] = "-Dplugin_android_boot=enabled,-Dplugin_android_boot=disabled" 80PACKAGECONFIG[plugin_android_boot] = "-Dplugin_android_boot=enabled,-Dplugin_android_boot=disabled"
80PACKAGECONFIG[plugin_bcm57xx] = "-Dplugin_bcm57xx=true,-Dplugin_bcm57xx=false" 81PACKAGECONFIG[plugin_bcm57xx] = "-Dplugin_bcm57xx=enabled,-Dplugin_bcm57xx=disabled"
81PACKAGECONFIG[plugin_cfu] = "-Dplugin_cfu=true,-Dplugin_cfu=false" 82PACKAGECONFIG[plugin_cfu] = "-Dplugin_cfu=enabled,-Dplugin_cfu=disabled"
82PACKAGECONFIG[plugin_dell] = "-Dplugin_dell=true,-Dplugin_dell=false,libsmbios" 83PACKAGECONFIG[plugin_emmc] = "-Dplugin_emmc=enabled,-Dplugin_emmc=disabled"
83PACKAGECONFIG[plugin_dummy] = "-Dplugin_dummy=true,-Dplugin_dummy=false" 84PACKAGECONFIG[plugin_ep963x] = "-Dplugin_ep963x=enabled,-Dplugin_ep963x=disabled"
84PACKAGECONFIG[plugin_emmc] = "-Dplugin_emmc=true,-Dplugin_emmc=false" 85PACKAGECONFIG[plugin_fastboot] = "-Dplugin_fastboot=enabled,-Dplugin_fastboot=disabled"
85PACKAGECONFIG[plugin_ep963x] = "-Dplugin_ep963x=true,-Dplugin_ep963x=false" 86PACKAGECONFIG[plugin_flashrom] = "-Dplugin_flashrom=enabled,-Dplugin_flashrom=disabled,flashrom"
86PACKAGECONFIG[plugin_fastboot] = "-Dplugin_fastboot=true,-Dplugin_fastboot=false" 87PACKAGECONFIG[plugin_gpio] = "-Dplugin_gpio=enabled,-Dplugin_gpio=disabled"
87PACKAGECONFIG[plugin_flashrom] = "-Dplugin_flashrom=true,-Dplugin_flashrom=false,flashrom"
88PACKAGECONFIG[plugin_gpio] = "-Dplugin_gpio=true,-Dplugin_gpio=false"
89PACKAGECONFIG[plugin_igsc] = "-Dplugin_igsc=enabled,-Dplugin_igsc=disabled" 88PACKAGECONFIG[plugin_igsc] = "-Dplugin_igsc=enabled,-Dplugin_igsc=disabled"
90PACKAGECONFIG[plugin_intel_me] = "-Dplugin_intel_me=enabled,-Dplugin_intel_me=disabled" 89PACKAGECONFIG[plugin_intel_me] = "-Dplugin_intel_me=enabled,-Dplugin_intel_me=disabled"
91PACKAGECONFIG[plugin_intel_spi] = "-Dplugin_intel_spi=true -Dlzma=true,-Dplugin_intel_spi=false -Dlzma=false,xz" 90PACKAGECONFIG[plugin_intel_spi] = "-Dplugin_intel_spi=true -Dlzma=enabled,-Dplugin_intel_spi=false -Dlzma=disabled,xz"
92PACKAGECONFIG[plugin_logitech_bulkcontroller] = "-Dplugin_logitech_bulkcontroller=true,-Dplugin_logitech_bulkcontroller=false,protobuf-c-native protobuf-c" 91PACKAGECONFIG[plugin_logitech_bulkcontroller] = "-Dplugin_logitech_bulkcontroller=enabled,-Dplugin_logitech_bulkcontroller=disabled,protobuf-c-native protobuf-c"
93PACKAGECONFIG[plugin_logitech_scribe] = "-Dplugin_logitech_scribe=enabled,-Dplugin_logitech_scribe=disabled" 92PACKAGECONFIG[plugin_logitech_scribe] = "-Dplugin_logitech_scribe=enabled,-Dplugin_logitech_scribe=disabled"
94PACKAGECONFIG[plugin_modem_manager] = "-Dplugin_modem_manager=true,-Dplugin_modem_manager=false,libqmi modemmanager" 93PACKAGECONFIG[plugin_modem_manager] = "-Dplugin_modem_manager=enabled,-Dplugin_modem_manager=disabled,libqmi modemmanager"
95PACKAGECONFIG[plugin_msr] = "-Dplugin_msr=true,-Dplugin_msr=false,cpuid" 94PACKAGECONFIG[plugin_msr] = "-Dplugin_msr=enabled,-Dplugin_msr=disabled,cpuid"
96PACKAGECONFIG[plugin_nitrokey] = "-Dplugin_nitrokey=true,-Dplugin_nitrokey=false" 95PACKAGECONFIG[plugin_nitrokey] = "-Dplugin_nitrokey=enabled,-Dplugin_nitrokey=disabled"
97PACKAGECONFIG[plugin_nvme] = "-Dplugin_nvme=true,-Dplugin_nvme=false" 96PACKAGECONFIG[plugin_nvme] = "-Dplugin_nvme=enabled,-Dplugin_nvme=disabled"
98PACKAGECONFIG[plugin_parade_lspcon] = "-Dplugin_parade_lspcon=true,-Dplugin_parade_lspcon=false" 97PACKAGECONFIG[plugin_parade_lspcon] = "-Dplugin_parade_lspcon=enabled,-Dplugin_parade_lspcon=disabled"
99PACKAGECONFIG[plugin_pixart_rf] = "-Dplugin_pixart_rf=true,-Dplugin_pixart_rf=false" 98PACKAGECONFIG[plugin_pixart_rf] = "-Dplugin_pixart_rf=enabled,-Dplugin_pixart_rf=disabled"
100PACKAGECONFIG[plugin_powerd] = "-Dplugin_powerd=true,-Dplugin_powerd=false" 99PACKAGECONFIG[plugin_powerd] = "-Dplugin_powerd=enabled,-Dplugin_powerd=disabled"
101PACKAGECONFIG[plugin_realtek_mst] = "-Dplugin_realtek_mst=true,-Dplugin_realtek_mst=false" 100PACKAGECONFIG[plugin_realtek_mst] = "-Dplugin_realtek_mst=enabled,-Dplugin_realtek_mst=disabled"
102PACKAGECONFIG[plugin_redfish] = "-Dplugin_redfish=true,-Dplugin_redfish=false" 101PACKAGECONFIG[plugin_redfish] = "-Dplugin_redfish=enabled,-Dplugin_redfish=disabled"
103PACKAGECONFIG[plugin_scsi] = "-Dplugin_scsi=true,-Dplugin_scsi=false" 102PACKAGECONFIG[plugin_scsi] = "-Dplugin_scsi=enabled,-Dplugin_scsi=disabled"
104PACKAGECONFIG[plugin_synaptics_mst] = "-Dplugin_synaptics_mst=true,-Dplugin_synaptics_mst=false" 103PACKAGECONFIG[plugin_synaptics_mst] = "-Dplugin_synaptics_mst=enabled,-Dplugin_synaptics_mst=disabled"
105PACKAGECONFIG[plugin_synaptics_rmi] = "-Dplugin_synaptics_rmi=true,-Dplugin_synaptics_rmi=false" 104PACKAGECONFIG[plugin_synaptics_rmi] = "-Dplugin_synaptics_rmi=enabled,-Dplugin_synaptics_rmi=disabled"
106PACKAGECONFIG[plugin_tpm] = "-Dplugin_tpm=true,-Dplugin_tpm=false,tpm2-tss" 105PACKAGECONFIG[plugin_tpm] = "-Dplugin_tpm=enabled,-Dplugin_tpm=disabled,tpm2-tss"
107# Turn off the capsule splash as it needs G-I at buildtime, which isn't currently supported 106# Turn off the capsule splash as it needs G-I at buildtime, which isn't currently supported
108PACKAGECONFIG[plugin_uefi_capsule] = "-Dplugin_uefi_capsule=true -Dplugin_uefi_capsule_splash=false,-Dplugin_uefi_capsule=false,efivar fwupd-efi" 107PACKAGECONFIG[plugin_uefi_capsule] = "-Dplugin_uefi_capsule=enabled -Dplugin_uefi_capsule_splash=disabled,-Dplugin_uefi_capsule=disabled,efivar fwupd-efi"
109PACKAGECONFIG[plugin_uefi_pk] = "-Dplugin_uefi_pk=true,-Dplugin_uefi_pk=false" 108PACKAGECONFIG[plugin_uefi_pk] = "-Dplugin_uefi_pk=enabled,-Dplugin_uefi_pk=disabled"
110PACKAGECONFIG[plugin_uf2] = "-Dplugin_uf2=true,-Dplugin_uf2=false" 109PACKAGECONFIG[plugin_uf2] = "-Dplugin_uf2=enabled,-Dplugin_uf2=disabled"
111PACKAGECONFIG[plugin_upower] = "-Dplugin_upower=true,-Dplugin_upower=false" 110PACKAGECONFIG[plugin_upower] = "-Dplugin_upower=enabled,-Dplugin_upower=disabled"
112 111
113# Always disable these plugins on non-x86 platforms as they don't compile or are useless 112# Always disable these plugins on non-x86 platforms as they don't compile or are useless
114DISABLE_NON_X86 = "plugin_intel_me plugin_intel_spi plugin_msr" 113DISABLE_NON_X86 = "plugin_intel_me plugin_intel_spi plugin_msr"
@@ -130,6 +129,7 @@ do_install:append() {
130FILES:${PN} += "${libdir}/fwupd-plugins-* \ 129FILES:${PN} += "${libdir}/fwupd-plugins-* \
131 ${libdir}/fwupd-${PV} \ 130 ${libdir}/fwupd-${PV} \
132 ${systemd_unitdir} \ 131 ${systemd_unitdir} \
132 ${nonarch_libdir}/sysusers.d/fwupd.conf \
133 ${datadir}/fish \ 133 ${datadir}/fish \
134 ${datadir}/metainfo \ 134 ${datadir}/metainfo \
135 ${datadir}/icons \ 135 ${datadir}/icons \