Improve disabling of screensaver on macOS
authorSimon Hausmann <simon.hausmann@qt.io>
Thu, 8 Dec 2016 07:18:50 +0000 (08:18 +0100)
committerSimon Hausmann <simon.hausmann@qt.io>
Thu, 8 Dec 2016 08:18:56 +0000 (08:18 +0000)
commit16d05b088e054ed4442d8acd3884dde741ead56d
tree77caa000bfb6b9ce2469e8cd3545a2f71df620c9
parent0ce4f02c5f40eb8a3323db69683d04f9bb3df88b
Improve disabling of screensaver on macOS

Setting the idleTime on currentHost works well, until the hardware UUID changes
and thus the host ID for the setting. With kvm that happens quite frequently,
with vmware less but also occasionally (deep clone for example). By disabling
the screensaver on start-up we can cover all cases quite easily.

Change-Id: Ibdcf404430656f9caa47386ca3c732366ddfc8c7
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
coin/provisioning/qtci-osx-10.10-x86_64/002-disable-screensaver.sh
coin/provisioning/qtci-osx-10.11-x86_64/002-disable-screensaver.sh
coin/provisioning/qtci-osx-10.8-x86_64/002-disable-screensaver.sh
coin/provisioning/qtci-osx-10.9-x86_64/002-disable-screensaver.sh