Update blinka installer to handle unsupported Pis

This commit is contained in:
Melissa LeBlanc-Williams 2025-01-15 12:38:32 -08:00
parent bbeb37b210
commit 3dc39067e8

View file

@ -112,6 +112,8 @@ def main():
shell.clear() shell.clear()
# Check Raspberry Pi and Bail # Check Raspberry Pi and Bail
pi_model = shell.get_board_model() pi_model = shell.get_board_model()
if not pi_model:
shell.bail("This model of Raspberry Pi is not currently supported by Blinka")
print("""This script configures your print("""This script configures your
Raspberry Pi and installs Blinka Raspberry Pi and installs Blinka
""") """)