Possible Big Sur Version Check Issue
Issue #612
resolved
Will the following code not run on macOS 11 Big Sur? https://bitbucket.org/twocanoes/macdeploystick/src/a7989eddae93d3339b54e30356da0c6ff13fd795/com.twocanoes.mds.main.sh#lines-248
I haven’t validated this, but noticed that without using SYSTEM_VERSION_COMPAT=1
somewhere then this would not be true on macOS 11 Big Sur. Or is SYSTEM_VERSION_COMPAT=1
being set somewhere that I’m not aware of?
If not, this could be fixed by replacing the the two sw_vers -productVersion
calls with SYSTEM_VERSION_COMPAT=1 sw_vers -productVersion
on lines 235 and 236. Or by checking for 11 or greater in the major version in another way.
Comments (3)
-
reporter -
- changed milestone to 4.0
-
- changed status to resolved
looks like i fixed this a while ago.please verify in 40030 or later. probably in a lot earlier builds as well :)
thanks for filing!
- Log in to comment
I have confirmed that this fix along with the extra keys in https://bitbucket.org/twocanoes/macdeploystick/issues/616/add-more-setupassistant-didsee-lastseen-to should fix https://bitbucket.org/twocanoes/macdeploystick/issues/599/big-sur-setup-assistant