trivial: move upower.quirk out of upower plugin

This should be used by other power plugins as well.
This commit is contained in:
Mario Limonciello 2021-06-17 15:40:38 -05:00 committed by Richard Hughes
parent 2db68bf835
commit 04fdca165e
3 changed files with 4 additions and 3 deletions

View File

@ -19,6 +19,8 @@ if build_standalone
install_data(['daemon.conf'],
install_dir : join_paths(sysconfdir, 'fwupd')
)
install_data(['power.quirk'],
install_dir: join_paths(datadir, 'fwupd', 'quirks.d'))
endif
install_data(['org.freedesktop.fwupd.metainfo.xml'],

View File

@ -1,3 +1,5 @@
#This file provides manufacturer specified minimum battery thresholds
[LENOVO]
BatteryThreshold = 25

View File

@ -1,9 +1,6 @@
if host_machine.system() == 'linux'
cargs = ['-DG_LOG_DOMAIN="FuPluginUpower"']
install_data(['upower.quirk'],
install_dir: join_paths(datadir, 'fwupd', 'quirks.d'))
shared_module('fu_plugin_upower',
fu_hash,
sources : [