update.run

Downloads (if not already in cache) and apply an update.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: attrs

attrs

Type: object
Default:
{ "dataset_name": null, "resume": false, "train": null, "version": null, "reboot": false }

No Additional Properties

Dataset Name

Default: null

Type: string
Type: null

Resume

Type: boolean Default: false

Should be set to true if a previous call to this method returned a CallError with errno=EAGAIN meaning that an upgrade can be performed with a warning and that warning is accepted. In that case, update process will be continued using an already downloaded file without performing any extra checks.

Train

Default: null

Specifies the train from which to download the update. If both train and version are `null``, the most recent version that matches the currently selected update profile is used.

Type: string
Type: null

Version

Default: null

Type: string
Type: null

Reboot

Type: boolean Default: false

Result

Type: const
Must be one of:
  • true
Specific value: true


Required roles: SYSTEM_UPDATE_WRITE