Comment 1 for bug 1706213

Revision history for this message
Jeff Lane  (bladernr) wrote :

Paul's MR that handles the resource:
https://code.launchpad.net/~pwlars/plainbox-provider-resource/+git/plainbox-provider-resource/+merge/328045

Now jobs that previously had kludgey ways of not running on non-dmi systems should be modified to use:

dmi_present.state == 'supported'

Such as this modified version of the dmi resource job in plainbox-provider-resource

59 id: dmi
60 estimated_duration: 0.59
61 plugin: resource
62 requires:
63 - cpuinfo.platform in ("i386", "x86_64")
64 + dmi_present.state == 'supported'
65 user: root
66 command: dmi_resource
67 _summary: Collect information about hardware devices (DMI)