Use "-productVersion" instead of "--productVersion" to support Monterey (#215)

* Use "-productVersion" instead of "--productVersion" to support Monterey

* No need to relocate anything as we're starting from scratch (IPSW)
This commit is contained in:
Nikolay Edigaryev 2025-02-16 01:03:05 +04:00 committed by GitHub
parent 0542253d49
commit 5f66cb1ca2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 7 additions and 5 deletions

View File

@ -34,7 +34,9 @@ build {
provisioner "shell" {
inline = [
"sw_vers --productVersion > /tmp/sw-vers-product-version.txt",
# Use "-productVersion" instead of "--productVersion"
# to support old-style syntax used on macOS Monterey
"sw_vers -productVersion > /tmp/sw-vers-product-version.txt",
]
}

View File

@ -85,7 +85,7 @@ source "tart-cli" "tart" {
create_grace_time = "30s"
// Keep the recovery partition, otherwise it's not possible to "softwareupdate"
recovery_partition = "relocate"
recovery_partition = "keep"
}
build {

View File

@ -89,7 +89,7 @@ source "tart-cli" "tart" {
create_grace_time = "30s"
// Keep the recovery partition, otherwise it's not possible to "softwareupdate"
recovery_partition = "relocate"
recovery_partition = "keep"
}
build {

View File

@ -84,7 +84,7 @@ source "tart-cli" "tart" {
create_grace_time = "30s"
// Keep the recovery partition, otherwise it's not possible to "softwareupdate"
recovery_partition = "relocate"
recovery_partition = "keep"
}
build {

View File

@ -92,7 +92,7 @@ source "tart-cli" "tart" {
create_grace_time = "30s"
// Keep the recovery partition, otherwise it's not possible to "softwareupdate"
recovery_partition = "relocate"
recovery_partition = "keep"
}
build {