forked from clearlinux/swupd-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
331 lines (225 loc) · 7.61 KB
/
config
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
# #####################
# Config file for swupd
# #####################
[GLOBAL]
#
# Global options
#
# Use PATH to define the root directory for swupd commands (eg: a chroot or
# btrfs subvol) (string value)
#path=<PATH>
# RFC-3986 encoded url for version string and content file
# downloads (string value)
# This option defines both; contenturl and versionurl
#url=<URL>
# Port number to connect to at the url for version string and content file
# downloads (integer value)
#port=<PORT #>
# RFC-3986 encoded url for content file downloads (string value)
#contenturl=<URL>
# RFC-3986 encoded url for version file downloads (string value)
#versionurl=<URL>
# The format suffix for version file downloads
# Possible values:
# staging - used for testing purposes (string value)
# 1,2,3... (integer value)
#format=<FORMAT>
# Specify alternate swupd state directory (string value)
#statedir=<PATH>
# Specify alternate path to swupd certificates (string value)
#certpath=<PATH>
# Set the maximum number of parallel downloads (integer value)
#max_parallel_downloads=<# OF DOWNLOADS>
# Maximum number of retries for download failures (integer value)
#max_retries=<# OF RETRIES>
# Initial delay between download retries, this will be doubled for each
# retry (integer value)
#retry_delay=<DELAY>
# Print all output as a JSON stream (boolean value)
#json_output=<true/false>
# Ignore system/certificate time when validating signature (boolean value)
#ignore_time=<true/false>
# Show verbose time output for swupd operations (boolean value)
#time=<true/false>
# Do not attempt to enforce certificate or signature checking (boolean value)
#nosigcheck=<true/false>
# Do not install boot files to the boot partition (containers) (boolean value)
#no_boot_update=<true/false>
# Do not run the post-update scripts and boot update tool (boolean value)
#no_scripts=<true/false>
# Allow updates over insecure connections
#allow_insecure_http=<true/false>
# Quiet output. Print only important information and errors (boolean value)
#quiet=<true/false>
# Print extra information to help debugging problems (boolean value)
#debug=<true/false>
# Don't report progress (boolean value)
#no_progress=<true/false>
# Wait for the post-update scripts to complete (boolean value)
#wait_for_scripts=<true/false>
#
# The sections below contain the options that apply specifically to
# the commands referred to by the [<command>] sections.
#
# Note that some commands don't have local options, but even in those cases
# global options can be specified to only apply to that command if set up
# within the [<command>] section.
#
# Example: you could enable machine readable output (JSON) for every command
# except for the "info" command by setting it like this
# [GLOBAL]
# json_output=true
# [info]
# json_output=false
#
[info]
#
# Options for the "swupd info" command
#
[autoupdate]
#
# Options for the "swupd autoupdate" command
#
[check-update]
#
# Options for the "swupd check-update" command
#
[update]
#
# Options for the "swupd update" command
#
# Update to the specified version
# Possible values:
# ..., 29890, 29900, 29910, ... (integer value)
# latest - used to refer to the most recent version (string value)
#version=<VERSION>
# Ignore and continue if custom user content conflicts with upstream provided
# content (boolean value)
#allow_mix_collisions=<true/false>
# Download all content, but do not actually install the update (boolean value)
#download=<true/false>
# Show current OS version and latest version available on server, eEquivalent
# to "swupd check-update" (boolean value)
#status=<true/false>
# Do not delete the swupd state directory content after updating the
# system (boolean value)
#keepcache=<true/false>
# Migrate to augmented upstream/mix content (boolean value)
#migrate=<true/false>
[bundle-add]
#
# Options for the "swupd bundle-add" command
#
# Do not check free disk space before adding bundle (boolean value)
#skip_diskspace_check=<true/false>
# Do not install optional bundles, also-add flag in Manifests (boolean value)
#skip_optional=<true/false>
[bundle-remove]
#
# Options for the "swupd bundle-remove" command
#
[bundle-list]
#
# Options for the "swupd bundle-list" command
#
# List all available bundles for the current version of Clear
# Linux (boolean value)
#all=<true/false>
# List bundles included by BUNDLE (string value)
#deps=[BUNDLE]
# List dependency tree of all bundles which have BUNDLE as a
# dependency (string value)
#has_dep=[BUNDLE]
[search-file]
#
# Options for the "swupd search-file" command
#
# Search paths where libraries are located for a match (boolean value)
#library=<true/false>
# Search paths where binaries are located for a match (boolean value)
#binary=<true/false>
# Only display the top NUM results for each bundle (integer value)
#top=[NUM]
# Output all results in CSV format (machine-readable) (boolean value)
#csv=<true/false>
# Download all manifests then return, no search done (boolean value)
#init=<true/false>
# Sort the output. ORDER is one of the following values: (string value)
# - 'alpha' to order alphabetically (default)
# - 'size' to order by bundle size (smaller to larger)
#order=[ORDER]
[diagnose]
#
# Options for the "swupd diagnose" command
#
# Diagnose the system against manifest version V (integer value)
#version=V
# Attempt to proceed even if non-critical errors found (boolean value)
#force=<true/false>
# List files which should not exist (boolean value)
#picky=<true/false>
# Selects the sub-tree where --picky looks for extra files (string value)
# Default: /usr (string value)
#picky-tree=[PATH]
# Any path completely matching the POSIX extended regular expression is ignored
# by --picky, matched directories get skipped (string value)
# Example: /var|/etc/machine-id
# Default: /usr/lib/modules|/usr/lib/kernel|/usr/local|/usr/src
#picky-whitelist=[RE]
# Diagnose if BUNDLES are installed correctly (string value)
# Example: --bundles=os-core,vi
#bundles=[BUNDLES]
# Like --picky, but it only searches for extra files
#extra-files-only=<true/false>
[repair]
#
# Options for the "swupd repair" command
#
# Compare against version V to determine what needs to be
# repaired (integer value)
#version=V
# Attempt to proceed even if non-critical errors found (boolean value)
#force=<true/false>
# Don't fix corrupt files, only fix missing files (boolean value)
#quick=<true/false>
# Repair BUNDLES that are not installed correctly (string value)
# Example: --bundles=os-core,vi
#bundles=[BUNDLES]
# Remove files which should not exist (boolean value)
#picky=<true/false>
# Selects the sub-tree where --picky looks for extra files (string value)
# Default: /usr
#picky-tree=[PATH]
# Any path completely matching the POSIX extended regular expression is ignored
# by --picky, matched directories get skipped (string value)
# Example: /var|/etc/machine-id
# Default: /usr/lib/modules|/usr/lib/kernel|/usr/local|/usr/src
#picky-whitelist=[RE]
# Like --picky, but it only removes extra files
#extra-files-only=<true/false>
[os-install]
#
# Options for the "swupd os-install" command
#
# Attempt to proceed even if non-critical errors found (boolean value)
#force=<true/false>
# Include the specified BUNDLES in the OS installation (string value)
# Example: --bundles=os-core,vi
#bundles=[BUNDLES]
# If the version to install is not the latest, it can be specified with this
# option (string value)
#version=V
# Download all content, but do not actually install it (boolean value)
#download=<true/false>
[mirror]
#
# Options for the "swupd mirror" command
#
[clean]
#
# Options for the "swupd clean" command
#
[hashdump]
#
# Options for the "swupd hashdump" command
#