[macOS] update scripts to fix image generation (#7608)

This commit is contained in:
Alexey-Ayupov
2023-05-17 11:39:37 +02:00
committed by GitHub
parent 111d6ae5cf
commit eb53372646
3 changed files with 50 additions and 9 deletions

View File

@@ -0,0 +1,7 @@
#! /usr/bin/expect -f
set timeout -1
spawn sudo /usr/sbin/softwareupdate --all --install --restart --verbose
expect "Password*"
send "[lindex $argv 0]\r"
expect eof