-
Notifications
You must be signed in to change notification settings - Fork 12
/
meson.options
136 lines (108 loc) · 3.66 KB
/
meson.options
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
option(
'tests', type: 'feature', value: 'enabled', description: 'Build tests.',
)
option(
'json-config', type: 'feature', value: 'enabled',
description: 'Use json at runtime to configure fan packages.'
)
option(
'machine-name', type: 'string', value: '',
description: 'Machine name being built. Used to install the proper JSON config files.'
)
# Control
option(
'control-service', type: 'feature', value: 'enabled',
description: 'Build fan control service.'
)
option(
'json-control', type: 'feature', value: 'enabled',
description: '''This can only be used to disable JSON based fan control
(using json-control=disabled) when json-config is enabled.
If json-control=enabled and json-config=disabled it will
not do anything.'''
)
option(
'control-persist-root-path', type: 'string', value: '/var/lib/phosphor-fan-presence/control',
description: 'Base location to persist zone property states'
)
option(
'fan-def-yaml-file', type: 'string', value: 'example/fans.yaml',
description: 'Build time fan configuration file'
)
option(
'fan-zone-yaml-file', type: 'string', value: 'example/zones.yaml',
description: 'Build time fan configuration file'
)
option(
'zone-events-yaml-file', type: 'string', value: 'example/events.yaml',
description: 'Build time fan configuration file'
)
option(
'zone-conditions-yaml-file', type: 'string', value: 'example/zone_conditions.yaml',
description: 'Build time fan configuration file'
)
# Monitor
option(
'monitor-service', type: 'feature', value: 'enabled',
description: 'Build fan monitor service'
)
option(
'fan-monitor-yaml-file', type: 'string', value: 'example/monitor.yaml',
description: 'Location of the config file'
)
option(
'num-monitor-log-entries', type: 'integer', value: 75,
description: 'Maximum number of entries in the monitor log.'
)
option(
'delay-host-control', value : '0', type: 'integer',
description: 'Delay host control when the power is on and the fan sensors are offline.'
)
option(
'monitor-use-host-state', value : 'disabled', type: 'feature',
description: 'Use CurrentHostState for fan monitor to decide power state.'
)
# Presence
option(
'presence-service', type: 'feature', value: 'enabled',
description: 'Build fan presence service.'
)
option(
'presence-config', type: 'string', value: 'example/example.yaml',
description: 'Location of the config file'
)
option(
'num-presence-log-entries', type: 'integer', value: 50,
description: 'Maximum number of entries in the presence log.'
)
# Sensor Monitor
option(
'sensor-monitor-service', type: 'feature', value: 'enabled',
description: 'Build sensor monitor.'
)
option(
'sensor-monitor-persist-root-path', type: 'string',
value: '/var/lib/phosphor-fan-presence/sensor-monitor',
description: 'Root path for persisting sensor monitor data.'
)
option(
'sensor-monitor-hard-shutdown-delay', type: 'integer', value: 23000,
description: 'Milliseconds to delay the alarm before hard shutdown.'
)
option(
'sensor-monitor-soft-shutdown-delay', type: 'integer', value: 900000,
description: 'Milliseconds to delay the alarm before soft shutdown.'
)
# Other
option(
'cooling-type-service', type: 'feature', value: 'disabled',
description: 'Build cooling-type package.'
)
option(
'use-host-power-state', type: 'feature', value: 'disabled',
description: 'Enable using the host power state for power state checks.'
)
option(
'skip-power-checking', type: 'feature', value: 'disabled',
description: 'Skip power state checking while sending threshold alarm event.'
)