Flags

Details

class Fwupd.ClientDownloadFlags(value)

Bases: GLib.Flags

The options to use for downloading.

NONE = 0

No flags set

ONLY_P2P = 1

Only use peer-to-peer when downloading URIs

class Fwupd.ClientUploadFlags(value)

Bases: GLib.Flags

The options to use for uploading.

NONE = 0

No flags set

ALWAYS_MULTIPART = 1

Always use multipart/form-data

class Fwupd.FeatureFlags(value)

Bases: GLib.Flags

The flags to the feature capabilities of the front-end client.

NONE = 0

No trust

CAN_REPORT = 1

Can upload a report of the update back to the server

SHOW_PROBLEMS = 128

Can show problems when getting the update list

REQUESTS = 16

Can show interactive requests

DETACH_ACTION = 2

Can perform detach action, typically showing text

ALLOW_AUTHENTICATION = 256

Can authenticate with PolicyKit for requests

FDE_WARNING = 32

Can warn about full disk encryption

UPDATE_ACTION = 4

Can perform update action, typically showing text

REQUESTS_NON_GENERIC = 512

Can handle showing non-generic request message text

COMMUNITY_TEXT = 64

Can show information about community supported

SWITCH_BRANCH = 8

Can switch the firmware branch

class Fwupd.GuidFlags(value)

Bases: GLib.Flags

The flags to show how the data should be converted.

NONE = 0

No trust

NAMESPACE_MICROSOFT = 1

Use the Microsoft-compatible namespace

MIXED_ENDIAN = 2

Use EFI mixed endian representation

class Fwupd.InstallFlags(value)

Bases: GLib.Flags

Flags to set when performing the firmware update or install.

NONE = 0

No flags set

OFFLINE = 1

Schedule this for next boot

IGNORE_REQUIREMENTS = 1024

Ignore version requirement checks

IGNORE_VID_PID = 128

Ignore firmware vendor and project checks

NO_HISTORY = 16

Do not write to the history database

ALLOW_REINSTALL = 2

Allow reinstalling the same version

IGNORE_POWER = 256

Ignore requirement of external power source (Deprecated since 1.7.0)

ALLOW_BRANCH_SWITCH = 32

Allow firmware branch switching

ALLOW_OLDER = 4

Allow downgrading firmware

Do not use heuristics when parsing the image

IGNORE_CHECKSUM = 64

Ignore firmware CRCs and checksums

FORCE = 8

Force the update even if not a good idea

class Fwupd.RemoteFlags(value)

Bases: GLib.Flags

The flags available for the remote.

NONE = 0

No flags set

ENABLED = 1

Is enabled

ALLOW_P2P_METADATA = 16

Use peer-to-peer locations for metadata

APPROVAL_REQUIRED = 2

Requires approval for each firmware

ALLOW_P2P_FIRMWARE = 32

Use peer-to-peer locations for firmware

AUTOMATIC_REPORTS = 4

Send firmware reports automatically

AUTOMATIC_SECURITY_REPORTS = 8

Send security reports automatically

class Fwupd.SecurityAttrFlags(value)

Bases: GLib.Flags

The flags available for HSI attributes.

NONE = 0

No flags set

SUCCESS = 1

Success

RUNTIME_ISSUE = 1024

Suffix !

CAN_FIX = 16384

The failure can be automatically fixed

OBSOLETED = 2

Obsoleted by another attribute

ACTION_CONTACT_OEM = 2048

Contact the firmware vendor for a update

RUNTIME_UPDATES = 256

Suffix U

CAN_UNDO = 32768

The fix can be automatically reverted

MISSING_DATA = 4

Missing data

ACTION_CONFIG_FW = 4096

Failure may be fixed by changing FW config

RUNTIME_ATTESTATION = 512

Suffix A

ACTION_CONFIG_OS = 8192

Failure may be fixed by changing OS config

class Fwupd.SelfSignFlags(value)

Bases: GLib.Flags

Flags to set when performing the firmware update or install.

NONE = 0

No flags set

ADD_TIMESTAMP = 1

Add the timestamp to the detached signature

ADD_CERT = 2

Add the certificate to the detached signature

class Fwupd.TrustFlags(value)

Bases: GLib.Flags

The flags to show the level of trust.

NONE = 0

No trust

PAYLOAD = 1

The firmware is trusted

METADATA = 2

The metadata is trusted