mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 11:26:04 +08:00
Fix macOS provisioning not shutting down cleanly
After provisioning we want the machine to be sensibly shut down since we will use the disk image later. VSphere doesn't manage to shut down 10.8 VMs. Help out by calling shutdown. For the other OS X/macOS versions, this is also desirable since controlling the power state of these machines is hard with different virtualization solutions (we're looking at OpenNebula/KVM). Change-Id: Ieabc14f9c8c1af9421a0ef91dd670f4790a84461 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
This commit is contained in:
committed by
Simon Hausmann
parent
150071b395
commit
d0552ebf2d
8
coin/provisioning/qtci-osx-10.10-x86_64/999-shutdown.sh
Normal file
8
coin/provisioning/qtci-osx-10.10-x86_64/999-shutdown.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Make sure to shut down the machine cleanly when provisioning is done.
|
||||
|
||||
# +1 minute delay to make sure that the setup finishes
|
||||
# and can clean up before being interrupted by the shutdown
|
||||
|
||||
sudo shutdown -h +1
|
||||
8
coin/provisioning/qtci-osx-10.11-x86_64/999-shutdown.sh
Normal file
8
coin/provisioning/qtci-osx-10.11-x86_64/999-shutdown.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Make sure to shut down the machine cleanly when provisioning is done.
|
||||
|
||||
# +1 minute delay to make sure that the setup finishes
|
||||
# and can clean up before being interrupted by the shutdown
|
||||
|
||||
sudo shutdown -h +1
|
||||
10
coin/provisioning/qtci-osx-10.8-x86_64/999-shutdown.sh
Normal file
10
coin/provisioning/qtci-osx-10.8-x86_64/999-shutdown.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# OS X 10.8 and VMWare tools don't play well together.
|
||||
# The shutdown command fails, so just shut down the machine
|
||||
# manually when provisioning is done.
|
||||
|
||||
# +1 minute delay to make sure that the setup finishes
|
||||
# and can clean up before being interrupted by the shutdown
|
||||
|
||||
sudo shutdown -h +1
|
||||
8
coin/provisioning/qtci-osx-10.9-x86_64/999-shutdown.sh
Normal file
8
coin/provisioning/qtci-osx-10.9-x86_64/999-shutdown.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Make sure to shut down the machine cleanly when provisioning is done.
|
||||
|
||||
# +1 minute delay to make sure that the setup finishes
|
||||
# and can clean up before being interrupted by the shutdown
|
||||
|
||||
sudo shutdown -h +1
|
||||
Reference in New Issue
Block a user