~sylvain-pineau/plainbox-provider-resource:no_snapd

Last commit made on 2017-12-06
Get this branch:
git clone -b no_snapd https://git.launchpad.net/~sylvain-pineau/plainbox-provider-resource
Only Sylvain Pineau can upload to this branch. If you are Sylvain Pineau please log in for upload directions.

Branch merges

Branch information

Recent commits

4bdac3f... by Sylvain Pineau

snapd_resource: Stop raising exception if snapd is not installed

0892562... by PMR <pmr@pmr-lander>

Merge #333979 from ~sylvain-pineau/plainbox-provider-resource:udev_infiniband

d43ba09... by Sylvain Pineau

udev_resource: Add INFINIBAND to the list of filter options

90c280c... by PMR <pmr@pmr-lander>

Merge #333604 from ~kissiel/plainbox-provider-resource:autoswitch-gpus

2d8def9... by Maciej Kisielewski

graphics resource: report cmd to switch GPUs

Signed-off-by: Maciej Kisielewski <email address hidden>

e8a3466... by PMR <pmr@pmr-lander>

Merge #333582 from ~kissiel/plainbox-provider-resource:fix-1731660-bad-driver-reported

98bc8d2... by Maciej Kisielewski

override the driver name to amdgpu-pro only for vendor == amd

previously, if the system had vulkan-amdgpu-pro pkg installed, the script
reported 'amdgpu-pro' as the driver for all the GPUs.

Now it's amdgpu-pro is reported only for GPUs from vendor 4098 - AMD.
This is still not perfect, as theretically there might be multiple amd gpus
in the system, not all of them amdgpu-pro, but it still makes it closer to the
truth and right for the typical intel+radeon configuration.

This patch also rearranges the logic for the dpkg-query call.
if not `some commands run` intuitively should mean "if the command failed"
which in the case of subprocess.call(...) is casted to boolean, therefore
`if not subprocess.call(...)` means success. I added explicit comparison to 0.

Fixes: LP:1731660

Signed-off-by: Maciej Kisielewski <email address hidden>

ec0f42d... by Maciej Kisielewski

graphics: report how to switch GPUs in the record

Signed-off-by: Maciej Kisielewski <email address hidden>

6d0d68e... by PMR <pmr@pmr-lander>

Merge #332706 from plainbox-provider-resource:release

Release_2017_Week43

55ff16a... by Sylvain Pineau

increment version to v0.35.0.dev0