diff options
author | Ville-Pekka Karhu <ville-pekka.karhu@qt.io> | 2021-11-12 17:56:01 +0200 |
---|---|---|
committer | Ville-Pekka Karhu <ville-pekka.karhu@qt.io> | 2021-11-16 10:05:07 +0200 |
commit | 1b1005038b367af7804094ae5fee4a77bf92884b (patch) | |
tree | fa151548281d74be2ecf69d92aaf47776ce3fb44 | |
parent | 8c06db541a8fbf69c8885ec7938291c9837d38d4 (diff) |
Pre-provisioning: macOS Tier1 creation instructions
Change-Id: I17f6f55c4be878b74c80735e0101619730548056
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
-rw-r--r-- | coin/pre-provisioning/qtci-macos-12.0-x86_64/README | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/coin/pre-provisioning/qtci-macos-12.0-x86_64/README b/coin/pre-provisioning/qtci-macos-12.0-x86_64/README new file mode 100644 index 00000000..3655ec77 --- /dev/null +++ b/coin/pre-provisioning/qtci-macos-12.0-x86_64/README @@ -0,0 +1,29 @@ +# List of manual pre-installation steps for Tier1 image creation + +* Open KVM connection to Intel mac Parallels host + - Open Parallels :: create new VM :: select macOS :: Install + - Check first boot settings from infratools repository mac instructions + - Upgrade OS if needed +* Modify OS settings / check these from infratools again +* Install Parallels tools +* Enable Terminal full access +* Run these two commands in local Terminal: + + sudo /usr/bin/sqlite3 "/Users/qt/Library/Application Support/com.apple.TCC/TCC.db" "insert into access (service,client,client_type,auth_value,auth_reason,auth_version,indirect_object_identifier_type,indirect_object_code_identity,last_modified) values + ('kTCCServiceAccessibility','com.froglogic.squish.ide.product',0,2,4,1,0,0,1612867994);" + + sudo /usr/bin/sqlite3 "/Users/qt/Library/Application Support/com.apple.TCC/TCC.db" "insert into access (service,client,client_type,auth_value,auth_reason,auth_version,indirect_object_identifier_type,indirect_object_code_identity,last_modified) values + ('kTCCServiceAccessibility','/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home/jre/bin/java',1,2,4,1,0,0,1612867994);" + +* Download and run coin setup binaries from http://coin/coin/setup + - Check /Users/qt folder for bootstrap agent +* Create /etc/sudoers.d/qt with a line of qt ALL=(ALL) NOPASSWD: ALL +* Poweroff VM +* Enlarge disk space + - Parallels Control center :: VM settings :: Hardware :: Hard Disk :: 300GB + - Start VM and use Disk Utility to enlarge disk space into use +* Poweroff VM +* Go to /Users/qt/Parallels/<created VM>/harddisk.hdd folder in the Intel mac host + - Copy its content to Tier1 folder +* Copy Tier1 folder to 101 NFS + - Check folder access rights |