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:
parent
0542253d49
commit
5f66cb1ca2
|
|
@ -34,7 +34,9 @@ build {
|
||||||
|
|
||||||
provisioner "shell" {
|
provisioner "shell" {
|
||||||
inline = [
|
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",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,7 @@ source "tart-cli" "tart" {
|
||||||
create_grace_time = "30s"
|
create_grace_time = "30s"
|
||||||
|
|
||||||
// Keep the recovery partition, otherwise it's not possible to "softwareupdate"
|
// Keep the recovery partition, otherwise it's not possible to "softwareupdate"
|
||||||
recovery_partition = "relocate"
|
recovery_partition = "keep"
|
||||||
}
|
}
|
||||||
|
|
||||||
build {
|
build {
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ source "tart-cli" "tart" {
|
||||||
create_grace_time = "30s"
|
create_grace_time = "30s"
|
||||||
|
|
||||||
// Keep the recovery partition, otherwise it's not possible to "softwareupdate"
|
// Keep the recovery partition, otherwise it's not possible to "softwareupdate"
|
||||||
recovery_partition = "relocate"
|
recovery_partition = "keep"
|
||||||
}
|
}
|
||||||
|
|
||||||
build {
|
build {
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ source "tart-cli" "tart" {
|
||||||
create_grace_time = "30s"
|
create_grace_time = "30s"
|
||||||
|
|
||||||
// Keep the recovery partition, otherwise it's not possible to "softwareupdate"
|
// Keep the recovery partition, otherwise it's not possible to "softwareupdate"
|
||||||
recovery_partition = "relocate"
|
recovery_partition = "keep"
|
||||||
}
|
}
|
||||||
|
|
||||||
build {
|
build {
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ source "tart-cli" "tart" {
|
||||||
create_grace_time = "30s"
|
create_grace_time = "30s"
|
||||||
|
|
||||||
// Keep the recovery partition, otherwise it's not possible to "softwareupdate"
|
// Keep the recovery partition, otherwise it's not possible to "softwareupdate"
|
||||||
recovery_partition = "relocate"
|
recovery_partition = "keep"
|
||||||
}
|
}
|
||||||
|
|
||||||
build {
|
build {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue