mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 19:59:26 +00:00

In this mode, both the metadata and firmware is stored on the local filesystem and distributed using a distribution system like OSTree. Fixes https://github.com/hughsie/fwupd/issues/162
28 lines
755 B
Meson
28 lines
755 B
Meson
install_data([
|
|
'lvfs.conf',
|
|
'lvfs-testing.conf',
|
|
],
|
|
install_dir : join_paths(get_option('sysconfdir'), 'fwupd', 'remotes.d')
|
|
)
|
|
install_data('README.md',
|
|
install_dir : join_paths(get_option('datadir'), 'fwupd', 'remotes.d', 'vendor', 'firmware')
|
|
)
|
|
|
|
# replace @datadir@
|
|
con2 = configuration_data()
|
|
con2.set('datadir', join_paths(get_option('prefix'), get_option('datadir')))
|
|
configure_file(
|
|
input : 'fwupd.conf',
|
|
output : 'fwupd.conf',
|
|
configuration : con2,
|
|
install: true,
|
|
install_dir: join_paths(get_option('sysconfdir'), 'fwupd', 'remotes.d'),
|
|
)
|
|
configure_file(
|
|
input : 'vendor.conf',
|
|
output : 'vendor.conf',
|
|
configuration : con2,
|
|
install: true,
|
|
install_dir: join_paths(get_option('sysconfdir'), 'fwupd', 'remotes.d'),
|
|
)
|