66
77ALLOWED_MACOS_MIN = "14.1.1"
88
9+ SAFE_MACOS_RVERSION_MIN = "23.3.55.5.2" # 14.2 beta 4
10+
911PROMOTION_DEVICES = {
1012 "j314cap" ,
1113 "j314sap" ,
@@ -95,9 +97,10 @@ def sadness(sysinfo):
9597 p_error ("successfully complete an Asahi Linux installation, as it cannot boot older" )
9698 p_error ("versions of macOS Recovery in this state." )
9799 print ()
98- p_error ("We cannot continue with the install. Sorry. You will have to wait for Apple" )
99- p_error ("to fix this properly in a future update. This bug is entirely outside of our" )
100- p_error ("control and there is no easy workaround at this time." )
100+ p_error ("Apple have deployed a fix for this issue in macOS 14.2 beta 4. To install" )
101+ p_error ("Asahi Linux, you must upgrade to this version or later. If you do not wish" )
102+ p_error ("to use a beta version of macOS, you will have to wait until the 14.2 final" )
103+ p_error ("release is out." )
101104 print ()
102105 p_plain ("More information:" )
103106 print ()
@@ -116,9 +119,15 @@ def you_are_safe(main):
116119
117120def run_checks (main ):
118121 if main .sysinfo .device_class not in PROMOTION_DEVICES :
122+ logging .info ("bugs: Not a ProMotion device" )
119123 return
120124
121125 if split_ver (main .sysinfo .sfr_ver ) < split_ver (BUGGY_SFR_MIN ):
126+ logging .info ("bugs: SFR not updated beyond problem version" )
127+ return
128+
129+ if split_ver (main .sysinfo .macos_restore_ver ) >= split_ver (SAFE_MACOS_RVERSION_MIN ):
130+ logging .info ("bugs: macOS is new enough to guarantee safety" )
122131 return
123132
124133 p_progress ("Checking whether your machine is affected by critical Apple bugs..." )
0 commit comments