Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 881282c

Browse files
committed
fwupd: gpg enabled, pkcs7 disabled
GPG is necessary for accessing the LVFS safely. Having it enabled by default therefore makes sense. pkcs7 is meant to replace it eventually, but is not quite there yet. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
1 parent 203a13a commit 881282c

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

meta-refkit-core/recipes-extended/fwupd/fwupd_0.9.7.bb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ SUMMARY = "Updating Firmware in Linux"
22
LICENSE = "GPLv2"
33
LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
44

5-
DEPENDS = "libgudev glib-2.0 polkit appstream-glib libgusb gpgme gcab-native intltool-native gettext-native"
5+
DEPENDS = "libgudev glib-2.0 polkit appstream-glib libgusb gcab-native intltool-native gettext-native"
66

77
SRC_URI = "git://github.com/hughsie/fwupd;method=https \
88
file://meson-skip-test-directories-when-disabled.patch \
@@ -15,7 +15,10 @@ EXTRA_OEMESON += "-Denable-introspection=false"
1515

1616
# Beware, some of the disabled features have dependencies for which
1717
# there are no recipes.
18-
PACKAGECONFIG ?= "${@ bb.utils.filter('DISTRO_FEATURES', 'systemd', d) } uefi libelf"
18+
#
19+
# gpg is needed to verify content downloaded from the LVFS. It can be
20+
# disabled safely when firmware only gets delivered via the local filesystem.
21+
PACKAGECONFIG ?= "${@ bb.utils.filter('DISTRO_FEATURES', 'systemd', d) } uefi libelf gpg"
1922
PACKAGECONFIG[colorhug] = "-Denable-colorhug=true,-Denable-colorhug=false,colorhug"
2023
PACKAGECONFIG[consolekit] = "-Denable-consolekit=true,-Denable-consolekit=false,consolekit"
2124
PACKAGECONFIG[doc] = "-Denable-doc=true,-Denable-doc=false,gtkdoc-native"
@@ -29,6 +32,8 @@ PACKAGECONFIG[uefi] = "-Denable-uefi=true,-Denable-uefi=false,fwupdate,fwupdate"
2932
# synaptics depends on dell
3033
PACKAGECONFIG[synaptics] = "-Denable-synaptics=true,-Denable-synaptics=false"
3134
PACKAGECONFIG[tests] = "-Denable-tests=true,-Denable-tests=false"
35+
PACKAGECONFIG[gpg] = "-Denable-gpg=true,-Denable-gpg=false,gpgme"
36+
PACKAGECONFIG[pkcs7] = "-Denable-pkcs7=true,-Denable-pkcs7=false,gnutls"
3237

3338
inherit check-available
3439
inherit ${@ check_available_class(d, 'meson', ${HAVE_MESON}) }

0 commit comments

Comments
 (0)