Skip to content

Commit

Permalink
hdiutil -noverify
Browse files Browse the repository at this point in the history
  • Loading branch information
Graham R Pugh committed Dec 15, 2020
1 parent 198a575 commit a3da747
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion erase-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ check_installer_is_valid() {
# check if running --erase, where we might be using the same build.
# The actual build number is found in the SharedSupport.dmg in com_apple_MobileAsset_MacSoftwareUpdate.xml.
# This may not have always been the case, so we include a fallback to the Info.plist file just in case.
hdiutil attach "$installer_app/Contents/SharedSupport/SharedSupport.dmg"
hdiutil attach -quiet -noverify "$installer_app/Contents/SharedSupport/SharedSupport.dmg"
build_xml="/Volumes/Shared Support/com_apple_MobileAsset_MacSoftwareUpdate/com_apple_MobileAsset_MacSoftwareUpdate.xml"
if [[ -f "$build_xml" ]]; then
installer_build=$(/usr/libexec/PlistBuddy -c "Print :Assets:0:Build" "$build_xml")
Expand Down
2 changes: 1 addition & 1 deletion tests/test-erase-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ check_installer_is_valid() {
# check if running --erase, where we might be using the same build.
# The actual build number is found in the SharedSupport.dmg in com_apple_MobileAsset_MacSoftwareUpdate.xml.
# This may not have always been the case, so we include a fallback to the Info.plist file just in case.
hdiutil attach "$installer_app/Contents/SharedSupport/SharedSupport.dmg"
hdiutil attach -quiet -noverify "$installer_app/Contents/SharedSupport/SharedSupport.dmg"
build_xml="/Volumes/Shared Support/com_apple_MobileAsset_MacSoftwareUpdate/com_apple_MobileAsset_MacSoftwareUpdate.xml"
if [[ -f "$build_xml" ]]; then
installer_build=$(/usr/libexec/PlistBuddy -c "Print :Assets:0:Build" "$build_xml")
Expand Down
2 changes: 1 addition & 1 deletion tests/version-comparison-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ check_installer_is_valid() {
# check if running --erase, where we might be using the same build.
# The actual build number is found in the SharedSupport.dmg in com_apple_MobileAsset_MacSoftwareUpdate.xml.
# This may not have always been the case, so we include a fallback to the Info.plist file just in case.
# hdiutil attach "$installer_app/Contents/SharedSupport/SharedSupport.dmg"
# hdiutil attach -quiet -noverify "$installer_app/Contents/SharedSupport/SharedSupport.dmg"
# build_xml="/Volumes/Shared Support/com_apple_MobileAsset_MacSoftwareUpdate/com_apple_MobileAsset_MacSoftwareUpdate.xml"
# if [[ -f "$build_xml" ]]; then
# installer_build=$(/usr/libexec/PlistBuddy -c "Print :Assets:0:Build" "$build_xml")
Expand Down

0 comments on commit a3da747

Please sign in to comment.