aboutsummaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorHeikki Halmet <heikki.halmet@qt.io>2021-02-02 14:11:03 +0200
committerHeikki Halmet <heikki.halmet@qt.io>2021-02-04 17:09:34 +0200
commitf4fe2443925b438c34874e0db9e83be575a30a8e (patch)
tree9076a85f03a989e279a640f93a509c300c460110 /coin
parentab4da065ec9588aba07028932b359d87787e75b7 (diff)
Provisioning: Disable multicast advertisements
To get rid of the computer name notification multicat advertisements needs to be disabled. This notification seems to affect to autotest by causing misleading failures. Task-number: QTBUG-89746 Change-Id: I2365092ee05cc731b78e17c56eee7c4370a9f0a7 Reviewed-by: Toni Saario <toni.saario@qt.io> (cherry picked from commit a3c798e76a8cc9c6b4dfc3c178b45f0a294ecf77) Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Diffstat (limited to 'coin')
-rwxr-xr-xcoin/provisioning/qtci-macos-10.15-x86_64/05-systemsetup.sh4
-rwxr-xr-xcoin/provisioning/qtci-macos-11.0-x86_64/05-systemsetup.sh4
2 files changed, 6 insertions, 2 deletions
diff --git a/coin/provisioning/qtci-macos-10.15-x86_64/05-systemsetup.sh b/coin/provisioning/qtci-macos-10.15-x86_64/05-systemsetup.sh
index aed78aee..1195f95a 100755
--- a/coin/provisioning/qtci-macos-10.15-x86_64/05-systemsetup.sh
+++ b/coin/provisioning/qtci-macos-10.15-x86_64/05-systemsetup.sh
@@ -2,7 +2,7 @@
#############################################################################
##
-## Copyright (C) 2020 The Qt Company Ltd.
+## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -104,3 +104,5 @@ sudo rm -f "$targetFile"
sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master
sudo automount -cv
+# Disable multicast advertisements
+sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool true
diff --git a/coin/provisioning/qtci-macos-11.0-x86_64/05-systemsetup.sh b/coin/provisioning/qtci-macos-11.0-x86_64/05-systemsetup.sh
index aed78aee..1195f95a 100755
--- a/coin/provisioning/qtci-macos-11.0-x86_64/05-systemsetup.sh
+++ b/coin/provisioning/qtci-macos-11.0-x86_64/05-systemsetup.sh
@@ -2,7 +2,7 @@
#############################################################################
##
-## Copyright (C) 2020 The Qt Company Ltd.
+## Copyright (C) 2021 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -104,3 +104,5 @@ sudo rm -f "$targetFile"
sudo sed -i'.orig' -e 's:^#/net:/net:' -e 's:hidefromfinder,nosuid:hidefromfinder,nosuid,locallocks,nocallback:' /etc/auto_master
sudo automount -cv
+# Disable multicast advertisements
+sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool true