mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-16 09:49:13 +00:00
trivial: Only install files that are going to be used
This commit is contained in:
parent
71d93a65fb
commit
7b865f213c
@ -1,17 +1,28 @@
|
||||
# only install files that are going to be used
|
||||
if libjcat.version().version_compare ('>= 0.1.9')
|
||||
supported_gpg = libjcat.get_pkgconfig_variable('supported_gpg')
|
||||
supported_pkcs7 = libjcat.get_pkgconfig_variable('supported_pkcs7')
|
||||
else
|
||||
supported_gpg = 1
|
||||
supported_pkcs7 = 1
|
||||
endif
|
||||
|
||||
if supported_gpg == 1
|
||||
install_data([
|
||||
'GPG-KEY-Linux-Foundation-Firmware',
|
||||
'GPG-KEY-Linux-Vendor-Firmware-Service',
|
||||
],
|
||||
install_dir : join_paths(sysconfdir, 'pki', 'fwupd')
|
||||
)
|
||||
|
||||
install_data([
|
||||
'GPG-KEY-Linux-Foundation-Metadata',
|
||||
'GPG-KEY-Linux-Vendor-Firmware-Service',
|
||||
],
|
||||
install_dir : join_paths(sysconfdir, 'pki', 'fwupd-metadata')
|
||||
)
|
||||
endif
|
||||
|
||||
if supported_pkcs7 == 1
|
||||
install_data([
|
||||
'LVFS-CA.pem',
|
||||
],
|
||||
@ -22,4 +33,4 @@ install_data([
|
||||
],
|
||||
install_dir : join_paths(sysconfdir, 'pki', 'fwupd-metadata')
|
||||
)
|
||||
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user