From b321ed165c49034120d03a767efcf909497bdd3d Mon Sep 17 00:00:00 2001 From: Ezra Date: Mon, 15 Mar 2021 21:14:36 +0100 Subject: [PATCH] Fix for FBCP fail on various debian based OS Fix for DietPI armv6 image Ubuntu mentioned, not heard back from issue owner https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/issues/89 --- adafruit-pitft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit-pitft.py b/adafruit-pitft.py index c75d2da..34fa189 100755 --- a/adafruit-pitft.py +++ b/adafruit-pitft.py @@ -221,7 +221,7 @@ def softwareinstall(): if not shell.run_command("apt-get install -y libts0", True): if not shell.run_command("apt-get install -y tslib"): warn_exit("Apt failed to install TSLIB!") - if not shell.run_command("apt-get install -y bc fbi git python3-dev python3-pip python3-smbus python3-spidev evtest libts-bin device-tree-compiler"): + if not shell.run_command("apt-get install -y bc fbi git python3-dev python3-pip python3-smbus python3-spidev evtest libts-bin device-tree-compiler libraspberrypi-dev build-essential"): warn_exit("Apt failed to install software!") if not shell.run_command("pip3 install evdev"): warn_exit("Pip failed to install software!")