diff --git a/packages/lgpio.zip b/packages/lgpio.zip new file mode 100644 index 0000000..2d5396f Binary files /dev/null and b/packages/lgpio.zip differ diff --git a/raspi-blinka.py b/raspi-blinka.py index 97b4417..33df1a0 100644 --- a/raspi-blinka.py +++ b/raspi-blinka.py @@ -106,11 +106,11 @@ def check_and_install_for_pi5(pi_model, user=False): shell.run_command("sudo apt-get install -y wget swig python3-dev python3-setuptools") # Temporarily install setuptools to as root for the build process shell.run_command("sudo pip3 install -U setuptools", run_as_user=username) - shell.run_command("wget http://abyz.me.uk/lg/lg.zip") - shell.run_command("unzip lg.zip") - if shell.exists("lg.zip"): - shell.remove("lg.zip") - shell.chdir("lg") + shell.run_command("wget https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/raw/refs/heads/main/packages/lgpio.zip") + shell.run_command("unzip lgpio.zip") + if shell.exists("lgpio.zip"): + shell.remove("lgpio.zip") + shell.chdir("lgpio") shell.run_command("make") shell.run_command("sudo make install") # Remove setuptools after the build process is complete