As Maciej said, hardcoding path this way won't work everywhere and implies a dependency on the checkbox provider (but it's the other way around actually), see https://git.launchpad.net/~checkbox-dev/plainbox-provider-checkbox/+git/packaging/tree/debian/control#n23
Would it be possible to add the necessary bits to https://git.launchpad.net/plainbox-provider-resource/tree/bin/cpuinfo_resource.py in order to report if scaling is supported.
and having a resource expression like this one in provider checkbox:
cpuinfo.scaling == 'supported'
« Back to merge proposal
As Maciej said, hardcoding path this way won't work everywhere and implies a dependency on the checkbox provider (but it's the other way around actually), see https:/ /git.launchpad. net/~checkbox- dev/plainbox- provider- checkbox/ +git/packaging/ tree/debian/ control# n23
Would it be possible to add the necessary bits to https:/ /git.launchpad. net/plainbox- provider- resource/ tree/bin/ cpuinfo_ resource. py in order to report if scaling is supported.
and having a resource expression like this one in provider checkbox:
cpuinfo.scaling == 'supported'