Commit ee2827c
Installer: Check macOS version in bootstrap script
On early macOS 11 versions (for instance 11.0.1), the `arch -arm64 ls` command
fails (“Bad CPU type in executable” error), and the Python script cannot start
in recoveryOS because the Python binary is not signed by Apple.
To avoid these issues, add an early version check (version >= 12) in the
bootstrap script.
Fixes issue #114.
Signed-off-by: Vincent Duvert <[email protected]>1 parent 51346e8 commit ee2827c
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
21 | 38 | | |
22 | 39 | | |
23 | 40 | | |
| |||
0 commit comments