Skip to content

Commit 268ebf4

Browse files
committed
Drop the "expert only device" message
We don't want people using this any more, it was kind of a one-off for the original M2. Signed-off-by: Hector Martin <[email protected]>
1 parent 511feac commit 268ebf4

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

src/main.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -837,22 +837,14 @@ def main(self):
837837
print()
838838
self.chip_min_ver = CHIP_MIN_VER.get(self.sysinfo.chip_id, None)
839839
self.device = DEVICES.get(self.sysinfo.device_class, None)
840-
if not self.chip_min_ver or not self.device:
840+
if not self.chip_min_ver or not self.device or (self.device.expert_only and not self.expert):
841841
p_error("This device is not supported yet!")
842842
p_error("Please check out the Asahi Linux Blog for updates on device support:")
843843
print()
844844
p_error(" https://asahilinux.org/blog/")
845845
print()
846846
sys.exit(1)
847847

848-
if self.device.expert_only and not self.expert:
849-
p_error("This device is in preliminary support and only available in expert mode.")
850-
p_error("Please check out the Asahi Linux Blog for updates on device support:")
851-
print()
852-
p_error(" https://asahilinux.org/blog/")
853-
print()
854-
sys.exit(1)
855-
856848
if self.sysinfo.boot_mode == "macOS" and (
857849
(not self.sysinfo.login_user)
858850
or self.sysinfo.login_user == "unknown"):

0 commit comments

Comments
 (0)