Enums

Details

class FwupdPlugin.FirmareSrecRecordKind(value)

Bases: GLib.Enum

S0_HEADER = 0
S1_DATA_16 = 1
LAST = 10
S2_DATA_24 = 2
S3_DATA_32 = 3
S4_RESERVED = 4
S5_COUNT_16 = 5
S6_COUNT_24 = 6
S7_COUNT_32 = 7
S8_TERMINATION_24 = 8
S9_TERMINATION_16 = 9
class FwupdPlugin.PathKind(value)

Bases: GLib.Enum

Path types to use when dynamically determining a path at runtime

CACHEDIR_PKG = 0

The cache directory (IE /var/cache/fwupd)

DATADIR_PKG = 1

The non-volatile data store (IE /usr/share/fwupd)

SYSFSDIR_TPM = 10

The TPM sysfs directory (IE /sys/class/tpm)

POLKIT_ACTIONS = 11

The directory for policy kit actions (IE /usr/share/polkit-1/actions/)

OFFLINE_TRIGGER = 12

The file for the offline trigger (IE /system-update)

SYSFSDIR_SECURITY = 13

The sysfs security location (IE /sys/kernel/security)

EFIAPPDIR = 2

The location to store EFI apps before install (IE /usr/libexec/fwupd/efi)

LOCALSTATEDIR = 3

The local state directory (IE /var)

LOCALSTATEDIR_PKG = 4

The local state directory for the package (IE /var/lib/fwupd)

PLUGINDIR_PKG = 5

The location to look for plugins for package (IE /usr/lib/[triplet]/fwupd-plugins-3)

SYSCONFDIR = 6

The configuration location (IE /etc)

SYSCONFDIR_PKG = 7

The package configuration location (IE /etc/fwupd)

SYSFSDIR_FW = 8

The sysfs firmware location (IE /sys/firmware)

SYSFSDIR_DRIVERS = 9

The platform sysfs directory (IE /sys/bus/platform/drivers)

class FwupdPlugin.PluginRule(value)

Bases: GLib.Enum

The rules used for ordering plugins. Plugins are expected to add rules in fu_plugin_initialize().

CONFLICTS = 0

The plugin conflicts with another

RUN_AFTER = 1

Order the plugin after another

RUN_BEFORE = 2

Order the plugin before another

BETTER_THAN = 3

Is better than another plugin

INHIBITS_IDLE = 4

The plugin inhibits the idle shutdown

METADATA_SOURCE = 5

Uses another plugin as a source of report metadata

class FwupdPlugin.PluginVerifyFlags(value)

Bases: GLib.Enum

Flags used when verifying, currently unused.

NONE = 0

No flags set