-
Notifications
You must be signed in to change notification settings - Fork 62
/
config
628 lines (421 loc) · 14.7 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
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
# #####################
# 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 path for swupd cache and data directory (string value)
#statedir=<PATH>
# Specify alternate swupd cache directory (string value)
#cachedir=<PATH>
# Specify alternate swupd data directory (string value)
#datadir=<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 attempt to enforce signature checking when retrieving the latest version number (boolean value)
#nosigcheck_latest=<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>
# Sets an automatic response to all prompts and run non-interactively (string value)
#assume=<yes/no>
#
# 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>
# 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>
# Update the index used by search-file to speed up searches (boolean value)
#update_search_file_index=<true/false>
# Also update content from 3rd-party repositories (boolean value)
3rd_party=<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
#
# Removes a bundle along with all the bundles that depend on it (boolean value)
#force=<true/false>
# Removes a bundle and its dependencies recursively (boolean value)
#recursive=<true/false>
# Removes all orphaned bundles
#orphans=<true/false>
[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]
# Show the installation status of the listed bundles (boolean value)
#status=<true/false>
# List orphaned bundles (boolean value)
#orphans=<true/false>
[bundle-info]
#
# Options for the "swupd bundle-info" command
#
# Show the bundle info for the specified version (integer value)
#version=[VER]
# Show the bundle dependencies as part of the information displayed (boolean value)
#dependencies=<true/false>
# Show the bundle files as part of the information displayed (boolean value)
#files=<true/false>
[search-file]
#
# Options for the "swupd search-file" command
#
# Search for a match of the given file in the specified version VER
#version=[VER]
# 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>
# Don't check for corrupt files, only find missing files (boolean value)
#quick=<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=xterm,vim
#bundles=[BUNDLES]
# Like --picky, but it only searches for extra files (boolean value)
#extra_files_only=<true/false>
# Forces swupd to only diagnose the specified file or directory (recursively)
#file=[PATH]
[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=xterm,vim
#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 (boolean value)
#extra_files_only=<true/false>
# Forces swupd to only repair the specified file or directory (recursively)
#file=[PATH]
[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=xterm,vim
#bundles=[BUNDLES]
# If the version to install is not the latest, it can be specified with this
# option (string value)
#version=V
# After checking for content in the statedir, check the statedir-cache before
# downloading it over the network
#statedir_cache=[PATH]
# Download all content, but do not actually install it (boolean value)
#download=<true/false>
# Do not install optional bundles, also-add flag in Manifests (boolean value)
#skip_optional=<true/false>
[mirror]
#
# Options for the "swupd mirror" command
#
[clean]
#
# Options for the "swupd clean" command
#
[hashdump]
#
# Options for the "swupd hashdump" command
#
[3rd-party-add]
#
# Options for the "swupd 3rd-party add" command
#
# Attempt to proceed even if non-critical errors found (boolean value)
#force=<true/false>
[3rd-party-remove]
#
# Options for the "swupd 3rd-party remove" command
#
# Attempt to proceed even if non-critical errors found (boolean value)
#force=<true/false>
[3rd-party-list]
#
# Options for the "swupd 3rd-party list" command
#
[3rd-party-info]
#
# Options for the "swupd 3rd-party info" command
#
# Specify the 3rd-party repository to use (string value)
#repo=[REPOSITORY]
[3rd-party-check-update]
#
# Options for the "swupd 3rd-party check-update" command
#
# Specify the 3rd-party repository to use (string value)
#repo=[REPOSITORY]
[3rd-party-update]
#
# Options for the "swupd 3rd-party update" command
#
# Specify the 3rd-party repository to use (string value)
#repo=[REPOSITORY]
# 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>
# 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>
[3rd-party-bundle-add]
#
# Options for the "swupd 3rd-party bundle-add" command
#
# Specify the 3rd-party repository to use (string value)
#repo=[REPOSITORY]
# 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>
[3rd-party-bundle-remove]
#
# Options for the "swupd 3rd-party bundle-remove" command
#
# Specify the 3rd-party repository to use (string value)
#repo=[REPOSITORY]
# Removes a bundle along with all the bundles that depend on it (boolean value)
#force=<true/false>
# Removes a bundle and its dependencies recursively (boolean value)
#recursive=<true/false>
[3rd-party-bundle-list]
#
# Options for the "swupd 3rd-party bundle-list" command
#
# Specify the 3rd-party repository to use (string value)
#repo=[REPOSITORY]
# 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]
# Show the installation status of the listed bundles (boolean value)
#status=<true/false>
[3rd-party-bundle-info]
#
# Options for the "swupd 3rd-party bundle-info" command
#
# Specify the 3rd-party repository to use (string value)
#repo=[REPOSITORY]
# Show the bundle info for the specified version (integer value)
#version=[VER]
# Show the bundle dependencies as part of the information displayed (boolean value)
#dependencies=<true/false>
# Show the bundle files as part of the information displayed (boolean value)
#files=<true/false>
[3rd-party-diagnose]
#
# Options for the "swupd 3rd-party diagnose" command
#
# Specify the 3rd-party repository to use (string value)
#repo=[REPOSITORY]
# Diagnose the system against manifest version V (integer value)
#version=[VER]
# Attempt to proceed even if non-critical errors found (boolean value)
#force=<true/false>
# Don't check for corrupt files, only find missing files (boolean value)
#quick=<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=xterm,vim
#bundles=[BUNDLES]
# Like --picky, but it only searches for extra files (boolean value)
#extra_files_only=<true/false>
[3rd-party-repair]
#
# Options for the "swupd 3rd-party repair" command
#
# Specify the 3rd-party repository to use (string value)
#repo=[REPOSITORY]
# Compare against version V to determine what needs to be
# repaired (integer value)
#version=[VER]
# 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=xterm,vim
#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 (boolean value)
#extra_files_only=<true/false>
[3rd-party-clean]
#
# Options for the "swupd 3rd-party clean" command
#
# Specify the 3rd-party repository to use (string value)
#repo=[REPOSITORY]